UFO:Alien Invasion
Technical support => FAQ => Topic started by: Djadavin on December 09, 2008, 10:50:55 am
-
Hello. I want to change a maximum of soldiers HP, and also make their stronger, say please that i need to do.
I read source but its all type "chr->maxHP" and nothing says about how that maxHP calculate.
Give me a pointer on character create function.
Thank you.
-
Look in inv_shared.c, around line 1635. Health is randomly picked between two values given in the templates. Templates are randomly picked as well.