Jump to content


Abazigal death bug

Ascension Big picture Glitch Bug Abazigal death scs multiple mod

  • Please log in to reply
12 replies to this topic

#1 -Kanatha-

-Kanatha-
  • Guest

Posted 14 October 2017 - 02:54 PM

Good evening,

 

I have an issue with Abazigal in BG2EE : His death speak / script won't trigger at all, so because of that my progress can't go onto the next chapter of the story.

 

I don't exactly know what mod does trigger this glitch, but maybe it's a compatibility trouble from ascension and SCS. If somebody have some idea on how should i edit some file to make the script happening by "forcing it" or if i should install differently my mod, don't hesitate to tell me or suggest me any solution that would make the boss trigger his script properly.

 

Here is the Weidu's log of my installation :

 

// 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]
~SETUP-WEIDU.TP2~ #0 #0 // 24200
~SETUP-BWS.TP2~ #0 #0 // Expert Click-Properties Selected
~SETUP-BWS.TP2~ #0 #1 // Expert Mod In Selection: BP
~SETUP-BWS.TP2~ #0 #2 // 20161130 - Updated by agb1 (installation started 07/10/2017)
~JIMFIX/SETUP-JIMFIX.TP2~ #0 #100 // Check for and fix incorrect spell animations: v2.2
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #0 // Ascension Core (requires ToB): v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #1 // Tougher Abazigal (optional, requires ToB): v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #2 // Original Tougher Demogorgon (optional, requires ToB): v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #3 // Tougher Gromnir (optional, requires ToB): v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #4 // Tougher Illasera (optional, requires ToB): v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #5 // Tougher Yaga-Shura (optional, requires ToB): v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #101 // Ascension Portraits - Bodhi: v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #102 // Ascension Portraits - Original Balthazar by Cuv: v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #103 // Restored Bhaalspawn Powers by David Gaider: v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #104 // Extended Epilogues for Bioware NPCs by shawne: v1.51 BETA BWP 20170519
~ASCENSION/SETUP-ASCENSION.TP2~ #0 #105 // Extended Epilogues for Beamdog NPCs by shawne: v1.51 BETA BWP 20170519
~FADE/SETUP-FADE.TP2~ #0 #0 // Fade: An NPC for Baldur's Gate II: SoA and ToB: BETA 7.3 BWP Fix
~FADE/SETUP-FADE.TP2~ #0 #1 // Fade NPC: reactions to Romantic Encounters (RE may be installed before or after this component): BETA 7.3 BWP Fix
~FADE/SETUP-FADE.TP2~ #0 #2 // Fade EE: give Fade Shadowdancer kit: BETA 7.3 BWP Fix
~SAERILETH/SETUP-SAERILETH.TP2~ #0 #0 // Saerileth Romance Mod (BG2:SoA & TOB NPC) created by nethrin and Sillara: v18_charsets BWP Fix
~YVETTE/SETUP-YVETTE.TP2~ #0 #0 // Yvette Romance - BG2 Romance Character: 4.0
~BP/SETUP-BP.TP2~ #0 #0 // Big Picture, core component (required for most subcomponents): v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #60 // Custom Grandmastery (w/ extra attacks): v181-b4611 BWP Fix
~TASHIA/SETUP-TASHIA.TP2~ #0 #0 // Tashia NPC Mod -> Full version (ToB required): v1.4 BWP Fix 2
~TASHIA/SETUP-TASHIA.TP2~ #0 #2 // Tashia Add-on Pack by Bri and Lord Ernie (English only, Tashia ToB Required) -> Action Style dialogues: v1.4 BWP Fix 2
~RE/SETUP-RE.TP2~ #0 #0 // Aerie, Anomen, Jaheira and Viconia React to Romantic Encounters: v12
~RE/SETUP-RE.TP2~ #0 #1 // Storms and Lightning, by berelinde (Weathermistress Ada, adult content): v12
~RE/SETUP-RE.TP2~ #0 #2 // Aimi's Magic, by berelinde (adult content): v12
~RE/SETUP-RE.TP2~ #0 #3 // Anishai's Deft Hands, by cmorgan: v12
~RE/SETUP-RE.TP2~ #0 #4 // An Evening with Aran, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #5 // Bjornin's Desire, by jastey (adult content): v12
~RE/SETUP-RE.TP2~ #0 #6 // Bodhi's Allure, by Kulyok (adult content): v12
~RE/SETUP-RE.TP2~ #0 #7 // Trademeet with Guildmistress Busya, by magrat: v12
~RE/SETUP-RE.TP2~ #0 #8 // The Gambling Cambion, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #9 // Chanelle's Gifts, by cmorgan (adult content): v12
~RE/SETUP-RE.TP2~ #0 #10 // A Night with Coran, by magrat: v12
~RE/SETUP-RE.TP2~ #0 #11 // Cyric's Test, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #12 // A Tryst with a Pirate Lord, by Kulyok (Desharik, adult content): v12
~RE/SETUP-RE.TP2~ #0 #13 // A Lonely Dryad, by Kulyok (adult content): v12
~RE/SETUP-RE.TP2~ #0 #14 // Edwin's Softer Side, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #15 // Eldoth' Exploits, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #16 // Elhan's Expansion, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #17 // Firkraag's Unsheathed Sword: v12
~RE/SETUP-RE.TP2~ #0 #18 // Gaelan's Contract, by Evaine Dian: v12
~RE/SETUP-RE.TP2~ #0 #19 // A Walk with Garren Windspear, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #20 // Enter Haer'Dalis, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #21 // Hendak's Heart, by jastey: v12
~RE/SETUP-RE.TP2~ #0 #22 // Ilona, a Merchant's Daughter, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #23 // Jarlaxle's Fascinations, by Catseye: v12
~RE/SETUP-RE.TP2~ #0 #24 // A Night with Lais in Imnesvale, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #25 // Laran's Promise, by berelinde (adult content): v12
~RE/SETUP-RE.TP2~ #0 #26 // The Love Song of Logan, Lord Coprith, by Ajnos: v12
~RE/SETUP-RE.TP2~ #0 #27 // Mekrath and Nymphology, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #28 // Mira's Special Stock, by berelinde: v12
~RE/SETUP-RE.TP2~ #0 #29 // Noober Returns, by cmorgan: v12
~RE/SETUP-RE.TP2~ #0 #30 // Rebecca the Gypsy, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #31 // Renal Bloodscalp: A Dangerous Affair, by cmorgan (adult content): v12
~RE/SETUP-RE.TP2~ #0 #32 // Old Ribald's Speciality, by Evaine Dian: v12
~RE/SETUP-RE.TP2~ #0 #33 // Sir Ryan Trawl, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #34 // Saemon, a Pirate, by Kulyok (adult content): v12
~RE/SETUP-RE.TP2~ #0 #35 // Dreaming of Sendai, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #36 // Sheri the Bardess, by cmorgan (adult content): v12
~RE/SETUP-RE.TP2~ #0 #37 // Solaufein in the Lust Chambers, by jastey: v12
~RE/SETUP-RE.TP2~ #0 #38 // Phaere's Reward, by berelinde (Talak, pleasure slave, adult content): v12
~RE/SETUP-RE.TP2~ #0 #39 // Spell Research with Teos, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #40 // A fling with Yoshimo, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #41 // Isabelle's Fears, by gertjanvh (adult content): v12
~RE/SETUP-RE.TP2~ #0 #42 // Anne's Rescue, by gertjanvh (adult content): v12
~RE/SETUP-RE.TP2~ #0 #43 // The Queen, by Domi: v12
~RE/SETUP-RE.TP2~ #0 #44 // Valygar Romance, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #45 // Rehearsal with Chandra, by Western Paladin: v12
~RE/SETUP-RE.TP2~ #0 #46 // Goldander Blackenrock: After a Party, by magrat: v12
~RE/SETUP-RE.TP2~ #0 #47 // A Chat with Viekang, by magrat: v12
~RE/SETUP-RE.TP2~ #0 #48 // Bravery or Folly? by Aeryn (Sarevok, adult content): v12
~RE/SETUP-RE.TP2~ #0 #49 // Blame the Moon, by Aeryn (Cernd): v12
~RE/SETUP-RE.TP2~ #0 #50 // Cernick's Confession, by Cal Jones: v12
~RE/SETUP-RE.TP2~ #0 #51 // Valygar Romance ToB, by Kulyok: v12
~RE/SETUP-RE.TP2~ #0 #52 // Minsc. Takes. A Bath, by Thimblerig: v12
~RE/SETUP-RE.TP2~ #0 #53 // Nizidramanii'yt's Vanity, by Thimblerig: v12
~RE/SETUP-RE.TP2~ #0 #54 // Date Night, by SisterVigilante: v12
~UB/UB.TP2~ #0 #12 // Item Restorations: v27beta
~UB/UB.TP2~ #0 #15 // NPC Portrait Restorations: v27beta
~UB/UB.TP2~ #0 #16 // Corrected BAMs and Scripts: v27beta
~UB/UB.TP2~ #0 #17 // Corrected Character Names and Biographies: v27beta
~UB/UB.TP2~ #0 #18 // Restored Minor Dialogs: v27beta
~UB/UB.TP2~ #0 #20 // Extended ToB Item Descriptions: v27beta
~UB/UB.TP2~ #0 #21 // Throne of Bhaal Minor Restorations: v27beta
~UB/UB.TP2~ #0 #25 // The Murder of Acton Balthis, by Kulyok: v27beta
~SETUP-TURNABOUT.TP2~ #0 #0 // Ascension: Turnabout: BWP Fix
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #1000 // Initialise mod (all other components require this): v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #5900 // Initialise AI components (required for all tactical and AI components): v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6000 // Smarter general AI: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6010 // Better calls for help: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6031 // Smarter Mages -> Mages only cast short-duration spells instantly at start of combat if they are created in sight of the PC: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6531 // Smarter celestials -> Celestials have normal hit points: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6580 // Improved Vampires: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6590 // Smarter Throne of Bhaal final villain: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6800 // Smarter Illasera: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6810 // Smarter Gromnir: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6820 // Smarter Yaga-Shura: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6830 // Smarter Abazigal: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6840 // Give Ascension versions of Irenicus and Sendai SCS scripts and abilities: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6850 // Give Ascension demons SCS scripts and abilities: v30 BWP fix + K4thos' EET compatibility
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #8081 // Improved Bodhi (Tactics Remix) -> Original Tactics Improved Bodhi with SCSII scripting: v30 BWP fix + K4thos' EET compatibility
~JIMFIX/SETUP-JIMFIX.TP2~ #0 #3 // Fix Smarter Abazigal: v2.2
~JIMFIX/SETUP-JIMFIX.TP2~ #0 #4 // Fix Smarter Irenicus at the Throne: v2.2
~JIMFIX/SETUP-JIMFIX.TP2~ #0 #5 // Remove entourage from Ascension Fallen Solars: v2.2
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #218 // Regain Bhaalpowers in ToB: v4.51 BWP Fix
~ITEM_PATCHER/SETUP-ITEM_PATCHER.TP2~ #0 #0 // Install Marker: ALPHA 3
~ITEM_PATCHER/SETUP-ITEM_PATCHER.TP2~ #0 #101 // Gives some Big Picture items the Droppable Flag: ALPHA 3
~ITEM_PATCHER/SETUP-ITEM_PATCHER.TP2~ #0 #113 // Gives some Tashia items the Droppable Flag: ALPHA 3
// Recently Uninstalled: ~SETUP-BWS_FINAL.TP2~ #0 #0 // Make quick-logged WeiDU-entries visible
 

 

