STEAM-GRUPPE
Valmod Valmod
STEAM-GRUPPE
Valmod Valmod
129
IM SPIEL
1,013
ONLINE
Gegründet
13. April 2016
Change player starting health?
Hello. I have been messing around tweaking this mod to my liking, and I wondered how I could set the player starting health to a different value than the default 100. To simulate the player starting injured.

For example, starting with only 25 health. But still the normal 100 wellness. I only want to change the starting health amount. I want the player to be able to survive and heal back to the base 100 default as normal.

Can anyone help me out?
Zuletzt bearbeitet von Whiplash; 9. Juli 2018 um 4:01
< >
Beiträge 13 von 3
You could possibly apply a DoT on player spawn using the same trigger used to display the "Welcome to Valmod" message. Or perhaps some fall damege by altering the players height again trigged by the welcome message. I doubt there is a feild/value that specifies the players' initial spawn health that isn't hard coded.

The advantage of triggering from the message is no false triggers later in the game.
Whiplash 11. Juli 2018 um 21:57 
Thanks for your reply. Yes, this is what I was thinking as well, some kind of trigger. It doesn't seem there is a variable to simply set the starting health, I believe it is hard coded as you said.

I guess I will need to learn a bit more about the scripting and see what I can come up with. thank you.
Seeing which hooks Valmar uses may be the window you need
< >
Beiträge 13 von 3
Pro Seite: 1530 50