Jump to content

Creating a constantly-running script to adjust NPC health


Duefaku

Recommended Posts

Posted

I've had a mod in mind recently - for balance (and the ease of which) all humans would have 100 health.

 

Now, the most straightforward way of doing that would editing all of the thousand or two NPCs' base health in the GECK. That's a ridiculous amount of work. So I thought, what about a script?

 

Only problem is, I have approximately 0 scripting experience. Only thing I've done is copy pasted a few (very simple) lines to expand a mod to cover more items. I'd need something to make NPCs have 100 health when they load. And not reset when they get hurt or die.

 

Is this even possible?

Guest tomm434
Posted

What happens if they have 50 health? Do you want to change value permanently?

Guest tomm434
Posted

You should not do permanent changes to NPC around. What if they are non-vanilla? What if mod author wants NPC to have 1 health for cutscene or for player to kill him with  one shot?

 

I can literally do plugin with that code you ask for in 3 minutes . But I don't like the idea of permanently changing actor values. Even if you are restoring health - it still a great interruption to other mods. Your mod will be incompatible with most of the modifications which add NPC in the game.

 

So if I were you I would reconsider changin actor's health and tune other things in your balance mod (changing damage to races for instance). Or well, seek for kind scripter who will do these lines for you but if he will be able to do these lines (i.e. he is experienced) I think you'll get the same answer from him IMHO.

Posted

You do bring up some good points, but frankly I'd just deal with a few hiccups to have 99% of stuff doing what I want. And I was doing this more for personal use anyway.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...