I did look on internet and on this forum, and apparently i'm not the only one who did have this trouble, but neither of the post did mention any way of getting rid of this glitch properly.

 

Also, if there is some code editing on some file that i need to do, could someone explain me step by step what file i'm suppose to edit, what code i'm suppose to add, and where on the file i'm suppose to put it pretty please ?

 

I thank you all in advance for reading my post and tell me your awnser on this matter.

 

Best regards,

 

Kanatha.



#2 Creepin

Creepin
  • Administrator
  • 1676 posts

Posted 16 October 2017 - 12:06 PM

Kanatha, there's no need to create multiple threads on the same topic, let alone bump it every 12 hours. By doing so you're only decreasing your chances for an answer. Keep in mind that any answer given in 3 days or so is considered been given fast, so have some patience: people see your question even without excessive bumping, and as soon as someone will have something to say, he will.


The Old Gold - v0.2 WIP (mod for BGT/BWP/BWS)


#3 -Kanatha-

-Kanatha-
  • Guest

Posted 16 October 2017 - 12:22 PM

Hello Creepin, and thank you for your awnser.

 

I didn't know of how this forum works, so i appologise for that. The second post wasn't intentionnal, when i created the post it kinda had a double click on it and i didn't know how to suppress the dupplicate, so if you did suppress the dupplicate i thank you for that.

 

