PlatinumFrog Posted October 29, 2015 Share Posted October 29, 2015 (edited) In this thread I will be asking questions to help me with my character mod.My first question is: what is the inst.component for how fast your sanity drains, and how fast you pick up, collect, or craft an item? Second: I want my character to, when idling, "get distracted". When he idles, he goes off to the nearest thing and does something with it. If it's something that can be attacked, like an animal, he attacks it, if its something that can be collected or picked up, like dropped items, he picks it up. I also want him have a random chance he will do this every second, and for it to be canceled by any action key being pressed. How should I go about doing this? Could I have some names and descriptions of components that might help me? Thanks in advance Edited October 29, 2015 by PlatinumFrog Link to comment Share on other sites More sharing options...
DarkXero Posted October 29, 2015 Share Posted October 29, 2015 how fast your sanity drains It's a multiplier in the sanity component.Wilson has 1, Wendy has 0.75, therefore Wilson loses sanity faster than Wendy. how fast you pick up, collect, or craft an item? It's the same for everybody, those actions are performed on the dolongaction state of the Wilson stategraph.When you want to do something, you go to a state, which triggers animations, sounds, and in which part of the animation you perform the action. I also want him have a random chance he will do this every second, and for it to be canceled by any action key being pressed. You have to do a brain and trigger behaviours.Seems pretty pointless if you can just cancel it.And annoyingly harsh for people if they would lose all control over the character during distracted mode. Link to comment Share on other sites More sharing options...
PlatinumFrog Posted October 29, 2015 Author Share Posted October 29, 2015 This isn't accually a mod I am going to distribute, this is a mod that my friend and I are going to play, over a private server. The distracted part is because I tend to get distracted from the game a lot and I wanted to implement it into the character. If you have suggestions for how I should do this differently then feel free to suggest them. Link to comment Share on other sites More sharing options...
PlatinumFrog Posted October 29, 2015 Author Share Posted October 29, 2015 It's a multiplier in the sanity component.Wilson has 1, Wendy has 0.75, therefore Wilson loses sanity faster than Wendy. It's the same for everybody, those actions are performed on the dolongaction state of the Wilson stategraph.When you want to do something, you go to a state, which triggers animations, sounds, and in which part of the animation you perform the action. You have to do a brain and trigger behaviours.Seems pretty pointless if you can just cancel it.And annoyingly harsh for people if they would lose all control over the character during distracted mode. Thanks for your help, I will look into brains and statgraphs. Link to comment Share on other sites More sharing options...
PlatinumFrog Posted October 29, 2015 Author Share Posted October 29, 2015 The character doesn't appear in game. When I load a character up, there is just a shadow under where the character should be.How do I fix this? What do you think went wrong?If I'm missing information that you need, ask me for it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now