Skip to content

Question about some Mod NPCs

Wutan1988Wutan1988 Member Posts: 131
edited May 2022 in BGII:EE Mods
Hiho guys,

just a quick Question about some Mod Npcs for BG2 EE. Does someone know if Kulyok's Xan, Branwen, Coran, Tiax and Jastey's Ajantis are coded to have the maximum 1250000 Experience Threshold like the NPCs from the Base Game?

Comments

  • jasteyjastey Member Posts: 2,781
    edited May 2022
    Why wouldn't they? Or, differently phrased, what would I need to do to make the mod NPCs not behave like other NPCs with regard to this? As far as I know, the XP cap - is this what Threshold means? - is something defined for the game, not per NPC.
  • Wutan1988Wutan1988 Member Posts: 131
    edited May 2022
    @jastey

    Thank you for the quick answer. I just asked cause last time for example when i installed Isra in BG EE she always joined with Level 2 regardless how much XP the Protagonist had.
    I know there is the SCS Component "Improved NPC Customisation and Management" as well but there are some Problems with Mod NPCs not recieving the correct Proficency Points.

    Yep i mean the XP Cap, NPCs will join the Party after Charname reaches a specific XP Treshold.
  • jasteyjastey Member Posts: 2,781
    Ah, you mean whether the NPCs level up to what the PC's XP would be? That, indeed, is something the NPC mod needs to cover.
    XP Cap is how much XP can be gained in the game as a maximum. BG1 and soD for example have it so you can't advance higher than level YZ although you gain more XP.

    What you mean is whether the NPC level up to the PC's level if they join.
    Ajantis BGII does up to XP of 1250000 like EE NPCs do.

    Kulyok's NPCs do some adjustment, but it's scripted for the calssic engine so their XP is increased by some amount if the PC's XP is much higher, it's not a direct fit like the EEs do.
  • Wutan1988Wutan1988 Member Posts: 131
    @jastey

    Yes i mean XP Adjustment of the NPCs to level up to Charnames XP. I am sry writting in such a convoluted way :(
    My English is a bit rusty i guess.

    I ask that cause i really want to try out your Mod and Kulyok's NPCs. I always try to first Level up Charname with "Scroll Cheese" or other Quick XP Methods in BG2 before picking up NPCs. I play No Reload with SCS Insane and Double Damage enabled most of the time so i try to pick up NPCs when they already reached the Highest Level they can possibly join.

    If Kulyok's NPCs don't level up to 1250000 i think i might just use the Console.

    Thank you very much :)
  • jasteyjastey Member Posts: 2,781
    Console is always an option. :-)
    This is what Xan's XP fixer does:
    So it checks for pretty high XP numbers, actually.
    // Experience fixer
    // 400000
    IF
    !Dead("O#Xan")
    Global("O#XanJoined","GLOBAL",0)
    Global("O#XanExperienceSet","GLOBAL",0)
    XPLT("O#Xan",400000)
    XPGT(Player1,280000)
    XPLT(Player1,600001)
    THEN
    RESPONSE #100
    SetGlobal("O#XanExperienceSet","GLOBAL",1)
    AddXPObject("O#Xan",239000)
    Continue()
    END

    // 800000
    IF
    !Dead("O#Xan")
    Global("O#XanJoined","GLOBAL",0)
    Global("O#XanExperienceSet","GLOBAL",1)
    XPLT("O#Xan",800000)
    XPGT(Player1,600000)
    XPLT(Player1,1000001)
    THEN
    RESPONSE #100
    SetGlobal("O#XanExperienceSet","GLOBAL",2)
    AddXPObject("O#Xan",400000)
    Continue()
    END

    IF
    !Dead("O#Xan")
    Global("O#XanJoined","GLOBAL",0)
    Global("O#XanExperienceSet","GLOBAL",0)
    XPLT("O#Xan",800000)
    XPGT(Player1,600000)
    XPLT(Player1,1000001)
    THEN
    RESPONSE #100
    SetGlobal("O#XanExperienceSet","GLOBAL",2)
    AddXPObject("O#Xan",639000)
    Continue()
    END

    // 1200000
    IF
    !Dead("O#Xan")
    Global("O#XanJoined","GLOBAL",0)
    Global("O#XanExperienceSet","GLOBAL",1)
    XPLT("O#Xan",1200000)
    XPGT(Player1,1000000)
    THEN
    RESPONSE #100
    SetGlobal("O#XanExperienceSet","GLOBAL",3)
    AddXPObject("O#Xan",800000)
    Continue()
    END

    IF
    !Dead("O#Xan")
    Global("O#XanJoined","GLOBAL",0)
    Global("O#XanExperienceSet","GLOBAL",2)
    XPLT("O#Xan",1200000)
    XPGT(Player1,1000000)
    THEN
    RESPONSE #100
    SetGlobal("O#XanExperienceSet","GLOBAL",3)
    AddXPObject("O#Xan",400000)
    Continue()
    END

    IF
    !Dead("O#Xan")
    Global("O#XanJoined","GLOBAL",0)
    Global("O#XanExperienceSet","GLOBAL",0)
    XPLT("O#Xan",1200000)
    XPGT(Player1,1000000)
    THEN
    RESPONSE #100
    SetGlobal("O#XanExperienceSet","GLOBAL",3)
    AddXPObject("O#Xan",1039000)
    Continue()
    END
  • Wutan1988Wutan1988 Member Posts: 131
    Thank you very much. So Xan joins only 50000 Exp below the EXP, Enhanced Edition NPCs and Vanilla NPCs would join at???
    I think Kulyok's other NPCs will follow the same Formula then :)




  • jasteyjastey Member Posts: 2,781
    Wutan1988 wrote: »
    Thank you very much. So Xan joins only 50000 Exp below the EXP, Enhanced Edition NPCs and Vanilla NPCs would join at???
    Probably at up to 1250000, but I didn't check.
    Wutan1988 wrote: »
    I think Kulyok's other NPCs will follow the same Formula then
    I think so, yes.





Sign In or Register to comment.