Chronis Posted August 26, 2009 Share Posted August 26, 2009 Was looking through some of your code while working on my mod and noticed that this file was not coded to run with BGT. I have converted these area checks for my own mod and wanted to give you a copy to save you time if you decided to add BGT compatability later. I used g3_tutu_cpmvars for the conversion. IF ~!AreaCheck("%GnollStronghold%") !AreaCheck("%GnollStronghold_XvartCave%") !AreaCheck("%GnollStronghold_TomeCave%") !AreaCheck("%GnollStronghold_CrawlerCave%") !AreaCheck("%NashkelMines_L1%") !AreaCheck("%NashkelMines_L2%") !AreaCheck("%NashkelMines_L3%") !AreaCheck("%NashkelMines_L4%") !AreaCheck("%NashkelMines_MulaheysCave%") !AreaCheck("%BanditCamp%") !AreaCheck("%BanditCamp_RaemonsTent%") !AreaCheck("%BanditCamp_GnollCave%") !AreaCheck("%Ulcaster%") !AreaCheck("%UlcasterRuins%") !AreaCheck("%FirewineBridge%") !AreaCheck("%FirewineRuins%") !AreaCheck("%MutaminsGarden%") !AreaCheck("%CloakwoodDruids_PetersCave%") !AreaCheck("%CloakwoodWyverns_WyvernCave%") !AreaCheck("%Lighthouse_BlackAlaricsCave%") !AreaCheck("%FishingVillage_AnkhegPit%") !AreaCheck("%CloakwoodNestSpiderNest%") !AreaCheck("%CloakwoodMines_L1%") !AreaCheck("%CloakwoodMines_L3%") !AreaCheck("%CloakwoodMines_L4%") !AreaCheck("%CloakwoodMines_L2%") !AreaCheck("%Candlekeep_Catacombs_L1%") !AreaCheck("%Candlekeep_Catacombs_L2%") !AreaCheck("%CandlekeepCaves%") !AreaCheck("%DurlagsTower%") !AreaCheck("%DurlagsTower_Cellar%") !AreaCheck("%DurlagsTower_L1%") !AreaCheck("%DurlagsTower_L2%") !AreaCheck("%DurlagsTower_L3%") !AreaCheck("%DurlagsTower_L4%") !AreaCheck("%DurlagsTower_Chessboard%") !AreaCheck("%DurlagsTower_IceChamber%") !AreaCheck("%DurlagsTower_FireChamber%") !AreaCheck("%DurlagsTower_AirChamber%") !AreaCheck("%DurlagsTower_EarthChamber%") !AreaCheck("%DurlagsTower_D1%") !AreaCheck("%DurlagsTower_D2%") !AreaCheck("%DurlagsTower_D3%") !AreaCheck("%DurlagsTower_D4%") !AreaCheck("%DurlagsTower_CompassRoom%") !AreaCheck("% DurlagsTower_DemonknightsChamber%") !AreaCheck("%UlgothsBeard_DemonsChamber%") !AreaCheck("%UlgothsBeard_MendasHouse%") !AreaCheck("%IceIsland%") !AreaCheck("%IceIslandMaze_L1%") !AreaCheck("%IsleofBalduranN%") !AreaCheck("%IsleofBalduranS%") !AreaCheck("%WerewolfCaverns%") !AreaCheck("%IsleofBalduranNShip_D1%") !AreaCheck("%IsleofBalduranNShip_D2%") !AreaCheck("%IsleofBalduranNShip_D3%") !AreaCheck("%IsleofBalduranNShip_D4%") !AreaCheck("%IsleofBalduranNDradeelsHouse%") !AreaCheck("%Farmlands%") !AreaCheck("% SWBaldursGate_FlamingFistHQ_Cellar%") !AreaCheck("%SWBaldursGate_FlamingFistHQ_L1%") !AreaCheck("%SWBaldursGate_FlamingFistHQ_L2%") !AreaCheck("%SWBaldursGate_YeOldeInn_L1%") !AreaCheck("%SWBaldursGate_YeOldeInn_L2%") !AreaCheck("% BaldursGateDocks_OgreMagiHouse_L1%") !AreaCheck("% BaldursGateDocks_OgreMagiHouse_L2%") !AreaCheck("% BaldursGateDocks_BasiliskWarehouse%") !AreaCheck("%CentralBaldursGate_PoultryStore%") !AreaCheck("% BaldursGateDocks_IronThrone_Cellar%") !AreaCheck("%BaldursGateDocks_IronThroneRoof%") !AreaCheck("%Undercity%") !AreaCheck("%Undercity_TempleofBhaal%") !AreaCheck("%WBaldursGate_RagefastsHouse%") !AreaCheck("%NBaldursGate_RamazithsTower_L1%") !AreaCheck("%NBaldursGate_RamazithsTower_L6%") !AreaCheck("%NBaldursGate_RamazithsTower_L2%") !AreaCheck("%NBaldursGate_RamazithsTower_L3%") !AreaCheck("%NBaldursGate_RamazithsTower_L4%") !AreaCheck("%NBaldursGate_RamazithsTower_L5%") !AreaCheck("%ThievesMaze%") !AreaCheck("%NWBaldursGate_DegrodelsHouse%") !AreaCheck("%WSewers%") !AreaCheck("%CentralSewers%") !AreaCheck("%ESewers%") ~ THEN REPLY @15 GOTO 6 IF ~OR(84) !AreaCheck("%GnollStronghold%") !AreaCheck("%GnollStronghold_XvartCave%") !AreaCheck("%GnollStronghold_TomeCave%") !AreaCheck("%GnollStronghold_CrawlerCave%") !AreaCheck("%NashkelMines_L1%") !AreaCheck("%NashkelMines_L2%") !AreaCheck("%NashkelMines_L3%") !AreaCheck("%NashkelMines_L4%") !AreaCheck("%NashkelMines_MulaheysCave%") !AreaCheck("%BanditCamp%") !AreaCheck("%BanditCamp_RaemonsTent%") !AreaCheck("%BanditCamp_GnollCave%") !AreaCheck("%Ulcaster%") !AreaCheck("%UlcasterRuins%") !AreaCheck("%FirewineBridge%") !AreaCheck("%FirewineRuins%") !AreaCheck("%MutaminsGarden%") !AreaCheck("%CloakwoodDruids_PetersCave%") !AreaCheck("%CloakwoodWyverns_WyvernCave%") !AreaCheck("%Lighthouse_BlackAlaricsCave%") !AreaCheck("%FishingVillage_AnkhegPit%") !AreaCheck("%CloakwoodNestSpiderNest%") !AreaCheck("%CloakwoodMines_L1%") !AreaCheck("%CloakwoodMines_L3%") !AreaCheck("%CloakwoodMines_L4%") !AreaCheck("%CloakwoodMines_L2%") !AreaCheck("%Candlekeep_Catacombs_L1%") !AreaCheck("%Candlekeep_Catacombs_L2%") !AreaCheck("%CandlekeepCaves%") !AreaCheck("%DurlagsTower%") !AreaCheck("%DurlagsTower_Cellar%") !AreaCheck("%DurlagsTower_L1%") !AreaCheck("%DurlagsTower_L2%") !AreaCheck("%DurlagsTower_L3%") !AreaCheck("%DurlagsTower_L4%") !AreaCheck("%DurlagsTower_Chessboard%") !AreaCheck("%DurlagsTower_IceChamber%") !AreaCheck("%DurlagsTower_FireChamber%") !AreaCheck("%DurlagsTower_AirChamber%") !AreaCheck("%DurlagsTower_EarthChamber%") !AreaCheck("%DurlagsTower_D1%") !AreaCheck("%DurlagsTower_D2%") !AreaCheck("%DurlagsTower_D3%") !AreaCheck("%DurlagsTower_D4%") !AreaCheck("%DurlagsTower_CompassRoom%") !AreaCheck("% DurlagsTower_DemonknightsChamber%") !AreaCheck("%UlgothsBeard_DemonsChamber%") !AreaCheck("%UlgothsBeard_MendasHouse%") !AreaCheck("%IceIsland%") !AreaCheck("%IceIslandMaze_L1%") !AreaCheck("%IsleofBalduranN%") !AreaCheck("%IsleofBalduranS%") !AreaCheck("%WerewolfCaverns%") !AreaCheck("%IsleofBalduranNShip_D1%") !AreaCheck("%IsleofBalduranNShip_D2%") !AreaCheck("%IsleofBalduranNShip_D3%") !AreaCheck("%IsleofBalduranNShip_D4%") !AreaCheck("%IsleofBalduranNDradeelsHouse%") !AreaCheck("%Farmlands%") !AreaCheck("% SWBaldursGate_FlamingFistHQ_Cellar%") !AreaCheck("%SWBaldursGate_FlamingFistHQ_L1%") !AreaCheck("%SWBaldursGate_FlamingFistHQ_L2%") !AreaCheck("%SWBaldursGate_YeOldeInn_L1%") !AreaCheck("%SWBaldursGate_YeOldeInn_L2%") !AreaCheck("% BaldursGateDocks_OgreMagiHouse_L1%") !AreaCheck("% BaldursGateDocks_OgreMagiHouse_L2%") !AreaCheck("% BaldursGateDocks_BasiliskWarehouse%") !AreaCheck("%CentralBaldursGate_PoultryStore%") !AreaCheck("% BaldursGateDocks_IronThrone_Cellar%") !AreaCheck("%BaldursGateDocks_IronThroneRoof%") !AreaCheck("%Undercity%") !AreaCheck("%Undercity_TempleofBhaal%") !AreaCheck("%WBaldursGate_RagefastsHouse%") !AreaCheck("%NBaldursGate_RamazithsTower_L1%") !AreaCheck("%NBaldursGate_RamazithsTower_L6%") !AreaCheck("%NBaldursGate_RamazithsTower_L2%") !AreaCheck("%NBaldursGate_RamazithsTower_L3%") !AreaCheck("%NBaldursGate_RamazithsTower_L4%") !AreaCheck("%NBaldursGate_RamazithsTower_L5%") !AreaCheck("%ThievesMaze%") !AreaCheck("%NWBaldursGate_DegrodelsHouse%") !AreaCheck("%WSewers%") !AreaCheck("%CentralSewers%") !AreaCheck("%ESewers%") IF ~OR(59) AreaCheck("%GnollStronghold%") AreaCheck("%GnollStronghold_XvartCave%") AreaCheck("%GnollStronghold_TomeCave%") AreaCheck("%GnollStronghold_CrawlerCave%") AreaCheck("%NashkelMines_L1%") AreaCheck("%NashkelMines_L2%") AreaCheck("%NashkelMines_L3%") AreaCheck("%NashkelMines_L4%") AreaCheck("%NashkelMines_MulaheysCave%") AreaCheck("%BanditCamp%") AreaCheck("%BanditCamp_RaemonsTent%") AreaCheck("%BanditCamp_GnollCave%") AreaCheck("%Ulcaster%") AreaCheck("%UlcasterRuins%") AreaCheck("%FirewineBridge%") AreaCheck("%FirewineRuins%") AreaCheck("%MutaminsGarden%") AreaCheck("%CloakwoodDruids_PetersCave%") AreaCheck("%CloakwoodWyverns_WyvernCave%") AreaCheck("%Lighthouse_BlackAlaricsCave%") AreaCheck("%FishingVillage_AnkhegPit%") AreaCheck("%CloakwoodNestSpiderNest%") AreaCheck("%CloakwoodMines_L1%") AreaCheck("%CloakwoodMines_L3%") AreaCheck("%CloakwoodMines_L4%") AreaCheck("%CloakwoodMines_L2%") AreaCheck("%Candlekeep_Catacombs_L1%") AreaCheck("%Candlekeep_Catacombs_L2%") AreaCheck("%CandlekeepCaves%") AreaCheck("%DurlagsTower%") AreaCheck("%DurlagsTower_Cellar%") AreaCheck("%DurlagsTower_L1%") AreaCheck("%DurlagsTower_L2%") AreaCheck("%DurlagsTower_L3%") AreaCheck("%DurlagsTower_L4%") AreaCheck("%DurlagsTower_Chessboard%") AreaCheck("%DurlagsTower_IceChamber%") AreaCheck("%DurlagsTower_FireChamber%") AreaCheck("%DurlagsTower_AirChamber%") AreaCheck("%DurlagsTower_EarthChamber%") AreaCheck("%DurlagsTower_D1%") AreaCheck("%DurlagsTower_D2%") AreaCheck("%DurlagsTower_D3%") AreaCheck("%DurlagsTower_D4%") AreaCheck("%DurlagsTower_CompassRoom%") AreaCheck("%DurlagsTower_DemonknightsChamber%") AreaCheck("%UlgothsBeard_DemonsChamber%") AreaCheck("%UlgothsBeard_MendasHouse%") AreaCheck("%IceIsland%") AreaCheck("%IceIslandMaze_L1%") AreaCheck("%IsleofBalduranN%") AreaCheck("%IsleofBalduranS%") AreaCheck("%WerewolfCaverns%") AreaCheck("%IsleofBalduranNShip_D1%") AreaCheck("%IsleofBalduranNShip_D2%") AreaCheck("%IsleofBalduranNShip_D3%") AreaCheck("%IsleofBalduranNShip_D4%") AreaCheck("%IsleofBalduranNDradeelsHouse%") AreaCheck("%Farmlands%") ~ THEN REPLY @26 GOTO 9 IF ~OR(25) AreaCheck("% SWBaldursGate_FlamingFistHQ_Cellar%") AreaCheck("%SWBaldursGate_FlamingFistHQ_L1%") AreaCheck("%SWBaldursGate_FlamingFistHQ_L2%") AreaCheck("%SWBaldursGate_YeOldeInn_L1%") AreaCheck("%SWBaldursGate_YeOldeInn_L2%") AreaCheck("% BaldursGateDocks_OgreMagiHouse_L1%") AreaCheck("% BaldursGateDocks_OgreMagiHouse_L2%") AreaCheck("% BaldursGateDocks_BasiliskWarehouse%") AreaCheck("%CentralBaldursGate_PoultryStore%") AreaCheck("% BaldursGateDocks_IronThrone_Cellar%") AreaCheck("%BaldursGateDocks_IronThroneRoof%") AreaCheck("%Undercity%") AreaCheck("%Undercity_TempleofBhaal%") AreaCheck("%WBaldursGate_RagefastsHouse%") AreaCheck("%NBaldursGate_RamazithsTower_L1%") AreaCheck("%NBaldursGate_RamazithsTower_L6%") AreaCheck("%NBaldursGate_RamazithsTower_L2%") AreaCheck("%NBaldursGate_RamazithsTower_L3%") AreaCheck("%NBaldursGate_RamazithsTower_L4%") AreaCheck("%NBaldursGate_RamazithsTower_L5%") AreaCheck("%ThievesMaze%") AreaCheck("%NWBaldursGate_DegrodelsHouse%") AreaCheck("%WSewers%") AreaCheck("%CentralSewers%") AreaCheck("%ESewers%") ~ THEN REPLY @26 GOTO 10 Link to comment
cmorgan Posted August 26, 2009 Share Posted August 26, 2009 Hey, thank you! We currently do not use this file on BGT installs - the whole "wait at an inn" component of BG1NPC is set to only run on Tutu installs. I think it was because it makes significant changes to the related BioWare NPC post-joined files, and there were similar components available using BGT mods and/or SCS on BGT. If you end up converting the whole component to work on BGT for your own use, or reworking it into your own mod in a way that can be duplicated, it would be very cool if you would share it once you have it working. No one has tackled this since Pro5, Ascension64, Chevalier, and I dropped work on the component in favor of allowing other BGT mods to handle it. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.