xaechireon Posted October 31, 2010 Posted October 31, 2010 I'm trying to alter the way Endurance affects your total hit points. As it is, Endurance only grants you a greater base health and doesn't affect how many hit points you gain upon leveling up. I've been searching geck.bethsoft.com for the appropriate values to alter, but I can't find them. Any help would be mostly appreciated.
Thromnambular Posted November 1, 2010 Posted November 1, 2010 After messing around with a couple things under the Gameplay tab, I found that in Settings there are values that affect how much HP Endurance gives and how much you gain per level. fAVDHealthEnduranceMult (set to 20.00 by default) controls how much HP each point of Endurance awards. fAVDHealthLevelMult (set to 5.00 by default) controls how much max HP you gain each level. If it is possible to make fAVDHealthLevelMult use a variable (like something that is derived from an equation similar to this: [bonus = x + Endurance * y],) then you could have Endurance affect how much health you gain by leveling up.
xaechireon Posted November 1, 2010 Author Posted November 1, 2010 Thanks for the help, Throm. I don't see any way to introduce variables though, sadly. Also, does anyone know what does fAVDHealthEnduranceOffset do?
Thromnambular Posted November 2, 2010 Posted November 2, 2010 Thanks to documn at the Fallout3Nexus forum, I have a working solution. Modifying the script he suggested a bit, I wrote a script that even works retroactively provided the player levels up at least once: scn ThromHealthProgressionSCRIPT short level Begin MenuMode 1027 if Player.GetLevel != level short newPlayerHealth set newPlayerHealth to 100 + (Player.GetLevel - 1) * 5 + Player.GetActorValue Endurance * 2 * (Player.GetLevel - 1) + Player.GetActorValue Endurance * 20 Player.ForceAV health newPlayerHealth set level to Player.GetLevel EndIf End As it is above, each point of Endurance would grant the player an extra two health each level.Refer to documn's answer in this thread for more info.
xaechireon Posted November 2, 2010 Author Posted November 2, 2010 Ohh, scripting. Oh well. Thanks Throm, you've been great help.
Recommended Posts