masa
New vMember
Posts: 6
|
Post by masa on Jul 9, 2019 8:43:21 GMT
Hey guys I need your help if it is possible... I want to create a Hunger and Food system basic on Invector Itemenums, but I don't know how to change the scripts... I am a 3D Artist try to do my own game. my Idea is add new Enums call Str and MaxStr, the Str is keep decreasing by time. Player need to find the foods to fill Str in game. I added enums like this and I added a item like this I also copy a slider to HUD UI like this Then I open the scripts "vHUDController" and try to understand how to copy the code of "Stamina" and do some change to be my Hungry system but it is too difficult for me. does anyone can help me this or teach me how to change vItemlist to let it read Playmaker Globel Variable not Attributes of vItemenumslist? thanks.
|
|
|
Post by diegoavilla22 on Jan 31, 2022 22:14:41 GMT
Somebody go ahead friend, I ask myself the same question.
|
|
|
Post by kingceryn on Feb 5, 2022 0:46:07 GMT
Hey guys I need your help if it is possible... I want to create a Hunger and Food system basic on Invector Itemenums, but I don't know how to change the scripts... I am a 3D Artist try to do my own game. my Idea is add new Enums call Str and MaxStr, the Str is keep decreasing by time. Player need to find the foods to fill Str in game. It might be easier to do this externally, i.e. create a float value like "Hunger" that slowly drains. I use this for "Drunk," and "Special" and "Skill" stats. I then use items like potions to trigger animations, using vAnimatorEventReceiver, that tell my custom scripts what to do (AddHunger, RemoveDrunk, etc). Try writing a custom "bridge" script that uses Invector and Playmaker namespaces, to get things to talk to each other. If you can just directly modify the Playmaker stats, that might be easier for you.
|
|