I cannot find where to set player health, as in the default health the player has upon spawning, before downing. I think its set to 100 default.
best I can do is using Harry's perk script to set it to different health, but then you need to buy jug and die with it once for the effect to take place.
Don't know if its SinglePlayer only or not, but i ran into a bug with setting player health that would prevent the health from regenerating fully. Might want to play around with it a little and make sure you don't run into the same issue.
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
Don't know if its SinglePlayer only or not, but i ran into a bug with setting player health that would prevent the health from regenerating fully. Might want to play around with it a little and make sure you don't run into the same issue.
he needs to know where to set them
I assumed DLC3_code.gsc but apparently its not set there
Well, you could probably set it anytime after the player has spawned.
However there is a spot in _load.gsc:
Code Snippet
Plaintext
onPlayerSpawned()
I might add it to the start of my perks initialize, my only concern was if another script is setting it again later down the line ( recently had this issue with stupidly using the same variable for my powerup drop rate that treyarch did )
Last Edit: October 31, 2015, 08:44:14 am by Harry Bo21
I might add it to the start of my perks initialize, my only concern was if another script is setting it again later down the line ( recently had this issue with stupidly using the same variable for my powerup drop rate that treyarch did )
onPlayerSpawned() is called in _load.gsc's main function. Calling it again(or changing where it is called) probably wouldn't be very smart.