Skip to content

Commit

Permalink
Fix: Grant Faction Inherent Upgrades By Dummy Instead Of By Building,…
Browse files Browse the repository at this point in the history
… Version 2 (#827)
  • Loading branch information
commy2 authored Aug 5, 2022
1 parent 66eb0e3 commit 8f79de3
Show file tree
Hide file tree
Showing 8 changed files with 442 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1033,15 +1033,6 @@ Object Chem_GLACommandCenter
ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave
End

;Toxin General gets these for free.
Behavior = GrantUpgradeCreate ModuleTag_23
UpgradeToGrant = Upgrade_GLAToxinShells
End

Behavior = GrantUpgradeCreate ModuleTag_24
UpgradeToGrant = Upgrade_GLAAnthraxBeta
End

Geometry = BOX
GeometryMajorRadius = 65.0
GeometryMinorRadius = 65.0
Expand Down
6 changes: 0 additions & 6 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1169,12 +1169,6 @@ Object Demo_GLACommandCenter
ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave
End

; DemoGen gets free booby trap power.
Behavior = GrantUpgradeCreate ModuleTag_23
UpgradeToGrant = Upgrade_GLAInfantryRebelBoobyTrapAttack
ExemptStatus = UNDER_CONSTRUCTION
End

Geometry = BOX
GeometryMajorRadius = 65.0
GeometryMinorRadius = 65.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1948,14 +1948,6 @@ Object GC_Chem_GLACommandCenter
ReferenceObject = GLASneakAttackTunnelNetwork ;So we know what the final product is for script placement calculations
End

Behavior = GrantUpgradeCreate ModuleTag_22
UpgradeToGrant = Upgrade_GLAToxinShells
End

Behavior = GrantUpgradeCreate ModuleTag_23
UpgradeToGrant = Upgrade_GLAAnthraxBeta
End

Geometry = BOX
GeometryMajorRadius = 65.0
GeometryMinorRadius = 65.0
Expand Down
15 changes: 0 additions & 15 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/InfantryGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4290,11 +4290,6 @@ Object Infa_ChinaCommandCenter
OCLAdjustPositionToPassable = Yes ;Like RA2, shift target to passable cell so we don't land in water and on cliffs.
End

Behavior = GrantUpgradeCreate ModuleTag_28
UpgradeToGrant = Upgrade_Nationalism
ExemptStatus = UNDER_CONSTRUCTION
End

Behavior = OCLSpecialPower ModuleTag_29
SpecialPowerTemplate = Early_SuperweaponFrenzy
UpgradeOCL = Early_SCIENCE_Frenzy3 SUPERWEAPON_Frenzy3
Expand Down Expand Up @@ -9812,11 +9807,6 @@ Object Infa_ChinaBarracks
TriggeredBy = Upgrade_ChinaEMPMines
End

Behavior = GrantUpgradeCreate ModuleTag_27
UpgradeToGrant = Upgrade_Nationalism
ExemptStatus = UNDER_CONSTRUCTION
End

Geometry = BOX
GeometryMajorRadius = 36.0
GeometryMinorRadius = 44.0
Expand Down Expand Up @@ -10867,11 +10857,6 @@ Object Infa_ChinaWarFactory
TriggeredBy = Upgrade_ChinaEMPMines
End

Behavior = GrantUpgradeCreate ModuleTag_27
UpgradeToGrant = Upgrade_Nationalism
ExemptStatus = UNDER_CONSTRUCTION
End

Geometry = BOX
GeometryMajorRadius = 57.0
GeometryMinorRadius = 61.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12812,9 +12812,6 @@ Object Slth_GLAInfantryRebel
Behavior = WeaponBonusUpgrade ModuleTag_09
TriggeredBy = Upgrade_GLAAPBullets
End
Behavior = GrantUpgradeCreate ModuleTag_10
UpgradeToGrant = Upgrade_GLACamouflage
End

Behavior = SquishCollide ModuleTag_11
;nothing
Expand Down
Loading

0 comments on commit 8f79de3

Please sign in to comment.