Jump to content

Experience gain on Joinup bug?


Recommended Posts

Guest TwiceTested

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!

Link to comment
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 by Jarno Mikkola
Link to comment
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

 

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...