Guest TwiceTested Posted September 23, 2020 Share Posted September 23, 2020 Sorry to necro an old thread, but is there any easy way to PREVENT NPCs from leveling up to the protagonist? I'd LIKE my main guy to have 2mil XP and be joined by the mere 200k xp NPC's. They haven't SEEN the things the child of Bhaal has, but they will. OHHHH yes, they will! Quote Link to comment
Jarno Mikkola Posted September 24, 2020 Share Posted September 24, 2020 (edited) 6 hours ago, Guest TwiceTested said: Sorry to necro an old thread, but is there any easy way to PREVENT NPCs from leveling up to the protagonist? I'd LIKE my main guy to have 2mil XP and be joined by the mere 200k xp NPC's. They haven't SEEN the things the child of Bhaal has, but they will. OHHHH yes, they will! Yes, just before the NPC joins, use the Cheat console and set the primary characters XP to about the said number, then have the NPC join and then set the primary chars XP back. ... pie. But then again, you could just do that to the NPC without touching the main char ... so... doesn't really matter, does it. Edited September 24, 2020 by Jarno Mikkola Quote Link to comment
K4thos Posted June 22, 2021 Share Posted June 22, 2021 On 9/23/2020 at 9:54 PM, Guest TwiceTested said: Sorry to necro an old thread, but is there any easy way to PREVENT NPCs from leveling up to the protagonist? I'd LIKE my main guy to have 2mil XP and be joined by the mere 200k xp NPC's. They haven't SEEN the things the child of Bhaal has, but they will. OHHHH yes, they will! Either what Jarno Mikkola said or you could edit NPC override scripts in Near Infinity. Typical XP scaling code added by Beamdog in EE games look like this: IF Global("BD_JOINXP","LOCALS",0) InParty(Myself) XPGT(Player1,1249999) XPLT(Myself,1250000) THEN RESPONSE #100 SetInterrupt(FALSE) SetGlobal("BD_JOINXP","LOCALS",1) ChangeStat(Myself,XP,1250000,SET) SetInterrupt(TRUE) END IF Global("BD_JOINXP","LOCALS",0) InParty(Myself) XPGT(Player1,999999) XPLT(Myself,1000000) THEN RESPONSE #100 SetInterrupt(FALSE) SetGlobal("BD_JOINXP","LOCALS",1) ChangeStat(Myself,XP,1000000,SET) SetInterrupt(TRUE) END IF Global("BD_JOINXP","LOCALS",0) InParty(Myself) XPGT(Player1,749999) XPLT(Myself,750000) THEN RESPONSE #100 SetInterrupt(FALSE) SetGlobal("BD_JOINXP","LOCALS",1) ChangeStat(Myself,XP,750000,SET) SetInterrupt(TRUE) END IF Global("BD_JOINXP","LOCALS",0) InParty(Myself) XPGT(Player1,499999) XPLT(Myself,500000) THEN RESPONSE #100 SetInterrupt(FALSE) SetGlobal("BD_JOINXP","LOCALS",1) ChangeStat(Myself,XP,500000,SET) SetInterrupt(TRUE) END IF Global("BD_JOINXP","LOCALS",0) InParty(Myself) XPGT(Player1,249999) XPLT(Myself,250000) THEN RESPONSE #100 SetInterrupt(FALSE) SetGlobal("BD_JOINXP","LOCALS",1) ChangeStat(Myself,XP,250000,SET) SetInterrupt(TRUE) END IF Global("BD_JOINXP","LOCALS",0) InParty(Myself) XPGT(Player1,124999) XPLT(Myself,125000) THEN RESPONSE #100 SetInterrupt(FALSE) SetGlobal("BD_JOINXP","LOCALS",1) ChangeStat(Myself,XP,125000,SET) SetInterrupt(TRUE) END IF Global("BD_JOINXP","LOCALS",0) InParty(Myself) XPLT(Player1,89001) THEN RESPONSE #100 SetInterrupt(FALSE) SetGlobal("BD_JOINXP","LOCALS",1) SetInterrupt(TRUE) END Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.