I'll be patient on that matter, if the bumping is not a good usage on this forum i won't do that again.

 

Best regards,

 

Kanatha.



#4 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 16 October 2017 - 01:09 PM

Jim's Smarter Abazigal fix needs both components; Ascension(1)SCS(6830).

This definition was used by BWS, however based on Fix Smarter Abazigal: v2.1. Your current install has v2.2. I have no idea if anything has changed in this component, at least this has not been reported yet. It is the only clue your weidu.log reveals, but I may be totally wrong,

There was also a disclaimer that Jimfix has not been thoroughly tested on EE, Again I am not sure if this information is still valid.

Personally, I would never try this mod triangle myself, just to find myself in the trap so late in the game.

 

Did you try to SetGlobal("Death","LOCALS",1) while having the defeated dragon selected?

 

Or check that this code is in one of the scripts assigned to Abazigal (since I do not use your mod combination, I cannot say for sure which script YOUR opponent has.  (Abaz3.bcs or Abazdrag.bcs or dragbluc,bcs or dragblue.bcs,,,,)

 

IF
    HPLT(Myself,20)
    Global("Death","LOCALS",0)
THEN
    RESPONSE #100
        SetGlobal("Death","LOCALS",1)
        StartDialogueNoSet(Player1)
END

Edited by Roxanne, 16 October 2017 - 01:36 PM.

The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#5 -Kanatha-

-Kanatha-
  • Guest

Posted 16 October 2017 - 04:14 PM

Hello Roxanne, and thanks for your reply.

 

First, no i didn't tryed out anything special for now since i don't even know what to try.

 

"Did you try to SetGlobal("Death","LOCALS",1) while having the defeated dragon selected?"

 

I can always try that out, were am i suppose to put this code sample please ? In the cluaConsole with the debug mode enable ? Or in a specific file and specific place in this file ?

 

"Or check that this code is in one of the scripts assigned to Abazigal (since I do not use your mod combination, I cannot say for sure which script YOUR opponent has.  (Abaz3.bcs or Abazdrag.bcs or dragbluc,bcs or dragblue.bcs,,,,)"

 

The only file i'm seing into the override file is those 2 : Abaz3.bcs and Abazdrag.bcs .

 

In those 2 file this code is nowere to be found.

 

Am i supposed to add it in one of those file ? If yes, were am i suppose to copy / paste it please ?

 

Again, thank you very much for your awnser.

 

Best regards,

 

Kanatha.

 



#6 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 16 October 2017 - 05:11 PM

I can always try that out, were am i suppose to put this code sample please ? In the cluaConsole with the debug mode enable ?
That won't unfortunately work ... cause the "Global" is set in the "locals", which means the creature checks the value from itself, which should be set by some previous action.
In those 2 file this code is nowere to be found.
What are you using to open the files ? A standard tool like Near Infinity ... or ? Yes, the reason you see only two files is likely not using a actual tool that shows all the files the game has.
Cause the files are codescripts that the game runs, meaning they need to be decompiled as a .baf file to be understood(well, the Near Infinity can show .bcs file as their .baf format in the different vierw modes).
Yes, you would add the code into the .baf with a tool, which will then need to be compile as .bcs into the games override folder, and then load a save that was made before you entered the area the opponent is.. as their scripts need to be reloaded, the old save can save them and so can interfere with the fix.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#7 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 16 October 2017 - 09:57 PM

Hello Roxanne, and thanks for your reply.

 

First, no i didn't tryed out anything special for now since i don't even know what to try.

 

"Did you try to SetGlobal("Death","LOCALS",1) while having the defeated dragon selected?"

 

I can always try that out, were am i suppose to put this code sample please ? In the cluaConsole with the debug mode enable ? Or in a specific file and specific place in this file ?

 

"Or check that this code is in one of the scripts assigned to Abazigal (since I do not use your mod combination, I cannot say for sure which script YOUR opponent has.  (Abaz3.bcs or Abazdrag.bcs or dragbluc,bcs or dragblue.bcs,,,,)"

 

The only file i'm seing into the override file is those 2 : Abaz3.bcs and Abazdrag.bcs .

 

In those 2 file this code is nowere to be found.

 

Am i supposed to add it in one of those file ? If yes, were am i suppose to copy / paste it please ?

 

Again, thank you very much for your awnser.

 

Best regards,

 

Kanatha.

You can open the files with Near Infinity and add the code to the top of the file, i.e. first block, It sounds like those are the correct files, the ones Abazigal uses after he turns dragon. If you use NI to search and open the files, it will automatically open the correct version, the one used in game.


Edited by Roxanne, 16 October 2017 - 11:49 PM.

The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#8 -Kanatha-

-Kanatha-
  • Guest

Posted 17 October 2017 - 12:18 PM

Alright, thank you for your answer.

 

I will try that out tomorow and come back on this post to tell what have happen after adding the code with this software (i will seek it and download it tomorow as well).

 

Best regards,

 

Kanatha.



#9 -Kanatha-

-Kanatha-
  • Guest

Posted 18 October 2017 - 10:25 AM

Hello again,

 

I did downloaded NI and put it on the BG2 folder and watched the content of ABAZ3.BCS with that editor, and the script is indeed present at the start of the file without any change done from me, maybe the problem is somewhere else or some other code maybe prevent this script from triggering ?

 

Here is the code of this file (if it can help solving this problem) :

 

IF
    HPLT(Myself,20)
    Global("Death","LOCALS",0)
THEN
    RESPONSE #100
        SetGlobal("Death","LOCALS",1)
        StartDialogueNoSet(Player1)
END

IF
    OnCreation()
THEN
    RESPONSE #100
        Face(S)
END

IF
    See(NearestEnemyOf(Myself))
    Global("Prepare2","LOCALS",0)
    !StateCheck(Myself,STATE_DEAD)
THEN
    RESPONSE #100
        SetGlobal("Prepare2","LOCALS",1)
        DisplayString(Myself,73139)  // Contingency—Fired
        ApplySpell(Myself,DRAGON_STONE_SKIN)  // SPIN694.SPL (Stoneskin)
        ReallyForceSpell(Myself,BEHOLDER_SPELL_TURNING)  // SPIN920.SPL (Minor Spell Turning)
        ReallyForceSpell(NearestEnemyOf(Myself),WIZARD_REMOVE_MAGIC)  // SPWI302.SPL (Remove Magic)
END

IF
    ActionListEmpty()
    See(NearestEnemyOf(Myself))
    HPPercentLT(Myself,100)
    See(LastAttackerOf(Myself))
    !GlobalTimerNotExpired("SpellTrigger1","LOCALS")
THEN
    RESPONSE #100
        SetGlobalTimer("SpellTrigger1","LOCALS",1000)
        DisplayString(Myself,39968)  // Spell Trigger—Fired
        ReallyForceSpell(Myself,WIZARD_IMPROVED_HASTE)  // SPWI613.SPL (Improved Haste)
        ReallyForceSpell(Myself,HEAL_NO_VISUAL)  // SPIN679.SPL (Heal)
        ReallyForceSpell(Myself,CLERIC_RIGHTEOUS_MAGIC)  // SPPR513.SPL (Righteous Magic)
        ReallyForceSpell(Myself,CLERIC_ARMOR_OF_FAITH)  // SPPR111.SPL (Armor of Faith)
END

IF
    See(NearestEnemyOf(Myself))
    !GlobalTimerNotExpired("DRAGONFEAR","LOCALS")
THEN
    RESPONSE #100
        SetGlobalTimer("DRAGONFEAR","LOCALS",TWENTY_MINUTES)
        PlaySound("ABAZIG02")
        ReallyForceSpell(NearestEnemyOf(Myself),DRAGON_FEAR)  // SPIN895.SPL (Dragon Fear)
        ReallyForceSpell(NearestEnemyOf(Myself),DRAGON_LOWER_ELECTRICAL)  // SPIN532.SPL (Lower Electrical Resistance)
        ForceSpell(LastSeenBy(Myself),DRAGON_WING_BUFFET)  // SPIN695.SPL (Wing Buffet)
END

IF
    OR(3)
        SpellCast([GOODCUTOFF],WIZARD_CLOUDKILL)  // SPWI502.SPL (Cloudkill)
        SpellCast([GOODCUTOFF],WIZARD_INCENDIARY_CLOUD)  // SPWI810.SPL (Incendiary Cloud)
        SpellCast([GOODCUTOFF],WIZARD_DEATH_FOG)  // SPWI614.SPL (Death Fog)
    !GlobalTimerNotExpired("WINGBUFFET","LOCALS")
THEN
    RESPONSE #100
        SetGlobalTimer("WINGBUFFET","LOCALS",8)
        ForceSpell(NearestEnemyOf(Myself),DRAGON_WING_BUFFET)  // SPIN695.SPL (Wing Buffet)
        Wait(1)
        ApplySpellRES("",Myself)
END

IF
    Allegiance(Myself,ENEMY)
    !StateCheck(Myself,STATE_INVISIBLE)
    !CheckStatGT(Myself,0,STONESKINS)
    !GlobalTimerNotExpired("DragonStoneSkin","LOCALS")
    RandomNum(2,1)
THEN
    RESPONSE #100
        SetGlobalTimer("DragonStoneSkin","LOCALS",FIVE_ROUNDS)
        ForceSpell(Myself,DRAGON_STONE_SKIN)  // SPIN694.SPL (Stoneskin)
END

IF
    See(NearestEnemyOf(Myself))
    CheckStatLT(Myself,50,RESISTMAGIC)
    RandomNum(3,1)
    !GlobalTimerNotExpired("RegainMagic","LOCALS")
THEN
    RESPONSE #100
        SetGlobalTimer("RegainMagic","LOCALS",THREE_MINUTES)
        ApplySpellRES("SPCL904",Myself)  // Resist Magic
END

IF
    See(NearestEnemyOf(Myself))
    !HasBounceEffects(Myself)
    OR(3)
        See(NearestEnemyOfType([PC.0.0.BARD_ALL]))
        See(NearestEnemyOfType([PC.0.0.MAGE_ALL]))
        See(NearestEnemyOfType([PC.0.0.SORCERER]))
    !StateCheck(LastSeenBy(Myself),STATE_SILENCED)
    RandomNum(2,1)
    !GlobalTimerNotExpired("SpellTurn","LOCALS")
THEN
    RESPONSE #100
        SetGlobalTimer("SpellTurn","LOCALS",THREE_MINUTES)
        ForceSpell(Myself,BEHOLDER_SPELL_TURNING)  // SPIN920.SPL (Minor Spell Turning)
END

IF
    !Allegiance(Myself,ENEMY)
THEN
    RESPONSE #100
        NoAction()
END

IF
    See(NearestEnemyOf(Myself))
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    OR(3)
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.BARD]))
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.DRUID_ALL]))
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.CLERIC_ALL]))
    !StateCheck(LastSeenBy(Myself),STATE_SILENCED)
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    OR(3)
        See(NearestEnemyOfType([GOODCUTOFF.0.0.BARD]))
        See(NearestEnemyOfType([GOODCUTOFF.0.0.DRUID_ALL]))
        See(NearestEnemyOfType([GOODCUTOFF.0.0.CLERIC_ALL]))
    !StateCheck(LastSeenBy(Myself),STATE_SILENCED)
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    OR(2)
        See(ThirdNearestEnemyOfType([GOODCUTOFF.0.0.MAGE_ALL]))
        See(ThirdNearestEnemyOfType([GOODCUTOFF.0.0.SORCERER]))
    !StateCheck(LastSeenBy(Myself),STATE_SILENCED)
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    OR(2)
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.MAGE_ALL]))
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.SORCERER]))
    !StateCheck(LastSeenBy(Myself),STATE_HELPLESS)
    !StateCheck(LastSeenBy(Myself),STATE_STUNNED)
    !StateCheck(LastSeenBy(Myself),STATE_PANIC)
    !StateCheck(LastSeenBy(Myself),STATE_SILENCED)
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    OR(2)
        See(NearestEnemyOfType([GOODCUTOFF.0.0.MAGE_ALL]))
        See(NearestEnemyOfType([GOODCUTOFF.0.0.SORCERER]))
    !StateCheck(LastSeenBy(Myself),STATE_HELPLESS)
    !StateCheck(LastSeenBy(Myself),STATE_STUNNED)
    !StateCheck(LastSeenBy(Myself),STATE_PANIC)
    !StateCheck(LastSeenBy(Myself),STATE_SILENCED)
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    AttackedBy([ANYONE],DEFAULT)
    See(LastAttackerOf(Myself))
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    Range(NearestEnemyOf(Myself),4)
    See(NearestEnemyOf(Myself))
    !Gender(LastSeenBy(Myself),SUMMONED)
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
THEN
    RESPONSE #100
        Continue()
