argent77 Posted November 7 Posted November 7 (edited) A Modder's Guide to SoD's "bd_plot" variable The global "bd_plot" is the primary variable that tracks the general plot progress of the whole "Siege of Dragonspear" main story. The following table lists all known variable states and their associated plot stages. The Value column lists the individual values assigned to the "bd_plot" variable. Location lists the resources where the variable is updated. Plot Stage provides a short description of the situation when the variable is updated. Value Location Plot Stage 1 BD0120.BCS (Tomb Safehouse, first floor) Right after the start of the campaign, before the player gains control. Initial party composition is determined if current party size < 6. Continuing Chapter 7 from BG1. 2 BDINTRO.BCS (cutscene) Cutscene between Korlasz followers in the opening dungeon. It is immediately followed by Imoen's initial dialog. 10 BDIMOEN.DLG (Imoen) Set in opening dungeon when Imoen's initial dialog ends. 20 BDKORDEF.DLG (Sarevok follower) (probably unused) Seems to be set when you ambush Korlasz directly. 25 BDKORLAS.DLG (Korlasz), BDSHKORL.BCS (Korlasz) Set when you confront Korlasz in her hideout. 26 BDKORLAS.DLG (Korlasz) Set when Korlasz surrenders to the Flaming Fist. 27 BDKORLAS.DLG (Korlasz) Set when you accept Korlasz's surrender. 29 BD0130.BCS (Tomb Safehouse, second floor) Set if you killed Korlasz in her hideout. 35 BDFF1000.DLG (Flaming Fist Healer), BDIMOEN.DLG (Imoen) (probably unused) Triggered after killing Korlasz when Flaming Fist suggests to return to the Ducal Palace. 40 BDIMOEN.DLG (Imoen), BDFF1000.DLG (Flaming Fist Healer, unused) After dealing with Korlasz when you decide to return to the Ducal Palace. 50 BDDEBUG.BCS apparently unused 51 BD0103.BCS (Ducal Palace, third floor) Resting in the Ducal Palace after returning from Korlasz's hideout. Imoen wakes you because of noises in the room. 52 BD0102.BCS (Ducal Palace, first floor), BDSCHAEL.DLG (Corwin) Meeting with the Grand Dukes after the assassination attempt. 54 BDSCHAEL.DLG (Corwin) When you decide to go to rest in the Ducal Palace, right before heading to Dragonspear. 55 BDCUT05.BCS (cutscene while resting in the Ducal Palace) After Skie told you that she joined the Flaming Fist. 56 BD0102.BCS (Ducal Palace, first floor) Meeting the Grand Dukes after waking up from rest, right before heading to Dragonspear. 57 BD0101.BCS (Ducal Palace, leaving BG) At the palace gates, when leaving the city for the crusade. 60 BDSCHAEL.DLG (Corwin) At the palace gates, right before triggering the cutscene for the Flaming Fist to march through the city. 61 BDSCHAEL.DLG (Corwin) While marching through the city, dealing with the claim that you are a child of Bhaal: You convinced everyone that you are the hero of Baldur's Gate. 62 BDSCHAEL.DLG (Corwin) While marching through the city, dealing with the claim that you are a child of Bhaal: You ignored the claim. 63 BDSCHAEL.DLG (Corwin) While marching through the city, dealing with the claim that you are a child of Bhaal: You confessed that you are a child of Bhaal. 65 BD0021.BCS (cutscene: marching through BG city) Marching through the city after having dealt with the claim that you are a child of Bhaal. 100 BDCUT10.BCS (cutscene: Hooded Man interrogates Caelar about her motives...) Set when arriving at Coast Way Crossing. Chapter 8 starts. 101 BDCORWIN.DLG (Corwin) Corwin's initial dialog after arriving at Coast Way Crossing. 144 BDCRUS10.BCS (creature script for crusaders) Set by the crusaders at the Coast Way blockade (NE corner of Coast Way Crossing map). 145 BDIVANN.DLG (Ivann) and BDWILHM.DLG (a crusader guard) Set when talking to the crusaders at the Coast Way blockade. 156 BDIVANN.DLG (Ivann), BD1000.BCS (Coast Way Crossing) Set after the bridge has been destroyed. 160 BD1000.BCS (Coast Way Crossing) Cutscene start where Hephernaan and Caelar Argent arrive at the destroyed bridge. 161 BDCAELAR.DLG (Caelar Argent) Caelar speaks with Hephernaan about what happened at the bridge. 163 BDCAELAR.DLG (Caelar Argent) Caelar announces her intent to speak with the protagonist. 170 BDCAELAR.DLG (Caelar Argent) Caelar talks to the protagonist directly. 175 BDBENCE.DLG (Bence Duncan), BDCORWIJ.DLG and BDCORWIN.DLG (Corwin) Conversation with Corwin or Bence: Party decides to change travel route towards Boareskyr Bridge. 199 BDDEBUG.BCS apparently unused 200 BD7100.BCS (Troll Forest) Cutscene with Caelar at Dragonspear Castle (letters of condolences, ...). Chapter 9 starts. 201 BDBENCE.DLG (Bence Duncan) Arrived at Troll Forest. Talk with Bence about how to approach Bridgefort. 240 BD2000.BCS (Boareskyr Bridge & Bridgefort) Party surrenders the fort and their inhabitants to the crusaders. 250 BD2000.BCS (Boareskyr Bridge & Bridgefort) Party attacks the crusaders. 260 BD2000.BCS (Boareskyr Bridge & Bridgefort) Bridgefort sabotages the supplies and surrenders fort to the crusaders. 270 BD2000.BCS (Boareskyr Bridge & Bridgefort) Bridgefort surrenders fort to the crusaders. 280 BD2000.BCS (Boareskyr Bridge & Bridgefort) Some crusaders attempt to destroy the Boareskyr Bridge after the crusaders in front of the fort were defeated. 281 BDFISTM1.DLG (a Flaming Fist Mage) FF Mage informs the party that crusaders attempt to destroy the Boareskyr Bridge. 293 BD2000.BCS (Boareskyr Bridge & Bridgefort) Boareskyr Bridge has been saved from destruction. 294 BDBENCE.DLG (Bence Duncan), BDSKIE.DLG (Skie) Bence Duncan decides to move on to the Coalition Camp. 295 BDBOARB.BCS (region script) Bhaal's blood is revealed on the Boareskyr Bridge (cinematic, markings on the bridge). 299 BDBOARB2.BCS Party fails to save the Boareskyr Bridge from being destroyed by the crusaders (Game Over). 300 BD3000.BCS (Coalition Camp) Arrived at Coalition Camp. Cutscene with Caelar and Ashatiel at Dragonspear Castle exterior occurs: Talk about the Bhaalspawn (Why does he still refuse me? ...). Chapter 10 starts. 301 BDNEDERL.DLG (Marshal Nederlok) Introduction talk with Marshal Nederlok at the entrance of the Coalition Camp. 305 BDDELANC.DLG (Torsin de Lancie) Initial conversation and coordination of the party's next actions. 310 BD3000.BCS (Coalition Camp) After the talk with Torsin de Lancie: Opens up a couple of side quests and spawns Phossey Dugdeep for the main quest. 311 BD4000.BCS (Castle Dragonspear), BD5000.BCS (Underground River exterior), BD7300.BCS (Dead Man's Pass), BD7400.BCS (Bloodbark Grove) Set when one of these areas are entered. 312 BD3000.BCS (Coalition Camp) Triggers a talk with Bence Duncan if you returned to the Coalition Camp before completing the Underground River business (only if having Corwin in the party or Corwin being dead). 313 BD3000.BCS (Coalition Camp) Triggers a talk with Corwin if you returned to the Coalition Camp before completing the Underground River business (only if Corwin is not in the party). 315 BDBENCE.DLG (Bence Duncan), BDCORWIN.DLG (Corwin) Set in the actual dialog when triggered by bd_plot=312 or bd_plot=313. Both people remind you to take care of the Underground River business quickly. 350 BD4300.BCS (Dragonspear Castle basement), BDBELBEN.DLG (Belben) Set when you arrived in the Dragonspear Castle basement and alerted the guards in front of the elevator. 360 BD4300.BCS (Dragonspear Castle basement) Set when you poisoned the supplies in the Dragonspear Castle basement. 361 BD4300EN.BCS (creature script), BDCRUZ01.DLG (Crusader Sergeant) Set when detected and attacked by the remaining guards in a side room of the Dragonspear Castle basement. 365 BDHEPHER.DLG (Hephernaan), BDESSERI.DLG (Esserin), BDOLVENA.DLG (Olvenaun) Set when detected by Hephernaan and his lackeys in the Dragonspear Castle basement. 370 BDHEPHER.DLG (Hephernaan) Dragonspear Castle basement: Hephernaan teleports away and threatens you to return with reinforcements. 380 BD5200.BCS (The Warrens) Set when returning to The Warrens after taking care of the Dragonspear Castle basement business. 385 BD3000.BCS (Coalition Camp) Set when returned to the Coalition Camp. A Waterdhavian Guard informs you to travel to Dead Man's Pass for a parley between the commanders and Caelar Argent. 390 BD7300.BCS (Dead Man's Pass) When arrived at Dead Man's Pass: Triggers a cutscene that initiates the parley between the party, the commanders and Caelar Argent. 391 BDDELANC.DLG (Torsin de Lancie) Set at Dead Man's Pass, after Caelar told of her intention to "borrow" the Bhaalspawn for a while. 392 BDDELANC.DLG (Torsin de Lancie) Set at Dead Man's Pass, when the party or the commanders refused Caelar's offer to "borrow" the Bhaalspawn. 393 BDDELANC.DLG (Torsin de Lancie), BDNEDERL.DLG (Marshal Nederlok), BDSTONEH.DLG (General Stonehand) Set at Dead Man's Pass, after the parley with Caelar ended and the commanders decide to prepare for war. 394 BDDEBUG.BCS apparently unused 395 BD3000.BCS (Coalition Camp) Set when returning to the Coalition Camp. The camp is set up for the upcoming battle: Civilians are removed, more soldiers are spawned, etc. 401 BD3000.BCS (Coalition Camp) Set after the battle against the crusade at the Coalition Camp has been won. 402 BDNEDERL.DLG (Marshal Nederlok) At the Coalition Camp entrance: Marshal Nederlok instructs the party to rendezvous with the siege commanders at Dragonspear's gates. 405 BD3000.BCS (Coalition Camp), BDDEBUG.BCS Set after the talk with Marshal Nederlok. Some worldmap travel locations are removed or made inaccessible (e.g. Underground River Entrance or Bloodbark Grove). 406 BD4000.BCS (Dragonspear Castle, exterior) Triggers a cutscene when arrived at the Dragonspear's gates: Script sets up the battlefield with a great number of crusaders and soldiers, and a short conversation between Caelar and Hephernaan takes place. Chapter 11 starts. 410 BDDELANC.DLG (Torsin de Lancie) At Dragonspear's gates: Torsin de Lancie asks you about your success in the Dragonspear Castle basement. 415 BDHELDMO.DLG (Held Moran) Convince the crusaders to fire the catapult at the gates. 416 BDDSGAT1.BCS (region script) Cutscene: Destroying the front gates by the catapult (see bd_plot=415). 420 BDHENSLE.DLG (Dahk Hensleigh) Command word is spoken to activate the explosives you placed in the Dragonspear Castle basement to destroy the gates. 421 BDDSGAT1.BCS (region script) Cutscene: Destroying the front gates by the explosives (see bd_plot=420). 425 BDSTONEH.DLG (General Stonehand) General Stonehand orders to attack the crusaders on the castle grounds. 435 BDEXDUEL.BCS (region script) Ashatiel makes her intentions known to fight a one-on-one duel with the protagonist. 440 BD4000.BCS (Dragonspear Castle, exterior) Set after the protagonist defeats Ashatiel in the duel. 450 BDDSGAT2.BCS (region script) Caelar Argent makes another speech before retreating to the castle interior. 479 BDDEBUG.BCS apparently unused 480 BD4300.BCS (Dragonspear Castle basement) Setting up the castle basement map for the next plot point (deactivating triggers, spawning creatures, etc.) 485 BDBENCE.DLG (Bence Duncan) Bence instructs the party to enter the castle vault. 486 BDCAELAR.DLG (Caelar Argent) Caelar talks to the party in the castle vault and springs the trap. 490 BDCAELAR.DLG (Caelar Argent) Hephernaan reveals his treachery and opens the portal to the Nine Hells. 495 BD4300.BCS (Dragonspear Castle basement) Hephernaan and Caelar entered the portal. You are able to do the same. 500 BD4400.BCS (Avernus) The party has entered Avernus. Chapter 12 starts. 505 BDILLARU.DLG (Illaruel) You encounter some crusaders locked in battle with Illaruel and a group of devils. 510 BD4500.BCS (Avernus Bridge) You arrived on the Avernus Bridge map. 530 BDHELLBR.BCS (region script), BDCAELAR.DLG (Caelar Argent) Caelar and crusaders defeat some demons in a cutscene and move on into the basalt tower. 540 BDDOORAV.BCS (region script) Thrix gates in and talks to the protagonist. 555 BD4601.BCS (Avernus elevator) Party uses the elevator in the basalt tower. 560 BD4601.BCS (Avernus elevator), BD4700.BCS (Avernus Roof) Party arrives at the Avernus Roof and witnesses Caelar's crusaders being slaughtered. 565 BDBELHIF.DLG (Belhifet) It's exposition time. Belhifet explains the true motives behind Caelar's crusade. 570 BD4700.BCS (Avernus Roof) Belhifet is defeated (any outcome). Aun Argent's cage door is unlocked. 572 BDAUN.DLG (Aun Argent) Talk with Aun Argent if Caelar died in the battle. 573 BDAUN.DLG (Aun Argent) Talk with Aun Argent if Caelar survived the battle. 575 BDAUN.DLG (Aun Argent) Continuing talk with Aun Argent about past events. 577 BDAUN.BCS (Aun Argent), BDCAELAR.BCS (Caelar Argent) Set after the talk with Aun Argent to advance the plot. 580 BDAUN.DLG (Aun Argent), BDCAELAR.DLG (Caelar Argent) Talk about how to reseal the portal. 581 BDAUN.DLG (Aun Argent), BDCAELAR.DLG (Caelar Argent) Caelar (if alive) or Aun (if Caelar is dead) sacrifice themselves to reseal the portal in Avernus. Party is about to leave the place. 586 BD4300.BCS (Dragonspear Castle basement) Party arrived in Dragonspear Castle basement. Aun Argent and/or party members may say a line or two. 587 BD4300.BCS (Dragonspear Castle basement) Map is set up for the next plot stage. 590 BDDELANC.DLG (Torsin de Lancie), BDDEBUG.BCS Party is welcomed back by the soldiers. Preparing for victory party. 591 BDBENCE.DLG (Bence Duncan) After the disturbing events at night: Bence discovers the protagonist next to the dead body of Skie Silvershield. 592 BDBENCE.DLG (Bence Duncan), BDCORWIJ.DLG (Corwin), BDDEBUG.BCS You are placed under arrest for murder of Skie Silvershield. Chapter 13 starts. 600 BD0112.BCS (Baldur's Gate East) Public trial starts. 605 BDBENCE.DLG (Bence Duncan), BDCUT62.BCS (cutscene) You are imprisoned in a cell in the Flaming Fist HQ. 615 BD0104.BCS (Flaming Fist HQ), PLAYER1D.BCS Cutscene: Breakout or release from prison cell is triggered. 620 BDBELT.BCS (Belt), BDMERCZ.DLG (Thief) A dialog is initiated that results in leaving the prison cell (breakout or release). 621 BDMERCZ.BCS (Thief) Breakout: After leaving the prison cell, door to the Flaming Fist HQ basement is unlocked. 622 BDMERCZ.DLG (Thief) Breakout: "Thief" tells you to leave the FF HQ. 623 BDMERCZ.DLG (Thief) Breakout: Another talk with "Thief" to get you moving out of FF HQ. 625 BD0105.BCS (Flaming Fist HQ, basement) Breakout or release: Set to advance the plot. 630 BDMERCZ.BCS (Thief) Breakout: Set when "Thief" is near the secret door in the Flaming Fist HQ basement. 631 BDMERCZ.BCS (Thief) Breakout: Set when the secret door in the Flaming Fist HQ basement is open. 632 BDFF1709.DLG (Flaming Fist Mercenary), BDMERCZ.DLG (Thief) Breakout: Set when you are told how to leave the city. Release: Set when you are asked whether to leave the city. 640 BD6000.BCS (Abandoned Sewers & Caverns) Set when you enter the sewers. 650 BDBENCE.DLG (Bence Duncan) Breakout: You are intercepted by Bence and Corwin in the sewers. 655 BDFF1709.DLG (Flaming Fist Mercenary) Release: FF Mercenary tells you to follow him through the sewers, followed by a cutscene. 660 BD6200.BCS (Sewers Exit, outdoor) Set when you enter the area. Sets up Imoen and canon party members. 665 BDIMOEN.DLG (Imoen) Imoen approaches you in the Sewers Exit area and starts a dialog. 670 BDIMOEN.DLG (Imoen) Imoen (and canon party) is ready to leave the city behind. 671 BD6200.BCS (Sewers Exit, outdoor) Initiates a cutscene where protagonist, Imoen and canon party members leave the current area. 675 BDIMOEN.DLG (Imoen) Arrived in BD6100 (Ambush area): Imoen suggests to take a short break. 680 BD6100.BCS (Ambush area) Set after entering the area. Ambush is initiated (fog appears, ...) 690 BD6100.BCS (Ambush area) The ambush is carried out. The end. 700 K#TELBGT.BCS (EET helper creature script) EET-specific: Set when the transition to BG2:SoA is triggered. The current value of the "bd_plot" variable can be determined in the game with the following console command if debug mode is enabled: C:GetGlobal("bd_plot","GLOBAL") Edited November 9 by argent77 Quote
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.