From a7761e6d6e6ff3fe067f2ca8f64253f8ecfa5af7 Mon Sep 17 00:00:00 2001 From: alanblack <31726131+alanblack166@users.noreply.github.com> Date: Wed, 25 Aug 2021 16:29:04 +0300 Subject: [PATCH 1/3] Updated Airforce General.ini Airforce General buildings should now have the building scaffold fix. --- .../Data/INI/Object/AirforceGeneral.ini | 139 +++++++++++++++++- 1 file changed, 132 insertions(+), 7 deletions(-) diff --git a/Patch104pZH/GameFilesEdited/Data/INI/Object/AirforceGeneral.ini b/Patch104pZH/GameFilesEdited/Data/INI/Object/AirforceGeneral.ini index 9276c4cea..2b1709ad8 100644 --- a/Patch104pZH/GameFilesEdited/Data/INI/Object/AirforceGeneral.ini +++ b/Patch104pZH/GameFilesEdited/Data/INI/Object/AirforceGeneral.ini @@ -8499,7 +8499,14 @@ Object AirF_AmericaCommandCenter BuildCost = 2000 BuildTime = 45.0 ; in seconds EnergyProduction = 0 ;Command Center should be free - CommandSet = AirF_AmericaCommandCenterCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 300.0 ; Shroud clearing distance ShroudClearingRange = 300 ArmorSet @@ -8699,6 +8706,20 @@ Object AirF_AmericaCommandCenter TriggeredBy = Upgrade_AmericaMOAB End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = AirF_AmericaCommandCenterCommandSet + End + Geometry = BOX GeometryMajorRadius = 60.0 GeometryMinorRadius = 70.0 @@ -11843,7 +11864,14 @@ Object AirF_AmericaStrategyCenter Prerequisites Object = AirF_AmericaWarFactory AirF_AmericaAirfield End - CommandSet = AirF_AmericaStrategyCenterCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + BuildCost = 2500 BuildTime = 60.0 ; in seconds EnergyProduction = -2 @@ -12022,6 +12050,19 @@ Object AirF_AmericaStrategyCenter CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = AirF_AmericaStrategyCenterCommandSet + End Geometry = BOX GeometryMajorRadius = 62.0 @@ -13139,7 +13180,14 @@ Object AirF_AmericaAirfield BuildCost = 800 BuildTime = 30.0 ; in seconds EnergyProduction = -1 - CommandSet = AirF_AmericaAirfieldCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -13220,6 +13268,20 @@ Object AirF_AmericaAirfield ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = AirF_AmericaAirfieldCommandSet + End + Geometry = BOX GeometryMajorRadius = 112.0 GeometryMinorRadius = 74.0 @@ -13955,7 +14017,14 @@ Object AirF_AmericaSupplyCenter RefundValue = 400 ; With nothing (or zero) listed, we sell for half price. BuildTime = 10.0 ; in seconds EnergyProduction = -1 - CommandSet = AirF_AmericaSupplyCenterCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -14041,7 +14110,21 @@ Object AirF_AmericaSupplyCenter ReallyDamagedParticleSystem2 = Bone:None RandomBone:No PSys:StructureTransitionSmallExplosion ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave End - + + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = AirF_AmericaSupplyCenterCommandSet + End + Geometry = BOX GeometryMajorRadius = 44.0 GeometryMinorRadius = 45.0 @@ -15177,7 +15260,14 @@ Object AirF_AmericaBarracks BuildCost = 600 BuildTime = 10.0 ; in seconds EnergyProduction = 0 - CommandSet = AirF_AmericaBarracksCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -15260,6 +15350,20 @@ Object AirF_AmericaBarracks ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = AirF_AmericaBarracksCommandSet + End + Geometry = BOX GeometryMajorRadius = 55.0 GeometryMinorRadius = 45.0 @@ -16159,7 +16263,14 @@ Object AirF_AmericaWarFactory BuildTime = 15.0 ; in seconds EnergyProduction = -1 - CommandSet = AirF_AmericaWarFactoryCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -16249,6 +16360,20 @@ Object AirF_AmericaWarFactory ;nothing End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = AirF_AmericaWarFactoryCommandSet + End + Geometry = BOX GeometryMajorRadius = 53.0 GeometryMinorRadius = 60.0 From ce8d4ac7a3e91cc3e5f3ffd2ad8d6f1983e375d5 Mon Sep 17 00:00:00 2001 From: alanblack <31726131+alanblack166@users.noreply.github.com> Date: Wed, 25 Aug 2021 16:31:25 +0300 Subject: [PATCH 2/3] Update ChemicalGeneral.ini Toxin General buildings should now have the building scaffold fix. --- .../Data/INI/Object/ChemicalGeneral.ini | 137 +++++++++++++++++- 1 file changed, 131 insertions(+), 6 deletions(-) diff --git a/Patch104pZH/GameFilesEdited/Data/INI/Object/ChemicalGeneral.ini b/Patch104pZH/GameFilesEdited/Data/INI/Object/ChemicalGeneral.ini index a1b00df50..6bc294551 100644 --- a/Patch104pZH/GameFilesEdited/Data/INI/Object/ChemicalGeneral.ini +++ b/Patch104pZH/GameFilesEdited/Data/INI/Object/ChemicalGeneral.ini @@ -724,7 +724,14 @@ Object Chem_GLACommandCenter BuildCost = 2000 BuildTime = 45.0 ; in seconds EnergyProduction = 0 ;Command center should be free - CommandSet = Chem_GLACommandCenterCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 300.0 ; Shroud clearing distance ShroudClearingRange = 300 ArmorSet @@ -873,6 +880,20 @@ Object Chem_GLACommandCenter UpgradeToGrant = Upgrade_GLAAnthraxBeta End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Chem_GLACommandCenterCommandSet + End + Geometry = BOX GeometryMajorRadius = 65.0 GeometryMinorRadius = 65.0 @@ -2219,7 +2240,14 @@ Object Chem_GLABlackMarket BuildCost = 2500 BuildTime = 30.0 ; in seconds EnergyProduction = 0 - CommandSet = Chem_GLABlackMarketCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -2305,6 +2333,20 @@ Object Chem_GLABlackMarket ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Chem_GLABlackMarketCommandSet + End + Geometry = BOX GeometryMajorRadius = 35.0 GeometryMinorRadius = 35.0 @@ -5846,7 +5888,14 @@ Object Chem_GLAPalace Armor = GLAUpgradedStructureArmor DamageFX = StructureDamageFXNoShake End - CommandSet = Chem_GLAPalaceCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + ExperienceValue = 300 300 300 300 ; Experience point value at each level ; *** AUDIO Parameters *** @@ -5922,6 +5971,20 @@ Object Chem_GLAPalace ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Chem_GLAPalaceCommandSet + End + Geometry = BOX GeometryMajorRadius = 43.0 GeometryMinorRadius = 58.0 @@ -6508,7 +6571,14 @@ Object Chem_GLASupplyStash RefundValue = 650 ; With nothing (or zero) listed, we sell for half price. BuildTime = 10.0 ; in seconds EnergyProduction = 0 - CommandSet = Chem_GLASupplyStashCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -6609,6 +6679,20 @@ Object Chem_GLASupplyStash ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Chem_GLASupplyStashCommandSet + End + ;Dont forget to edit the GLA Hole geometry for this object too Geometry = BOX GeometryMajorRadius = 36.0 @@ -7876,7 +7960,14 @@ Object Chem_GLABarracks BuildCost = 500 BuildTime = 10.0 ; in seconds EnergyProduction = 0 - CommandSet = Chem_GLABarracksCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -7973,6 +8064,19 @@ Object Chem_GLABarracks ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Chem_GLABarracksCommandSet + End Geometry = BOX GeometryMajorRadius = 42.0 @@ -9471,7 +9575,14 @@ Object Chem_GLAArmsDealer BuildCost = 2500 BuildTime = 15.0 ; in seconds EnergyProduction = 0 - CommandSet = Chem_GLAArmsDealerCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -9563,6 +9674,20 @@ Object Chem_GLAArmsDealer ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Chem_GLAArmsDealerCommandSet + End + Geometry = BOX GeometryMajorRadius = 40.0 GeometryMinorRadius = 62.0 From c13287f85c65bbc6585d4eafee00b30198e0a866 Mon Sep 17 00:00:00 2001 From: alanblack <31726131+alanblack166@users.noreply.github.com> Date: Wed, 25 Aug 2021 16:31:40 +0300 Subject: [PATCH 3/3] Update DemoGeneral.ini Demo General buildings should now have the building scaffold fix. --- .../Data/INI/Object/DemoGeneral.ini | 138 +++++++++++++++++- 1 file changed, 132 insertions(+), 6 deletions(-) diff --git a/Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini b/Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini index 293f9d2d7..dd9c1e64c 100644 --- a/Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini +++ b/Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini @@ -858,7 +858,14 @@ Object Demo_GLACommandCenter BuildCost = 2000 BuildTime = 45.0 ; in seconds EnergyProduction = 0 ;Command center should be free - CommandSet = Demo_GLACommandCenterCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 300.0 ; Shroud clearing distance ShroudClearingRange = 300 ArmorSet @@ -1005,6 +1012,20 @@ Object Demo_GLACommandCenter ExemptStatus = UNDER_CONSTRUCTION End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Demo_GLACommandCenterCommandSet + End + Geometry = BOX GeometryMajorRadius = 65.0 GeometryMinorRadius = 65.0 @@ -2351,7 +2372,14 @@ Object Demo_GLABlackMarket BuildCost = 2500 BuildTime = 30.0 ; in seconds EnergyProduction = 0 - CommandSet = Demo_GLABlackMarketCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -2437,6 +2465,20 @@ Object Demo_GLABlackMarket ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Demo_GLABlackMarketCommandSet + End + Geometry = BOX GeometryMajorRadius = 35.0 GeometryMinorRadius = 35.0 @@ -6578,7 +6620,14 @@ Object Demo_GLAPalace Armor = GLAUpgradedStructureArmor DamageFX = StructureDamageFXNoShake End - CommandSet = Demo_GLAPalaceCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + ExperienceValue = 300 300 300 300 ; Experience point value at each level ; *** AUDIO Parameters *** @@ -6652,6 +6701,20 @@ Object Demo_GLAPalace ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Demo_GLAPalaceCommandSet + End + Geometry = BOX GeometryMajorRadius = 43.0 GeometryMinorRadius = 58.0 @@ -7238,7 +7301,14 @@ Object Demo_GLASupplyStash RefundValue = 650 ; With nothing (or zero) listed, we sell for half price. BuildTime = 10.0 ; in seconds EnergyProduction = 0 - CommandSet = Demo_GLASupplyStashCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -7338,6 +7408,20 @@ Object Demo_GLASupplyStash ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionSmallShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Demo_GLASupplyStashCommandSet + End + ;Dont forget to edit the GLA Hole geometry for this object too Geometry = BOX GeometryMajorRadius = 36.0 @@ -8605,7 +8689,14 @@ Object Demo_GLABarracks BuildCost = 500 BuildTime = 10.0 ; in seconds EnergyProduction = 0 - CommandSet = Demo_GLABarracksCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 WeaponSet @@ -8732,6 +8823,20 @@ Object Demo_GLABarracks CommandSet = Demo_GLAWorkerCommandSet End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Demo_GLABarracksCommandSet + End + Geometry = BOX GeometryMajorRadius = 42.0 GeometryMinorRadius = 52.0 @@ -10229,7 +10334,14 @@ Object Demo_GLAArmsDealer BuildCost = 2500 BuildTime = 15.0 ; in seconds EnergyProduction = 0 - CommandSet = Demo_GLAArmsDealerCommandSet + + ; @bugfix - hanfield + ; Changed CommandSet to EmptyCommandSet to make in-progress buildings not have a commandset. + ; This prevents building units from scaffolds. + ; 25/08/2021 + + CommandSet = EmptyCommandSet + VisionRange = 200.0 ; Shroud clearing distance ShroudClearingRange = 200 ArmorSet @@ -10321,6 +10433,20 @@ Object Demo_GLAArmsDealer ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave End + ; @bugfix - hanfield + ; These modules will grant the building its intended commandset once construction is complete. + ; 25/08/2021 + + Behavior = GrantUpgradeCreate ModuleTag_ScaffoldBuildFix1 + UpgradeToGrant = Upgrade_DummyUpgrade + ExemptStatus = UNDER_CONSTRUCTION + End + + Behavior = CommandSetUpgrade ModuleTag_ScaffoldBuildFix2 + TriggeredBy = Upgrade_DummyUpgrade + CommandSet = Demo_GLAArmsDealerCommandSet + End + Geometry = BOX GeometryMajorRadius = 40.0 GeometryMinorRadius = 62.0