END

IF
    OR(3)
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.BARD_ALL]))
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.MAGE_ALL]))
        See(SecondNearestEnemyOfType([GOODCUTOFF.0.0.SORCERER]))
    !StateCheck(LastSeenBy(Myself),STATE_SILENCED)
    !StateCheck(LastSeenBy(Myself),STATE_DEAD)
    Range(LastSeenBy(Myself),20)
    HPPercentGT(Myself,80)
    CheckStatGT(Myself,0,STONESKINS)
    RandomNum(3,1)
THEN
    RESPONSE #100
        Continue()
END

IF
    !Allegiance(LastSeenBy(Myself),GOODCUTOFF)
    See([GOODCUTOFF])
THEN
    RESPONSE #100
        MoveToObject([GOODCUTOFF])
END

IF
    OR(2)
        !Allegiance(LastSeenBy(Myself),GOODCUTOFF)
        !See([GOODCUTOFF])
    HPPercentLT(Myself,50)
THEN
    RESPONSE #100
        SpellNoDec(Myself,CLERIC_HEAL)  // SPPR607.SPL (Heal)
END

IF
    OR(2)
        !Allegiance(LastSeenBy(Myself),GOODCUTOFF)
        !See([GOODCUTOFF])
    !HPPercentLT(Myself,50)
