"Restroactive" Health

Post » Wed Dec 11, 2013 5:44 am

I've been wanting to create a mod that increases health by 10 points with each level up regardless of endurance. I was thinking to go about doing this by creating a quest and script that temporarily increases endurance to 100 just before this happens, and then change endurance back to what it was. Obviously this would have to happen after the level up screen, as not to prevent you from raising your endurance.

But I wonder if this is too complicated, and I could simply alter whatever script runs when leveling up. If it isn't hard-coded, I would like to know the names of the script and quest that control leveling. If it is hard-coded, I would like to know if it's possible to accomplish what is entailed in the above paragraph, and to have an understanding of the scripting I need to know to do it if it is possible.

User avatar
Rudi Carter
 
Posts: 3365
Joined: Fri Sep 01, 2006 11:09 pm

Post » Wed Dec 11, 2013 11:46 am

player.modav health 10 should add 10 points to whatever your health is. The trick is to get this to run after a character level up. I supposed it could be done at the same time, but you might get in the way of the stock leveling systems.

Have you looked at any of the existing leveling mods to see if anyone has done something like this already? You could take theirs and modify it to what you want.

User avatar
Austin Suggs
 
Posts: 3358
Joined: Sun Oct 07, 2007 5:35 pm

Post » Wed Dec 11, 2013 8:27 am

I have checked out a few. The one that I've been using makes a fairly complicated set of removals and adds, I think. I'm not entirely sure how it works, but it changes the added health based on your endurance. I understand that something like that can get really screwy around endurance damage and the like, and I'd prefer something more stable.

I remembered another one that that solves that issue by making the "retroactive" health a Fortify Health effect. I'm not sure if that's quite my thing.

I have also encountered some alternative leveling mods that change the way health is handled. I haven't looked into those yet because they're generally complicated enough that finding what I'm looking for would be difficult.

But I guess I could look around some more, and study all of the mods I can find.

User avatar
Siidney
 
Posts: 3378
Joined: Fri Mar 23, 2007 11:54 pm

Post » Wed Dec 11, 2013 1:14 pm

The Modav command will get you around the need to use the Stamina or Endurance to set your health, as it just adds an amount to what is already there.

User avatar
FoReVeR_Me_N
 
Posts: 3556
Joined: Wed Sep 05, 2007 8:25 pm

Post » Wed Dec 11, 2013 3:14 pm

But where would I put that information? I don't know the name of the script that handles this in vanilla oblivion, and it would take a long time to find it without knowing its name.

User avatar
Rachel Tyson
 
Posts: 3434
Joined: Sat Oct 07, 2006 4:42 pm


Return to IV - Oblivion