Jump to content

How to set Karma for killing NPCs?


Havenost

Recommended Posts

Can anyone help me out with GECK for FNV... trying to create a mod to give karma for mercy killing people who have been crucified, but even when I set their alignment from neutral to evil... nothing happens? I even checked the little Evil box in the crucified faction tab.

 

If I have to set up a trigger or script for how do I do that? Cause when I searched the *All section by typing in Karma, nothing useful shows up... just the sounds, the help messages, and the Karma variables that can't be edited or open.

Link to comment
Share on other sites

You need to give each NPC a script with an OnDeath block, with RewardKama. A script like this below should do.

scn NegativeKarmaOnDeathScript

begin OnDeath
	RewardKarma -75
end

Attach it to each of your NPCs and they should give negative karma when killed, as long as it was the player that did it. Not sure what will happen if it was other NPCs that killed them :P

Link to comment
Share on other sites

You need to give each NPC a script with an OnDeath block, with RewardKama. A script like this below should do.

scn NegativeKarmaOnDeathScript

begin OnDeath
	RewardKarma -75
end

Attach it to each of your NPCs and they should give negative karma when killed, as long as it was the player that did it. Not sure what will happen if it was other NPCs that killed them :tongue:

 

Thanks! I will see if that works.

 

Cause the odd thing about killing npcs on the crucifixes is that you don't get any exp or anything such as karma or reputation for doing so. But if you kill one then use the console command and resurrect them... you suddenly get exp from them. So hopefully its simple as you suggested, otherwise guess I am going to have to scrape through scripts.

Link to comment
Share on other sites

Not sure what will happen if it was other NPCs that killed them :tongue:

 

It will reward karma regardless. ;)

 

If you want to only give karma when it is the player doing the killing, this modified script should do it:

scn NegativeKarmaOnDeathScript

begin OnDeath
    if IsKiller player
        RewardKarma -75
    endif
end
Link to comment
Share on other sites

  • Recently Browsing   0 members

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