THEN
    RESPONSE #100
        MoveToObject(Player1)
END

IF
    !GlobalTimerNotExpired("WINGBUFFET","LOCALS")
    !StateCheck(Myself,STATE_INVISIBLE)
    Range(LastSeenBy(Myself),10)
    RandomNum(2,1)
THEN
    RESPONSE #100
        SetGlobalTimer("WINGBUFFET","LOCALS",TWO_ROUNDS)
        ForceSpell(LastSeenBy(Myself),DRAGON_WING_BUFFET)  // SPIN695.SPL (Wing Buffet)
        Wait(1)
END

IF
    !GlobalTimerNotExpired("WINGBUFFET","LOCALS")
    !StateCheck(Myself,STATE_INVISIBLE)
    Range(NearestEnemyOf(Myself),10)
    Range(SecondNearestEnemyOf(Myself),10)
    RandomNum(3,1)
THEN
    RESPONSE #100
        SetGlobalTimer("WINGBUFFET","LOCALS",TWO_ROUNDS)
        ForceSpell(NearestEnemyOf(Myself),DRAGON_WING_BUFFET)  // SPIN695.SPL (Wing Buffet)
        Wait(1)
END

IF
    GlobalTimerExpired("ElectrifiedFloorTimer","AR6005")
THEN
    RESPONSE #100
        SetGlobalTimer("ElectrifiedFloorTimer","AR6005",FIVE_ROUNDS)
        DisplayString(Myself,72905)  // Abazigal Shockwave
        ForceSpell(Myself,ABAZIGAL_SHOCKWAVE)  // SPIN531.SPL (Abazigal Shockwave)
        PlaySound("am6005e")
