[ModAPI] Open up the classes related to the Animation Controller and Bone manipulation.

Cheyne Stahlhut shared this feedback 8 months ago
Submitted

Hey guys,

A bunch of them are already opened up, can you open up the rest so we can spawn npc's and manipulate their bones and tie them to animation controllers etc.

It would give modders some fun tools to make NPC's that could be controlled by the player or use as opponents to players during boarding operations etc. or just to make them do meme dances - because why not?

Cheers

Comments (14)

photo
8

Imagine a npc ship mod that would spawn npc crew inside and when doing damage to the ship the crew would start repairing it. Would make much more alive npc ships in singleplayer :D

photo
8

Thats actually what I orginally intended with the NPC crew mod, however I ran into issues when trying to access the above classes, I could make skinned entities, I could read their bones and I could spawn them into the game but I couldn't animate them since all that stuff is blocked off :(

photo
6

That would be amazing! Boarding an enemy ship with your rifle and fighting NPC's that walk around inside would be so much fun.

photo
8

I've been waiting for something like this since the game started. I'm not a modder, just a simple builder, only a couple of ships in the workshop, but what is the point to build a super cool battleship, that requires a massive crew, but not have the crew to run it?

photo
3

PLEASE, when i started playing keen teased npcs. YEARS ago, still nothing.


It's what this game needed, they could have capped our build potential and worked on npcs and had a much more successful game.

photo
4

Hey Keen, I don't tend to post on these issues EVER but I would absolutely love it of modders could create other entities to include in my game, from crew to creatures, Sektan has done some wonderful stuff by modifying your spiders and wolves, imagine what modders could do with greater access to these features, multiplayer could be enhanced by allowing players to have bots on their ships, single player would not feel so empty, we could create teeming stations with stores and missions etc etc, so please Keen, open the API for these guys, hell, they might come up with something you can include in vanilla if all goes well? I know you got your hands pretty full right now but please consider it <3

photo
4

I believe Medieval Engineers already has something of a similar nature, you can use the modding animation tools to easily animate pretty much anything you like without even having to code.

If we can bring this type of authorship over too SE plus unlock the ModAPI classes so coders can create their own entry points into this animation system, we could potentially use AI logic and raycasts to do some pretty cool stuff.

Proper pathfinding in SE would be impossible on 'grids' for modders but all we need to to is detect obstructions around the 'entity' (i.e. walls) and it's collision box and have it move towards the player we could simulate some sort of NPC type action with proper walking/shooting animations etc.

Keen actually did have a demo out a while back of them controlling NPC's that could pathfind on grids as part of GoodAI - most people expected to come to the game eventually. I honestly have no idea what ever happened too it, might have proved to just be too difficult to optimize.

Furthermore, if you look at Digi's animated interaction mod, you can see the level of control that can be done on the player model with moving fingers and arm, even if we could simply open up the classes to allow us to affect non player models as well, should still be able to do some fun stuff.

So in short what I'm saying is there are a range of options open to Keen dependent on how much work they want to put into making this request possible.

photo
4

Some further additions here, after investigating controlling Bots through the ModAPI, I discovered all the Bot entities are prohibited and that the sounds for things like the wolves attacking is hardcoded instead of serialized from XML which limits the ability to add more bots.

I was able to add everything about new bots except sounds due to this limitation, however, due to the bot entity classes being prohibited I couldn't affect anything through those methods either.

Please consider opening these as well as serializing the sounds for Bots so that the system can be expanded upon by modders.

Finally, part of my NPC Crew mods expansion is limited by the fact the toolbar classes are also prohibited as I can't swap blocks out for players without ruining their toolbars everytime as the upgrade entry points are limted to the blocks it the mechanic was assigned too back in 2015/2016.

Please consider opening up the Toolbar classes as well, I know a lot of modders would appreciate it.

photo
2

I really hope they open it up cause loving your mod right now, would love to see those guys walking around and tinkering

photo
2

You and me both! :D

photo
1

I really hope NPCs get added even though I'm new to sapce engineers it'd be so fun and they couldl like drive vehicles and go in structures and make a map where you can fight them and have a team or something

photo
1

Got my approval.

photo
photo
3

I'm not a modder, but I am an avid player who loves to build huge capital ships and fleets, and anything that gets me NPC's that can crew them has my vote.

photo
1

Adding crews to the even as vanilla or supporting the modders would be a huge positive change in my opinion and will make the game much more lively as singleplayer or MP