Jump to content

Change amount of gained XP for a creature kill


NDDragor

Recommended Posts

I would like to change the amount of gained XP for killing a lakelurk in my mod. Base XP amount is 50. But since my lurks are only LVL5 and go down really fast its way to much XP for such easy kills. But I haven't found an option to change the XP amount for the lurks in my mod. I know that lakelurks count as "very hard" enemies and that is why the XP amount is 50. Is there any way to change the amount of gained XP or the "very hard" difficulty for a creature in the GECK, so that they would give less XP or a specific amount of XP that is set by me?

Edited by NDDragor
Link to comment
Share on other sites

You may want to consider Project Nevada. You can tweak your XP gains, but in your case, it would only work for kills in general.

 

Yeah, I know this feature from Project Nevada and its pretty nice since some easy kills give way to much XP. But in my case I want to change the amount of gained XP only for some creatures and not all enemies.

Link to comment
Share on other sites

If you want to give the player a specific amount of XP when an NPC/creature dies, you could make a script and attach it to the creature in question. Something like this...

scn GiveSetAmountXPOnDeathScript

begin OnDeath
    if IsKiller player
        RewardXP [amount]
    endif
end

Replace [amount] with the number you want. Here's more info on RewardXP. Of course, this XP will be added in addition to the regular one, so I'm not sure how you could prevent the game from giving the player the regular XP amount and only giving them yours, but it's something.

Link to comment
Share on other sites

If you want to give the player a specific amount of XP when an NPC/creature dies, you could make a script and attach it to the creature in question. Something like this...

scn GiveSetAmountXPOnDeathScript

begin OnDeath
    if IsKiller player
        RewardXP [amount]
    endif
end

Replace [amount] with the number you want. Here's more info on RewardXP. Of course, this XP will be added in addition to the regular one, so I'm not sure how you could prevent the game from giving the player the regular XP amount and only giving them yours, but it's something.

 

Thnx, this script is really useful since I want some "Boss" enemies to give a lot of XP. And Ill experiment around with this script. Maybe there is a way to decrease the amount of rewarded XP somehow. I was just hoping that it would be as easy as changing an enemies LVL.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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