END

IF
    Range(LastSeenBy(Myself),30)
    !GlobalTimerNotExpired("BROWNDRAGONBREATH","LOCALS")
THEN
    RESPONSE #100
        SetGlobalTimer("BROWNDRAGONBREATH","LOCALS",TWO_ROUNDS)
        ForceSpell(LastSeenBy(Myself),BROWN_DRAGON_BREATH)  // SPIN596.SPL (Brown Dragon Acid Breath)
END

IF
    GlobalTimerExpired("ElectrifiedFloorTimer","AR6005")
THEN
    RESPONSE #100
        SetGlobalTimer("ElectrifiedFloorTimer","AR6005",32)
        DisplayString(Myself,72905)  // Abazigal Shockwave
        ForceSpell(Myself,ABAZIGAL_SHOCKWAVE)  // SPIN531.SPL (Abazigal Shockwave)
        PlaySound("am6005e")
END

IF
    See(NearestEnemyOf(Myself))
    !Range(NearestEnemyOf(Myself),10)
    GlobalTimerExpired("BLUEDRAGONBREATH","GLOBAL")
THEN
    RESPONSE #100
        SetGlobal("WingBuffet","LOCALS",0)
        ForceSpell(NearestEnemyOf(Myself),BLUE_DRAGON_BREATH)  // SPIN597.SPL (Blue Dragon Lightning Breath)
        ReallyForceSpellRES("",NearestEnemyOf(Myself))
        SetGlobalTimer("BLUEDRAGONBREATH","GLOBAL",THREE_ROUNDS)
