Jump to content

Playable Monsters


Recommended Posts

I'm new to Don't Starve modding, and I want to try something that I've never seen before, as far as I've seen.  Is it possible to have a playable monster in Don't Starve?  I'll pause right here, an state that I don't intend to make them do all the things players do, but rather just allow players to control them in things that could normally do.  For example, be able to control a pig, only being able to wear hats and only do pig things.

Link to comment
Share on other sites

You know, the surprising thing is, the hardest part would probably not even be the coding, but instead find a person who knows how to use a spriter to create the animations. There are a TON of skilled coders on these forums (just take a look at Up and Away or Hero in the Dark), but people who know how to use a spriter well are far and few between.

 

 

Link to comment
Share on other sites

Spriter for what?

Animation is already exists and probably coding is not so hard.

But i guess its will be boring as hell, since they cant wear armor and weapons.

But i have idea how to use poor animals : some kind of magical character with soul that can be embedded into animals. While his main body will stand and do nothing. After animal death soul will return to main body.

Link to comment
Share on other sites

Hmm, interesting that this got attention pretty quick, like I said, new to DS modding (did some Starbound modding before, made some gooidsh mods), I'll fiddle with some things and see if I can get a pig to work.  Might look at werebeaver code, since they'd probaly only need health.  If anyone has any pointers on where I should look, that would be great.

 

EDIT: After looking at code, it seems it should be well possible to actually have playable monsters in-game.  However, it seems that attempting to give them all player actions would most likely break them.  The only forseeable problem would be the HUD, as it would most likely would not be there, and dying would most likely not stop the game.

Link to comment
Share on other sites

For example, be able to control a pig, only being able to wear hats and only do pig things.

 

Will the player only be able to wander around eating random stuff from the ground, go poop, then sleep in a little pig house?  Or would the player be able to build a campsite and do other wilson-type activities, but with certain restrictions based on the monster type?

Link to comment
Share on other sites

Tried poking the code with a stick, it hissed back at me.  This could take a while.  I'm trying to see what are bare requirements for a playable entity, add the bare stuff to a clone of the the entity, and try playing as it.  Pigs are trickier than I thought, Pig Warriors and Werepig data is stored with them.  Werepigs may work like the Werebeaver for all I can tell.  Basically, every playable character refers to a certain file which gives payer their basic needs.  IF a character can run off a different file and still be able to be controlled, this could actually work.

 

Link to comment
Share on other sites

It's been a while, but I believe this is doable :).  However, I will have to create a custo player_prefab for the monsters to use, most likely no inventory and only health on the hud.  It should work decently, I'll post again once I've trid things out.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...