[REL] Dynamic XP mod

Post » Tue Feb 01, 2011 12:15 pm

http://www.newvegasnexus.com/downloads/file.php?id=41320#

This is my first mod public ever :) so be gently

I play a lot F3 and NV and alway want that if i kill hard crature i will proper XP reward, with fallout 3 based on easy to very hard level of foe i always get fixed XP based on game setting . The mod change it so every time u kill something you will be rewarded depends on how hard that crature was.

!!!!!! The script is using actor variable04 !!!!!!!

the base for calculations is foe (sqrt (BASEHP)-3)*4 and then there are few multipliers :

1)Damage treshold mult= (1-(5-rrdtm)/200) where rrdtm = enemy damage treshold
2)Speed moult. = (1-(130-rrspm)/100) where rrspm=enemy speed mult
3)Complex mult which contains :

a)enemy skill mult = (1-(50-(rrlv+rrwmax))/75) where rrwmax=max(enemy combat skill) rrlv=20-playerlev*1.5
b)enemy damage resist mult = (1-(10-rrdrm)/200)


c)figthing enemy quantity mult = pow 1.08 rrcomcount where rrcomcount is number of enemy inwolved in battle ( yeaah fighting many foes is profitable :)

d)figthing friendly NPC/creature mult =(1/(pow 1.15 rrcomgrcount)) where rrcomgrcount is number of friends inwolved in battle ( yep if you are fighting with many ally you will have smaller xp rewared)

e) type of killing method if explosion than 0.5 if gun than 0.8 if meele 1.5 (but somewhat broken since many times the function gives -1 which mean nothing :) so then is 0.8)


so 3) =(a*b*c*d*e) pow 3

4)level differnce addition : (rrtlev+(-1)*rrplev)*10


and finaly XP given = base*1*2*3+4

Still if u kill you are given normal F3 based xp + mod xp , if you want only dynamic one use the mod that modify difficulty xp for killing and set it to 0 .

It is my first mod so please if you have any advise dont hasiteate to tell me. I tested this mod for many hours and the Xp given change from 3 to even 1500 (4000 hp biiiig deathclaw) .



What is needed : to calculate enemy damage multiplier and if enemy is used range weapon (harder) or melee or unarmed(easier) . so if u could give me help i would apreciate it.


Install : just put it in data and check in fomm
Deinstall : uncheck it in fomm

Reqirements : NVSE ( refwalking )
User avatar
Louise
 
Posts: 3407
Joined: Wed Nov 01, 2006 1:06 pm

Post » Wed Feb 02, 2011 1:14 am

http://www.newvegasnexus.com/downloads/file.php?id=41320#

This is my first mod public ever :) so be gently

I play a lot F3 and NV and alway want that if i kill hard crature i will proper XP reward, with fallout 3 based on easy to very hard level of foe i always get fixed XP based on game setting . The mod change it so every time u kill something you will be rewarded depends on how hard that crature was.

!!!!!! The script is using actor variable04 !!!!!!!

the base for calculations is foe (sqrt (BASEHP)-3)*4 and then there are few multipliers :

1)Damage treshold mult= (1-(5-rrdtm)/200) where rrdtm = enemy damage treshold
2)Speed moult. = (1-(130-rrspm)/100) where rrspm=enemy speed mult
3)Complex mult which contains :

a)enemy skill mult = (1-(50-(rrlv+rrwmax))/75) where rrwmax=max(enemy combat skill) rrlv=20-playerlev*1.5
b)enemy damage resist mult = (1-(10-rrdrm)/200)


c)figthing enemy quantity mult = pow 1.08 rrcomcount where rrcomcount is number of enemy inwolved in battle ( yeaah fighting many foes is profitable :)

d)figthing friendly NPC/creature mult =(1/(pow 1.15 rrcomgrcount)) where rrcomgrcount is number of friends inwolved in battle ( yep if you are fighting with many ally you will have smaller xp rewared)

e) type of killing method if explosion than 0.5 if gun than 0.8 if meele 1.5 (but somewhat broken since many times the function gives -1 which mean nothing :) so then is 0.8)


so 3) =(a*b*c*d*e) pow 3

4)level differnce addition : (rrtlev+(-1)*rrplev)*10


and finaly XP given = base*1*2*3+4

Still if u kill you are given normal F3 based xp + mod xp , if you want only dynamic one use the mod that modify difficulty xp for killing and set it to 0 .

It is my first mod so please if you have any advise dont hasiteate to tell me. I tested this mod for many hours and the Xp given change from 3 to even 1500 (4000 hp biiiig deathclaw) .



What is needed : to calculate enemy damage multiplier and if enemy is used range weapon (harder) or melee or unarmed(easier) . so if u could give me help i would apreciate it.


Install : just put it in data and check in fomm
Deinstall : uncheck it in fomm

Reqirements : NVSE ( refwalking )

User avatar
Julia Schwalbe
 
Posts: 3557
Joined: Wed Apr 11, 2007 3:02 pm


Return to Fallout: New Vegas