For your mod, you also need to remove the dependence of the bonus hp on endurance when levelUP And u use command in script like that set mySecurity to Player.getBaseAV Security but, some items change the baseAV for example Skeleton Key up BaseAV Security on 40, so it may be necessary to limit to 100
I updated the mod. All status above 100 will be ignored. For minimum health value, I used a formula similar to those used in other games from Bethesda: Health = Endurance*2 + ( Level * 10 )
Thx for update, now much better)) And one more thing. Like every object in the game, the player character can be defined not only as a reference but also as a base object. And there’s a special reference that Oblivion uses to talk to the player, PlayerREF. Player also works, but has a caveat. The CS compiler allows it to refer to the base object or the reference, but can confused. Thus it’s best to only use PlayerREF as much as possible.
Player.SetActorValue Intelligence averageIntelligence = PlayerREF.setAV Intelligence averageIntelligence Player.SetActorValue Health plusHealth = PlayerREF.setAV Health plusHealth
10 comments
And u use command in script like that
set mySecurity to Player.getBaseAV Security
but, some items change the baseAV for example Skeleton Key up BaseAV Security on 40, so it may be necessary to limit to 100
For minimum health value, I used a formula similar to those used in other games from Bethesda:
Health = Endurance*2 + ( Level * 10 )
Like every object in the game, the player character can be defined not only as a reference but also as a base object. And there’s a special reference that Oblivion uses to talk to the player, PlayerREF.
Player also works, but has a caveat. The CS compiler allows it to refer to the base object or the reference, but can confused. Thus it’s best to only use PlayerREF as much as possible.
Player.SetActorValue Intelligence averageIntelligence = PlayerREF.setAV Intelligence averageIntelligence
Player.SetActorValue Health plusHealth = PlayerREF.setAV Health plusHealth
etc.
Thanks for the advice.
i cleaned it up a bit and changed the luck calculation and checked for errors it looks good
SCRIPT PasteBin
100% the script is causing the error, but why??) No idea