Hello I was wondering if there is a script or something i could use so that when my pre-made NPC's join my party their XP will match or be relatively close to that of my main player.
All i could find was zyraen's miscellaneous mod, if this is the only thing available is it okay to install this after I install BWP Standard Install?
script to make NPC xp equal to player?
Started by
-Cory-
, Feb 13 2009 09:15 AM
2 replies to this topic
#1 -Cory-
Posted 13 February 2009 - 09:15 AM
#3
Posted 19 April 2009 - 02:44 PM
Hello I was wondering if there is a script or something i could use so that when my pre-made NPC's join my party their XP will match or be relatively close to that of my main player.
All i could find was zyraen's miscellaneous mod, if this is the only thing available is it okay to install this after I install BWP Standard Install?
I've made this script and added it to those i'm running.
The purpose is to GRADUALLY make characters with lower levels (than the party level) to gain more XP everytime the took damage or the party rest.
The good thing is that it ceases to work if the character reachs the proper level (party level). I made it to work up to 7th to 8th level (transition to BGII).
THIS IS EXPERIMENTAL. I think it works, but hadn't the time to test it yet.
The script actually cast a spell to give the experience points to the charater because I don't want to see the string "Xan has gainned 93 experience points".
but if you don't mind it, you can change the script to addxp to the object (myself), instead of the "ApplySpell" instruction.
Another good thing is you can retake underpowered party members you left behind, without that bad feeling (to babysit them because they will never rech the party level again).
If you try it please backup your stuff, before always.
If there is demand, I can put upload the files , but I will need help to fix my old scripts.
Hope it helps
/////////////////
//_____LEVELING XP
/////////////////
IF
CheckStat(Myself,1,LEVEL)
LevelPartyGT(1)
OR(2)
TookDamage()
PartyRested()
THEN
RESPONSE #100
ApplySpellRES("ZADDXP", Myself)
END
IF
CheckStat(Myself,2,LEVEL)
LevelPartyGT(2)
OR(2)
TookDamage()
PartyRested()
THEN
RESPONSE #100
ApplySpellRES("ZADDXP", Myself)
END
IF
CheckStat(Myself,3,LEVEL)
LevelPartyGT(3)
OR(2)
TookDamage()
PartyRested()
THEN
RESPONSE #100
ApplySpellRES("ZADDXP", Myself)
END
IF
CheckStat(Myself,4,LEVEL)
LevelPartyGT(4)
OR(2)
TookDamage()
PartyRested()
THEN
RESPONSE #100
ApplySpellRES("ZADDXP", Myself)
END
IF
CheckStat(Myself,5,LEVEL)
LevelPartyGT(5)
OR(2)
TookDamage()
PartyRested()
THEN
RESPONSE #100
ApplySpellRES("ZADDXP", Myself)
END
IF
CheckStat(Myself,6,LEVEL)
LevelPartyGT(6)
OR(2)
TookDamage()
PartyRested()
THEN
RESPONSE #100
ApplySpellRES("ZADDXP", Myself)
END
IF
CheckStat(Myself,7,LEVEL)
LevelPartyGT(7)
OR(2)
TookDamage()
PartyRested()
THEN
RESPONSE #100
ApplySpellRES("ZADDXP", Myself)
END