Skip to content

Commit

Permalink
Merge pull request #172 from MatthewMarinets/mm/hellion_remove_unused…
Browse files Browse the repository at this point in the history
…_upgrade

sc2: Removed unused high-capacity barrels upgrade (supplanted by infe…
  • Loading branch information
Ziktofel authored Jul 18, 2024
2 parents c3f1800 + 83d3f02 commit 0d74270
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 47 deletions.
21 changes: 10 additions & 11 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ActorData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1845,8 +1845,7 @@
<ShieldFlashType value="Header"/>
</CActorAction>
<CActorBeamSimple id="AP_HellionAttackBeam" parent="GenericAttackBeam">
<On Terms="ActorCreation; ValidateUnit AP_HasHighCapacityBarrels" Send="ModelSwap HellionUpgradeAttackBeam"/>
<On Terms="Effect.InfernalFlameThrowerE.Start; EffectExecuteIndex 24" Send="RefSet ::HostImpact AP_HellionAttackBeamImpactSite"/>
<On Terms="Effect.AP_InfernalFlameThrowerE.Start; EffectExecuteIndex 24" Send="RefSet ::HostImpact AP_HellionAttackBeamImpactSite"/>
<On Terms="ActorOrphan" Send="Destroy"/>
<On Terms="ActorCreation; ValidateUnit AP_HasHellionInfernalPreIgniter" Send="ModelSwap HellionUpgradeAttackBeam"/>
<On Terms="ActorCreation; ValidateUnit AP_HasTwinLinkedFlameThrowers" Send="SetScale 1.800000,1.000000,1.000000"/>
Expand All @@ -1857,13 +1856,13 @@
<HostSiteOps Ops="SOpTargetPoint SOpShadow SOpHeightLaunch"/>
</CActorSite>
<CActorModel id="AP_HellionAttackDamageReaction" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; !ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType NotStructureTarget" Send="Create"/>
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; !ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType NotStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachHead SOpForwardCasterCenter"/>
<Model value="HellionAttackDamageReaction"/>
</CActorModel>
<CActorModel id="AP_HellionAttackDamageReactionStructure" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; !ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType IsStructureTarget" Send="Create"/>
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; !ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType IsStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachRandomDamage"/>
<Model value="SiegeTankSiegedAttackDamage"/>
Expand Down Expand Up @@ -1894,13 +1893,13 @@
<ShieldFlashType value="Header"/>
</CActorAction>
<CActorModel id="AP_HellionUpgradedAttackDamageReaction" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType NotStructureTarget" Send="Create"/>
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType NotStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachHead SOpForwardCasterCenter"/>
<Model value="HellionUpgradedAttackDamageReaction"/>
</CActorModel>
<CActorModel id="AP_HellionUpgradedAttackDamageReactionStructure" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType IsStructureTarget" Send="Create"/>
<On Terms="Effect.AP_InfernalFlameThrower.Start; At Target; ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType IsStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachRandomDamage"/>
<Model value="HellionUpgradedAttackDamageReactionStructure"/>
Expand Down Expand Up @@ -8972,13 +8971,13 @@
<ImpactMap index="None" Sound="Hellion_AttackImpact"/>
</CActorAction>
<CActorModel id="AP_HellionTankAttackFireAddition" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; !ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType NotStructureTarget" Send="Create"/>
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; !ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType NotStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachHead"/>
<Model value="HellionTankAttackFireAddition"/>
</CActorModel>
<CActorModel id="AP_HellionTankAttackFireAdditionStructure" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; !ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType IsStructureTarget" Send="Create"/>
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; !ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType IsStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachRandomDamage"/>
<Model value="HellionTankAttackFireAddition"/>
Expand All @@ -8988,17 +8987,17 @@
<On Terms="ActorCreation" Send="AnimBracketStart GL_BSD GLbirth GLstand GLdeath"/>
<On Terms="ActorCreation" Send="TimerSet 0.750000 Kill"/>
<On Terms="TimerExpired; TimerName Kill" Send="AnimBracketStop BSD"/>
<On Terms="ActorCreation; ValidateUnit HasHighCapacityBarrels" Send="ModelSwap HellionTankAttackLaunchUpgraded"/>
<On Terms="ActorCreation; ValidateUnit AP_HasHellionInfernalPreIgniter" Send="ModelSwap HellionTankAttackLaunchUpgraded"/>
<Model value="HellionTankAttackLaunch"/>
</CActorModel>
<CActorModel id="AP_HellionTankAttackUpgradedFireAddition" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType NotStructureTarget" Send="Create"/>
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType NotStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachHead"/>
<Model value="HellionTankAttackUpgradedFireAddition"/>
</CActorModel>
<CActorModel id="AP_HellionTankAttackUpgradedFireAdditionStructure" parent="ModelAnimationStyleOneShot">
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; ValidateEffect AP_HasHighCapacityBarrels; ValidateUnitType IsStructureTarget" Send="Create"/>
<On Terms="Effect.AP_HellionTankDamage.Start; At Target; ValidateEffect AP_HasHellionInfernalPreIgniter; ValidateUnitType IsStructureTarget" Send="Create"/>
<Host Subject="_Unit"/>
<HostSiteOps Ops="SOpAttachRandomDamage"/>
<Model value="HellionTankAttackUpgradedFireAddition"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@
<EditorCategories value="Race:Protoss,TechType:Ability"/>
<NodeArray index="Show" Link="AP_CountUpgradeHoverHellbatCompleteOnly"/>
</CRequirement>
<CRequirement id="AP_UseHighCapacityBarrels">
<EditorCategories value="Race:Terran,TechType:Upgrade"/>
<NodeArray index="Use" Link="AP_CountUpgradeHighCapacityBarrelsCompleteOnlyTechTreeCheat"/>
</CRequirement>
<CRequirement id="AP_ScavengingSystemsResearched">
<EditorCategories value="Race:Terran,TechType:Unit"/>
<NodeArray index="Use" Link="AP_CountUpgradeScavengingSystemsCompleteOnly"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,6 @@
<Flags index="TechTreeCheat" value="0"/>
<Count Link="AP_ClusterBomb" State="CompleteOnly"/>
</CRequirementCountUpgrade>
<CRequirementCountUpgrade id="AP_CountUpgradeHighCapacityBarrelsCompleteOnlyTechTreeCheat">
<Count Link="AP_HighCapacityBarrels" State="CompleteOnly"/>
</CRequirementCountUpgrade>
<CRequirementCountUpgrade id="AP_CountUpgradeHighCapacityBarrelsQueuedOrBetter">
<Flags index="TechTreeCheat" value="0"/>
<Count Link="AP_HighCapacityBarrels" State="QueuedOrBetter"/>
</CRequirementCountUpgrade>
<CRequirementCountUpgrade id="AP_CountUpgradeHellionCampaignInfernalPreIgniterCompleteOnly">
<Flags index="TechTreeCheat" value="0"/>
<Count Link="AP_HellionCampaignInfernalPreIgniter" State="CompleteOnly"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2128,16 +2128,6 @@
<Flags index="UpgradeCheat" value="0"/>
<EditorCategories value="Race:Terran,UpgradeType:Talents"/>
</CUpgrade>
<CUpgrade id="AP_HighCapacityBarrels">
<Flags index="UpgradeCheat" value="0"/>
<Icon value="Assets\Textures\btn-upgrade-terran-infernalpreigniter.dds"/>
<Alert value="ResearchComplete"/>
<Race value="Terr"/>
<ScoreAmount value="300"/>
<ScoreResult value="BuildOrder"/>
<EffectArray Reference="Effect,AP_InfernalFlameThrower,AttributeBonus[Light]" Value="10.000000"/>
<EditorCategories value="Race:Terran,UpgradeType:SpellResearch"/>
</CUpgrade>
<CUpgrade id="AP_TurboChargedEngines">
<Flags index="UpgradeCheat" value="0"/>
<Alert value="ResearchComplete_Terr"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@
<Find value="1"/>
<Value value="AP_NapalmFuelTanksResearched"/>
</CValidatorPlayerRequirement>
<CValidatorPlayerRequirement id="AP_HasHighCapacityBarrels">
<WhichPlayer Value="Caster"/>
<Find value="1"/>
<Value value="AP_UseHighCapacityBarrels"/>
</CValidatorPlayerRequirement>
<CValidatorPlayerRequirement id="AP_HasTwinLinkedFlameThrowers">
<Find value="1"/>
<Value value="AP_UseTwinLinkedFlameThrowers"/>
Expand Down
4 changes: 0 additions & 4 deletions Mods/ArchipelagoPlayer.SC2Mod/PreloadAssetDB.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35397,10 +35397,6 @@ Alert=UpgradeComplete
id=AP_FirebatStimpack
Actor=AP_GimbalZTurret,CommandUIHarnessAttackProtoss,CommandUIHarnessAttackTerran,CommandUIHarnessAttackZerg,CommandUIHarnessConfirmProtoss,CommandUIHarnessConfirmTerran,CommandUIHarnessConfirmZerg,CommandUIHarnessMoveProtoss,CommandUIHarnessMoveTerran,CommandUIHarnessMoveZerg,CommandUIHarnessRallyProtoss,CommandUIHarnessRallyTerran,CommandUIHarnessRallyZerg,TerrainMgr
Alert=UpgradeComplete
id=AP_HighCapacityBarrels
asset=Assets\Textures\btn-upgrade-terran-infernalpreigniter.dds
Actor=AP_GimbalZTurret,CommandUIHarnessAttackProtoss,CommandUIHarnessAttackTerran,CommandUIHarnessAttackZerg,CommandUIHarnessConfirmProtoss,CommandUIHarnessConfirmTerran,CommandUIHarnessConfirmZerg,CommandUIHarnessMoveProtoss,CommandUIHarnessMoveTerran,CommandUIHarnessMoveZerg,CommandUIHarnessRallyProtoss,CommandUIHarnessRallyTerran,CommandUIHarnessRallyZerg,TerrainMgr
Alert=ResearchComplete
id=AP_TurboChargedEngines
Actor=AP_GimbalZTurret,CommandUIHarnessAttackProtoss,CommandUIHarnessAttackTerran,CommandUIHarnessAttackZerg,CommandUIHarnessConfirmProtoss,CommandUIHarnessConfirmTerran,CommandUIHarnessConfirmZerg,CommandUIHarnessMoveProtoss,CommandUIHarnessMoveTerran,CommandUIHarnessMoveZerg,CommandUIHarnessRallyProtoss,CommandUIHarnessRallyTerran,CommandUIHarnessRallyZerg,TerrainMgr
Alert=ResearchComplete_Terr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5161,7 +5161,6 @@ Upgrade/Name/AP_HALORockets=Ripwave Missiles
Upgrade/Name/AP_HailstormMissilePods=Hellstorm Batteries
Upgrade/Name/AP_HaveCarrier=Have Carrier
Upgrade/Name/AP_HellionCampaignInfernalPreIgniter=Thermite Filaments
Upgrade/Name/AP_HighCapacityBarrels=Infernal Pre-igniter
Upgrade/Name/AP_HireDevilDogsPH=Hire Devil Dogs PH
Upgrade/Name/AP_HireDukesRevenge=Hire Dukes Revenge
Upgrade/Name/AP_HireDuskWingPH=Hire Dusk Wing PH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4552,7 +4552,6 @@ Requirement/Name/AP_UseGhostCriusSuit=Use Ghost Crius Suit
Requirement/Name/AP_UseGhostOcularImplants=Use Ghost Ocular Implants
Requirement/Name/AP_UseHailstormMissilePods=Use Hellstorm Missile Pods
Requirement/Name/AP_UseHellionInfernalPreIgniter=Use Hellion Infernal PreIgniter
Requirement/Name/AP_UseHighCapacityBarrels=Use High Capacity Barrels
Requirement/Name/AP_UseHiveMindEmulator=Use Hive Mind Emulator
Requirement/Name/AP_UseIncineratorNozzles=Use Incinerator Nozzles
Requirement/Name/AP_UseJackhammerConcussiveGrenade=Use Concussive Grenade
Expand Down Expand Up @@ -4770,8 +4769,6 @@ RequirementNode/Name/AP_CountUpgradeGhostMoebiusReactorQueuedOrBetter=CountUpgra
RequirementNode/Name/AP_CountUpgradeGhostSkinJunkerCompleteOnly=CountUpgrade(GhostSkinJunker,CompleteOnly)
RequirementNode/Name/AP_CountUpgradeHALORocketsCompleteOnly=CountUpgrade(HALORockets,CompleteOnly)
RequirementNode/Name/AP_CountUpgradeHellionCampaignInfernalPreIgniterCompleteOnly=CountUpgrade(HellionCampaignInfernalPreIgniter,CompleteOnly)
RequirementNode/Name/AP_CountUpgradeHighCapacityBarrelsCompleteOnlyTechTreeCheat=CountUpgrade(HighCapacityBarrels,CompleteOnly)[TechTreeCheat]
RequirementNode/Name/AP_CountUpgradeHighCapacityBarrelsQueuedOrBetter=CountUpgrade(HighCapacityBarrels,QueuedOrBetter)
RequirementNode/Name/AP_CountUpgradeHireDevilDogsPHCompleteOnly=CountUpgrade(HireDevilDogsPH,CompleteOnly)
RequirementNode/Name/AP_CountUpgradeHireDukesRevengeCompleteOnly=CountUpgrade(HireDukesRevenge,CompleteOnly)
RequirementNode/Name/AP_CountUpgradeHireDuskWingPHCompleteOnly=CountUpgrade(HireDuskWingPH,CompleteOnly)
Expand Down Expand Up @@ -6391,7 +6388,6 @@ Upgrade/EditorPrefix/AP_HALORockets=AP - Story Mode Tech - (Viking)
Upgrade/EditorPrefix/AP_HailstormMissilePods=AP - Story Mode Tech - (Missile Turret)
Upgrade/EditorPrefix/AP_HaveCarrier=Void - Tech Unit -
Upgrade/EditorPrefix/AP_HellionCampaignInfernalPreIgniter=AP - Story Mode Tech - (Hellion)
Upgrade/EditorPrefix/AP_HighCapacityBarrels=AP - Hellion -
Upgrade/EditorPrefix/AP_HiveMindEmulator=AP - Story Mode Lab Tech - Build
Upgrade/EditorPrefix/AP_HotSBanelingCorrosiveBile=AP - Story Mode Tech (Swarm) - Baneling -
Upgrade/EditorPrefix/AP_HotSBanelingHeal=AP -
Expand Down Expand Up @@ -6762,7 +6758,6 @@ Validator/Name/AP_GhostNotHoldingFire=Ghost Not Holding Fire
Validator/Name/AP_GhostPermanentCloakNotPurchased=Permanent Cloak Not Purchased
Validator/Name/AP_HALORocketsResearched=HALO Rockets Researched
Validator/Name/AP_HasHellionInfernalPreIgniter=Has Thermite Filaments
Validator/Name/AP_HasHighCapacityBarrels=Has High Capacity Barrels
Validator/Name/AP_HasLiberatorMorphBehavior=Has Liberator Morph Behavior
Validator/Name/AP_HasNoLiberatorYoink=Has No Liberator Yoink
Validator/Name/AP_HasShapedBlast=Has Shaped Blast
Expand Down

0 comments on commit 0d74270

Please sign in to comment.