END

IF
    Global("WingBuffet","LOCALS",1)
    See(NearestEnemyOf(Myself))
    Range(LastSeenBy(Myself),11)
THEN
    RESPONSE #100
        SetGlobal("WingBuffet","LOCALS",0)
        SetGlobalTimer("BLUEDRAGONBREATH","GLOBAL",THREE_ROUNDS)
END

IF
    See(NearestEnemyOf(Myself))
    Global("Offense1","LOCALS",0)
THEN
    RESPONSE #100
        ForceSpell(NearestEnemyOf(Myself),WIZARD_GREATER_MALISON)  // SPWI412.SPL (Greater Malison)
        SetGlobal("Offense1","LOCALS",1)
END

IF
    See(NearestEnemyOf(Myself))
    Global("HoldPerson","LOCALS",0)
THEN
    RESPONSE #100
        ForceSpell(NearestEnemyOf(Myself),CLERIC_HOLD_PERSON)  // SPPR208.SPL (Hold Person)
        SetGlobal("HoldPerson","LOCALS",1)
END

IF
    Global("Silence","LOCALS",0)
    OR(2)
        See(NearestEnemyOfType([0.0.0.MAGE_ALL]))
        See(NearestEnemyOfType([0.0.0.CLERIC_ALL]))
THEN
    RESPONSE #100
        ForceSpell(LastSeenBy(Myself),DRAGON_SILENCE)  // SPIN692.SPL (Silence, 15' Radius)
        SetGlobal("Silence","LOCALS",1)
        AttackOneRound(LastSeenBy(Myself))
        AttackOneRound(LastSeenBy(Myself))
