Skip to content

[MOD] Enhanced Powergaming Scripts v14.3

12346

Comments

  • RoLYroLLsRoLYroLLs Member Posts: 11
    @_DD_ and @morpheus562 thank you!
  • RoLYroLLsRoLYroLLs Member Posts: 11
    Thanks again @morpheus562 ! I'm trying to diagnose an issue, none of the keybindings work and not sure what to do. Here's what I did:
    1. I have the GOG version of BG2EE (and BGEE but haven't tested there).
    2. Placed the exe and supplied folder in the same folder where `Baldur.exe` is located.
    3. Ran the exe and only installed `Accelerated Pre-Buffing Speed`
    4. Opened every character's Record -> Customize -> Script and change to none (saved and went to game screen for each character)
    5. Made sure on each char's Record `AI Script` value was `none`
    6. Opened each char's Record -> Customize -> Script and selected `Enhanced Powergaming Scripts` (saved and went to game screen for each character)
    7. Made sure on each char's Record `AI Script` value was `custom (bddefai)`
    Pressing `B` or `N` or `T` or any other key bindings in the post does nothing. What am I missing?

    Any help is appreciated!
  • morpheus562morpheus562 Member Posts: 383
    @RoLYroLLs do you have ai turned on? Hotkey a
  • RoLYroLLsRoLYroLLs Member Posts: 11
    @morpheus562 yes sir (sorry forgot to mention that. Tried with it on and off.
  • morpheus562morpheus562 Member Posts: 383
    @RoLYroLLs what spells are you expecting to buff? Are you in Athkatla? Do you have a weidu log you can provide?
  • RoLYroLLsRoLYroLLs Member Posts: 11
    Currently I just got to Keeper's watch. I expect: Chant, Protection from Evil, Armor, Mirror Image. Attached is the weidu log. Let me know if I can do/provide anything else.
  • morpheus562morpheus562 Member Posts: 383
    @RoLYroLLs Do you have the characters you want to buff selected when you press the B or N keys? If you go into combat, do they react or do nothing?
  • RoLYroLLsRoLYroLLs Member Posts: 11
    edited June 2024
    @morpheus562 I'm out of combat when I try the B and N keys and yes they are all selected. Also, my thieves don't automatically Find Traps and when I fight, no one auto attacks the next target when I do enter combat. It's almost as if AI option is off or they have no script selected. I even tried removing all scripts from everyone. Then added it to my main only, and still no reaction to B or N.
  • morpheus562morpheus562 Member Posts: 383
    Can you attach your bddefai.bcs file here that is found in your override folder?
  • RoLYroLLsRoLYroLLs Member Posts: 11
    Of course. Thank you for taking the time to review this. Hopefully it isn't something stupid on my end.

    FYI: It's not a compressed file. The file type "bcs" wasn't allowed, so I just added "zip".
  • RoLYroLLsRoLYroLLs Member Posts: 11
    So check this out... before installing these scripts I turned the directory "Baldur's Gate II - Enhanced Edition" into a git repo. As a programmer, I was curious to see what was being installed and how to maybe learn to do scripts or modify them in the future. After sending you the bddefai.bcs file, I reverted the changes back to original install (which is just before adding the scripts) and reran the installer and now everything is working just fine!

    Maybe the bcs file can lead you to whatever happened to my initial install of the scripts. Let me know if you still want to look at any of the files I had when it wasn't working.
  • morpheus562morpheus562 Member Posts: 383
    If it is working, then it was whatever you were doing with the git that is the likely culprit. Happy to hear it is working now.
  • RoLYroLLsRoLYroLLs Member Posts: 11
    Thanks for your help! Interesting, I didn't do anything different before, git related, but if it's worth knowing, I'll add this bit:

    Initially I ran the exe file, and then chose to quit and not install it just yet (I closed it vs choosing options). Then I reran it and installed only the Accelerated Pre-Buffing Speed. Then I commit and this is where it wasn't working.

    I then reverted back to my initial commit, ran the installer and didn't quit it this time. I ran it all the way through till it asked to exit. Committed everything and now it's working.

    Hopefully it's worth knowing. If not, it's water under the bridge and I really appreciate you taking your time to help!
  • morpheus562morpheus562 Member Posts: 383
    Official release for version 13.4 which brings the following enhancements:
    • Added Chinese translation courtesy of Cat.
  • ithildurnewithildurnew Member Posts: 277
    Okay, I have to ask. Can you please untie healing from debuffing and curing. I can't stand the healing AI. They blow spells when they don't need to when out of combat, for one. Like the clerics / druids go 'oh you poor baby, you're misisng 10 hp out of 130, I better heal you."

    Second, on top of that, they seem to just randomly pick when to cast it. Okay. Out of combat. ....waiting for the druid to heal, I freaking know she's going to. ....okay hey, maybe she's dumb being done and casting a cure for 5% of his hp, *clicks to move right as she starts casting and interrupts it.* ....amazing.

    I would second this; ai managed healing out of combat is both unnecessary and often does a poor job of evaluation when it's truly needed vs resource management.
  • skushaskusha Member Posts: 139
    edited October 2024
    @morpheus562
    For the Enhanced Powergaming Scripts mod (13.4) it is necessary to correct the Russian translation.
    In the script_descriptions.tra file you need to replace these lines:

    // Turn Undead
    @1200 = ~Изгнание нежити~
    @1210 = ~Персонаж будет постоянно изгонять нежить.~

    Thanks in advance.
  • morpheus562morpheus562 Member Posts: 383
    skusha wrote: »
    @morpheus562
    For the Enhanced Powergaming Scripts mod (13.4) it is necessary to correct the Russian translation.
    In the script_descriptions.tra file you need to replace these lines:

    // Turn Undead
    @1200 = ~Изгнание нежити~
    @1210 = ~Персонаж будет постоянно изгонять нежить.~

    Thanks in advance.

    Thank you, I have gone ahead and made an update in the master.
  • morpheus562morpheus562 Member Posts: 383
    Enhanced Powergaming Scripts official release for version 14.0 which brings the following enhancements:
    • Added compatibility with Tactics Remix spell changes.
    • Better tracking for ranged attack checks.
    • Updated Russian translation.
    • Corrected bug with using the Cowl of the Stars.

    https://www.morpheus-mart.com/enhanced-powergaming-scripts
  • JanWJanW Member Posts: 13
    Hi Morpheus, is this a correct place to report issues with your mods? the repo seems to be closed and the discord link is broken.
    Anyways, here's a warning during install:
    Cheers,
    WARNING enhanced-powergaming-scripts/baf/upload/mocore.baf - pattern not found:
    IF
      OR(2)
        ActionListEmpty()
        EEex_LuaTrigger("return AmAttacking()")
      !EEex_LuaTrigger("return AmMoving()")
      Global("BDAI_DISABLE_ITEMS","LOCALS",0)
      OR(2)
        !EEex_LuaTrigger("return MO_AmCastingCooldown()")
        CheckStatGT(Myself,0,AURACLEANSING)
      OR(2)
        !GlobalTimerNotExpired("MO_SpellCastTimer","LOCALS")
        CheckStatGT(Myself,0,AURACLEANSING)
      !GlobalTimerNotExpired("MO_ItemUsedTimer","LOCALS")
      OR(2)
        !StateCheck(Myself,STATE_INVISIBLE)
        !Global("BDAI_SKILL_MODE","LOCALS",2)
      GlobalLT("MO_UsedCowlOfStars","GLOBAL",3)
      HasItemEquiped("OHRCLCK1",Myself)  // Cowl of the Stars
      !HasItem("melfmet",Myself)  // Melf's Minute Meteor
      !CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
      !StateCheck(Myself,STATE_POISONED)
      Global("MO_CastAthkatla","LOCALS",1)
      !CheckSpellState(Myself,WILD_MAGIC_AREA)
      !CheckSpellState(Myself,DEAD_MAGIC_AREA)
    THEN
      RESPONSE #100
        SetGlobal("MO_SpellCast","LOCALS",1)
        SetGlobalTimer("MO_SpellCastTimer","LOCALS",6)
        SetGlobal("MO_HasMelfMeteors","LOCALS",1)
        SetGlobalTimer("MO_ItemUsedTimer","LOCALS",6)
        UseItem("OHRCLCK1",Myself)  // Cowl of the Stars
        IncrementGlobal("MO_UsedCowlOfStars","GLOBAL",1)
    
    // Log of Currently Installed WeiDU Mods
    // The top of the file is the 'oldest' mod
    // ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name [ : Version]
    ~DLCMERGER/DLCMERGER.TP2~ #0 #1 // Merge DLC into game -> Merge "Siege of Dragonspear" DLC: 1.7
    ~EEEX/EEEX.TP2~ #0 #0 // EEex: v0.10.2.1-alpha
    ~EEEX/EEEX.TP2~ #0 #2 // Enable effect menu module - LShift-on-hover to view spells affecting creature: v0.10.2.1-alpha
    ~EEEX/EEEX.TP2~ #0 #3 // Enable empty container module - Highlight empty containers in gray instead of cyan: v0.10.2.1-alpha
    ~ENHANCED-POWERGAMING-SCRIPTS/ENHANCED-POWERGAMING-SCRIPTS.TP2~ #0 #14 // Install Enhanced Powergaming Scripts -> Normal Pre-Buffing Speed: v14.1
    

    Enhanced Powergaming Scripts official release for version 14.0 which brings the following enhancements:
    • Added compatibility with Tactics Remix spell changes.
    • Better tracking for ranged attack checks.
    • Updated Russian translation.
    • Corrected bug with using the Cowl of the Stars.

    https://www.morpheus-mart.com/enhanced-powergaming-scripts

  • morpheus562morpheus562 Member Posts: 383
    JanW wrote: »
    Hi Morpheus, is this a correct place to report issues with your mods? the repo seems to be closed and the discord link is broken.
    Anyways, here's a warning during install:
    Cheers,
    WARNING enhanced-powergaming-scripts/baf/upload/mocore.baf - pattern not found:
    IF
      OR(2)
        ActionListEmpty()
        EEex_LuaTrigger("return AmAttacking()")
      !EEex_LuaTrigger("return AmMoving()")
      Global("BDAI_DISABLE_ITEMS","LOCALS",0)
      OR(2)
        !EEex_LuaTrigger("return MO_AmCastingCooldown()")
        CheckStatGT(Myself,0,AURACLEANSING)
      OR(2)
        !GlobalTimerNotExpired("MO_SpellCastTimer","LOCALS")
        CheckStatGT(Myself,0,AURACLEANSING)
      !GlobalTimerNotExpired("MO_ItemUsedTimer","LOCALS")
      OR(2)
        !StateCheck(Myself,STATE_INVISIBLE)
        !Global("BDAI_SKILL_MODE","LOCALS",2)
      GlobalLT("MO_UsedCowlOfStars","GLOBAL",3)
      HasItemEquiped("OHRCLCK1",Myself)  // Cowl of the Stars
      !HasItem("melfmet",Myself)  // Melf's Minute Meteor
      !CheckStatGT(Myself,0,CLERIC_INSECT_PLAGUE)
      !StateCheck(Myself,STATE_POISONED)
      Global("MO_CastAthkatla","LOCALS",1)
      !CheckSpellState(Myself,WILD_MAGIC_AREA)
      !CheckSpellState(Myself,DEAD_MAGIC_AREA)
    THEN
      RESPONSE #100
        SetGlobal("MO_SpellCast","LOCALS",1)
        SetGlobalTimer("MO_SpellCastTimer","LOCALS",6)
        SetGlobal("MO_HasMelfMeteors","LOCALS",1)
        SetGlobalTimer("MO_ItemUsedTimer","LOCALS",6)
        UseItem("OHRCLCK1",Myself)  // Cowl of the Stars
        IncrementGlobal("MO_UsedCowlOfStars","GLOBAL",1)
    
    // Log of Currently Installed WeiDU Mods
    // The top of the file is the 'oldest' mod
    // ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name [ : Version]
    ~DLCMERGER/DLCMERGER.TP2~ #0 #1 // Merge DLC into game -> Merge "Siege of Dragonspear" DLC: 1.7
    ~EEEX/EEEX.TP2~ #0 #0 // EEex: v0.10.2.1-alpha
    ~EEEX/EEEX.TP2~ #0 #2 // Enable effect menu module - LShift-on-hover to view spells affecting creature: v0.10.2.1-alpha
    ~EEEX/EEEX.TP2~ #0 #3 // Enable empty container module - Highlight empty containers in gray instead of cyan: v0.10.2.1-alpha
    ~ENHANCED-POWERGAMING-SCRIPTS/ENHANCED-POWERGAMING-SCRIPTS.TP2~ #0 #14 // Install Enhanced Powergaming Scripts -> Normal Pre-Buffing Speed: v14.1
    

    Enhanced Powergaming Scripts official release for version 14.0 which brings the following enhancements:
    • Added compatibility with Tactics Remix spell changes.
    • Better tracking for ranged attack checks.
    • Updated Russian translation.
    • Corrected bug with using the Cowl of the Stars.

    https://www.morpheus-mart.com/enhanced-powergaming-scripts

    Yes, this or my discord are the correct places to report issues and thank you. I have this corrected, but have not pushed the update yet. Should be live soon.
  • morpheus562morpheus562 Member Posts: 383
    Enhanced Powergaming Scripts official release for version 14.2 which brings the following enhancements:
    • Added Magic Resistance checks for Cause Wounds/Harm spells.
    • Removed attack checks for Shield of Lathander as it was not needed.
    • Fixed bug with Cowl of the Stars removal from scripts (not present in BGEE).
  • Kensei_xXxKensei_xXx Member Posts: 131
    Did you use or test your script mod together with subtles current Spell tweaks? I had a lot of warnings on the main component and that would be my likely culprit.

    However, when I switched back to 13.4, the version I used before my actual setup, everything went fine.
  • morpheus562morpheus562 Member Posts: 383
    Kensei_xXx wrote: »
    Did you use or test your script mod together with subtles current Spell tweaks? I had a lot of warnings on the main component and that would be my likely culprit.

    However, when I switched back to 13.4, the version I used before my actual setup, everything went fine.

    Can you send me the warnings?
  • Kensei_xXxKensei_xXx Member Posts: 131
    edited January 13
    I can load up my current WeiDU log, but I unfortunately forgot to take a sreenshot before switching back to 13.4.
    The last testing I made with 14.2 was after installing Olvyns Spells with some minor settings only, wich went fine. So it has to be some mod conflict after that.
    I will do some more testings on my own, if I have spare time.
    Post edited by Kensei_xXx on
  • morpheus562morpheus562 Member Posts: 383
    edited January 12
    Kensei_xXx wrote: »
    I can load up my current WeiDU log, but I unfortunately forgot to take a sreenshot before switching back to 13.4.
    The last testing I made with 14.2 was after installing Olvyns Spells with some minor settings only, wich went fine. So it has to be some mod conflict after that.
    I will do some more testings on my own, if I have spare time.

    Don't install my scripts with Olvyn's spells and my scripts need to be the very last in an install order, even after EET_END. Confirmed issue is bad install order with conflicting mods.

    EDIT: You're installing MiH Encounters and Quests with Tactics Remix and Crucible by removing the restriction I added? You are going to have a broken game. I can't help you outside of recommending a new install.

    EDIT #2: The issue is not Subtle Doc's tweaks but you are installing SCS with Tactics Remix, also a no-go. Install one or the other.
  • Kensei_xXxKensei_xXx Member Posts: 131
    I know your recommendations, just wanted to try some kind of mixed settings on my own.

    I didn't install olvyns new Spells, only some minor spell tweaks. And as I said, installing your sripts went fine after that, without any problems.

    For SCS and the like, I only used components once, so that there's nothing overriding each other. I'll see how it goes.

    A small update, I made a quick Installation of BG1 with Tome&Blood and Subtles Spell Tweaks, and found no issues with your mod.

    Just out of curiosity, are there Tweak Mods on my setup, that you don't use and don't have experiences with? I will do some further testings on my own then.
  • morpheus562morpheus562 Member Posts: 383
    Kensei_xXx wrote: »
    I know your recommendations, just wanted to try some kind of mixed settings on my own.
    These are really bad choices that don't work. I can't help you further.
    Kensei_xXx wrote: »
    And as I said, installing your sripts went fine after that, without any problems.
    It is going to have problems in game due to the conflicting spell systems.
    Kensei_xXx wrote: »
    A small update, I made a quick Installation of BG1 with Tome&Blood and Subtles Spell Tweaks, and found no issues with your mod.
    Correct, the conflict is due to checks in my scripts on if you are using either SCS or Tactics Remix spell systems. You are using both which is incredibly bad. v13.4 doesn't have this check because it didn't exist at the time. The check is there for a reason and to prevent in-game issues. Not having an error during an install does not mean it installed successfully.
    Kensei_xXx wrote: »
    Just out of curiosity, are there Tweak Mods on my setup, that you don't use and don't have experiences with? I will do some further testings on my own then.
    You can refer to my install logs on discord for what I use and recommend.

    I can't help you further with any issues you may encounter until you do a clean install and remove the incompatibilities mentioned.
  • Kensei_xXxKensei_xXx Member Posts: 131
    edited January 12
    Ok, sorry for bothering. The warnings then might occur because of the checkings you mention.

    I'm not on "discord" and have no plans for registering.

    Just one more question, what do you mean with "SCS Spell System"? The only thing there I installed was the IWD Spells component and some minor Spell Tweaks?
  • morpheus562morpheus562 Member Posts: 383
    Kensei_xXx wrote: »
    Just one more question, what do you mean with "SCS Spell System"? The only thing there I installed was the IWD Spell component and some minor Spell Tweaks?

    You have SCS tactical components installed. SCS, per it's own readme/instructions, states that if you install any of its tactical components it will also install it's spell system on top of it.
  • Kensei_xXxKensei_xXx Member Posts: 131
    Ok, thanks for the info.
    I'll have a further look into this.
Sign In or Register to comment.