Auto calc stats

Post » Thu Jun 21, 2012 5:32 pm

I have been playing around with customizing actors the way I want them, and learning how to use the ck. I am not sure if I noticed a bug, or if its something that is incorrect on the wiki and I a wondering if anyone could bring some insight. The link to the wiki I am talking about: http://www.creationkit.com/Class

Under attribute weights, it says how it auto calculates health, magicka, and stamina. I have tested on multiple actors but as an example, I'll just give one actor. ID: HirelingJenassa. Health Offset: 50, Magicka and Stamina Offset: 0. Base Health, Base Magicka, and Base Stamina: 50. Class CombatRanger with Health and Stamina Weights: 3 and Magicka Weight: 0.

According the the wiki, the calculations should be like the following at level 10 (doesn't matter what level I use and tested many different levels, but level 10 makes numbers nicer).

Calculated Health: 50 (base) + 50 (offset) + (90 * 3 / 6) = 145 (ck gives me 190)
Calculated Magicka: 50 (base) + 0 (offset) + (90 * 0 / 6) = 50 (ck gives me 50)
Calculated Stamina: 50 (base) + 0 (offset) + (90 * 3 / 6) = 95 (ck gives me 95)

Changing the Class CombatRanger to Health and Stamina weights 2/2 or 1/1 gives similar results. Changing the Class CombatRanger to Health, Magicka and Stamina weights of 1/2/3 like described in the example in the wiki gives the following:

Calculated Health: 50 (base) + 50 (offset) + (90 * 1 / 6) = 115 (ck gives me 160)
Calculated Magicka: 50 (base) + 0 (offset) + (90 * 2 / 6) = 80 (ck gives me 80)
Calculated Stamina: 50 (base) + 0 (offset) + (90 * 3 / 6) = 95 (ck gives me 95)

Removing the offset from Health will only subtract 50 from each case so the number is still off by the same amount.

From my testing, it looks like the auto calc stats gives an extra 5 health per level. Would like to know if someone could confirm this, and give an explanation of why this happens. Can this extra 5 be modified? Are there similar ones for magicka and stamina (which are currently set to 0 or something?) Thanks for your time.
User avatar
Emily Jones
 
Posts: 3425
Joined: Mon Jul 17, 2006 3:33 pm

Post » Thu Jun 21, 2012 12:00 pm

The wiki is wrong--I had re-written the Skill Weight section on that page to correct its errors, but forgot to re-write the Attribute Weight section. Thanks for the reminder, I'll attend to that.

The discrepancy is because there is a global game setting called fNPCHealthLevelBonus which does what it sounds like, gives NPCs a few bonus points (by default 5, yes) of health for each level. I didn't notice any similar, likely-named settings for Stamina or Magicka.

FWIW, it also seemed, based on the trials that I did, that Health was calculated as the ceiling of whatever float the math resulted in, while Stamina was calculated as the floor. Not sure about Magicka, as I was mostly concerned with my follower, who doesn't use magic.
User avatar
Chrissie Pillinger
 
Posts: 3464
Joined: Fri Jun 16, 2006 3:26 am

Post » Thu Jun 21, 2012 10:26 am

Ok thanks... this was bugging me for a while. To bad you their aren't similar globals for Stamina and Magicka yet, but knowing where the health global is, will make my life easier. Thanks again!
User avatar
TASTY TRACY
 
Posts: 3282
Joined: Thu Jun 22, 2006 7:11 pm


Return to V - Skyrim