END

IF
    See(NearestEnemyOf(Myself))
    Delay(6)
    GlobalLT("CharmPerson","LOCALS",3)
THEN
    RESPONSE #100
        ForceSpell(NearestEnemyOf(Myself),WIZARD_CHARM_PERSON)  // SPWI104.SPL (Charm Person)
        IncrementGlobal("CharmPerson","LOCALS",1)
END

IF
    See(NearestEnemyOf(Myself))
THEN
    RESPONSE #100
        EquipMostDamagingMelee()
        AttackReevaluate(NearestEnemyOf(Myself),35)
END

IF
    Allegiance(Myself,ENEMY)
THEN
    RESPONSE #100
        MoveToObject(NearestEnemyOf(Myself))
END

IF
    AttackedBy([GOODCUTOFF],DEFAULT)
    Allegiance(Myself,NEUTRAL)
THEN
    RESPONSE #100
        Enemy()
END

 

 

 

Best regards,

 

Kanatha.



#10 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 18 October 2017 - 11:17 AM

Now that you have NI, you should also check Abazdrag.bcs for the same block.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#11 -Kanatha-

-Kanatha-
  • Guest

Posted 18 October 2017 - 11:49 AM

Hello again,

 

I did check the other file out, and the only difference is that the "player1" was replaced by "PC". I did changed that out, save the file and compiled, tested out the game again, and still the same bug happened.

 

Do you have any other idea ?



#12 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 18 October 2017 - 12:14 PM

Hello again,

 

I did check the other file out, and the only difference is that the "player1" was replaced by "PC". I did changed that out, save the file and compiled, tested out the game again, and still the same bug happened.

 

Do you have any other idea ?

It is tricky, since I never used this combination of mods. They may add other scripts or triggers,

 

You can find that out with NI as well.

Select Search >> Text Search >> BCS and enter  SetGlobal("Death","LOCALS",1)

This should give you all scripts that may be used in your setup to trigger the death dialogue.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#13 -Kanatha-

-Kanatha-
  • Guest

Posted 18 October 2017 - 12:15 PM

Ok, i did tried it out on the last file i found : the dragblue.bcs one and it worked because the code script were missing. :)

 

I truly thank the both of you to have helped me out finding what was going on. You are truly the best. :)

 

Best regards,

 

Kanatha.







Also tagged with one or more of these keywords: Ascension, Big picture, Glitch, Bug, Abazigal death, scs, multiple mod