Jump to content

Recommended Posts

So, I've been working on how my Character would play out in DST but I'm a bit stumped on how to actually code it in. So, if anyone knows, Would you be so kind to reply and answer these:
 

  • How can I make the prototyping sanity gain smaller?
  • How do I animate with Spriter?
  • Is there a way I can make an event happen around my character? (Ex: My character is a set distance from something and one of his mechanics comes into play)

 

 

Link to comment
Share on other sites

Check out the builder component function UnlockRecipe- this is what gives the sanity to the player, so you'll want to do some hooking with it.

Spriter insofar as I know is like Flash.  I wish you luck with its use.

The most common way for the third thing is to create a periodic timer on the player in the server's master postinit callback.  You'd then poll for entities that you want with TheSim:FindEntities and turn on the feature if it is not turned on already.  Likewise if that fails then turn off the feature if it is not already.

  • Thanks 1
Link to comment
Share on other sites

Ok, uh... so I am stumped right now because now I can't even playtest Wilhelm because of a bug in my speech file? image.thumb.png.81567708609fb0f0a7e31fa6fda5155f.png
I don't even know where I'm going wrong. because the last time i checked, it looked fine to me. 

image.png.ecfea13e494d8c026beed5698c7e4c2b.png

I seriously need help.

image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...