Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

332 KB
Raw Blame
; Zero Hour Reforged data fixes for the nine generals, loaded after BalanceReforged.ini.
;
; These are mistakes in EA's 1.04 data, not balance: a general's copy of a unit that missed a
; change the original got, a module pointing at the wrong faction's sound, an upgrade icon naming
; an upgrade that does not exist. Every block edits a template in place the way the balance file
; does. A module is swapped with ReplaceModule and a new tag, and a WeaponSet or ArmorSet with the
; same Conditions as one the object already has takes its place.
;
; A ReplaceModule of an AIUpdate module (ChinookAIUpdate, TransportAIUpdate, AIUpdateInterface,
; DeployStyleAIUpdate, ...) keeps the object's Locomotor lines without re-stating them. Those sets are
; stored in the AIUpdate module's data - ThingTemplate's "Locomotor" field parses into
; AIUpdateModuleData - and ThingTemplate::parseReplaceModule gives a replacement that parsed none the
; replaced module's sets back (upstream's carry-over). A Locomotor line here as well is a second
; specification of a set, which the parser refuses, and the game stops loading this file. Before the
; carry-over the Chinooks crashed every platform when a Supply Center made one, and the Humvees, ECM
; tanks and Nuke Cannons lost theirs the same way (port defect 33). Tests/run_locomotor_check.sh fails on any unit
; that has one in EA's data and none here.
;
; This file lands in the multiplayer INI checksum.

; ==== Air Force General ==========================================================================

; The Avenger wears AntiAirVehicle, the armor the Avenger had before 1.04. Every other Avenger
; wears AvengerArmor, which takes 23% from jet missiles instead of 30%.
; Without CANNOT_RETALIATE it drives at whatever shoots it, painting the attacker with a target
; laser that does no damage. The USA Avenger has had the flag since 1.04.

Object AirF_AmericaTankAvenger
  KindOf = +CANNOT_RETALIATE
  ArmorSet
    Conditions      = None
    Armor           = AvengerArmor
    DamageFX        = TankDamageFX
  End
End

; The King Raptor buys Countermeasures and gets the flares, and its ArmorUpgrade raises the
; PLAYER_UPGRADE flag, but it has no armor set for that flag, so the armor half of the upgrade
; never reaches it. The USA Raptor has both halves.

Object AirF_AmericaJetRaptor
  ArmorSet
    Conditions      = PLAYER_UPGRADE
    Armor           = CountermeasuresAirplaneArmor
    DamageFX        = None
  End
End

; The Supply Center is marked FS_POWER, so a Saboteur that runs into it steals the money and
; blacks out the whole base for the power plant sabotage time as well.

Object AirF_AmericaSupplyCenter
  KindOf        = -FS_POWER
  UpgradeCameo1 = None
End

; The Air Force General cannot buy Composite Armor, yet the Microwave Tank shows its icon.

Object AirF_AmericaTankMicrowave
  UpgradeCameo5 = None
End

; The Aurora's burning gas cloud has one hit point and nothing marking it untargetable, so enemy
; defences turn and fire at it.

Object AirF_AuroraBombGas
  KindOf = +UNATTACKABLE
End

; Killed by Anthrax Gamma, these soldiers scream with the GLA voice.

Object AirF_AmericaInfantryRanger
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object AirF_AmericaInfantryColonelBurton
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

; ==== Laser General ==============================================================================

Object Lazr_AmericaTankAvenger
  KindOf = +CANNOT_RETALIATE
End

; The Laser Humvee plays the Humvee door sound and the building garrison sound on every soldier
; who gets in or out. The USA Humvee plays only the first.

Object Lazr_AmericaVehicleHumvee
  ReplaceModule ModuleTag_05
    Behavior = TransportContain ModuleTag_05_Fix
      PassengersAllowedToFire = Yes
      Slots                   = 5
      DamagePercentToUnits    = 100%
      AllowInsideKindOf       = INFANTRY
      ExitDelay               = 250
      NumberOfExitPaths       = 3
      GoAggressiveOnExit      = Yes
    End
  End
End

; Against aircraft, and when helping another turret, the Laser Turret draws the Paladin's point
; defense beam and plays its pulse. Its ground shot draws its own beam.

Weapon Lazr_PatriotMissileWeaponAir
  LaserName = Lazr_PatriotLaserBeam
  FireFX    = Lazr_WeaponFX_LaserCrusader
End

Weapon Lazr_PatriotMissileAssistWeapon
  LaserName = Lazr_PatriotLaserBeam
  FireFX    = Lazr_WeaponFX_LaserCrusader
End

Object Lazr_AmericaInfantryRanger
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Lazr_AmericaInfantryColonelBurton
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Lazr_AmericaInfantryMissileDefender
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Lazr_AmericaInfantryPathfinder
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Lazr_AmericaInfantryPilot
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

; ==== Superweapon General ========================================================================

Object SupW_AmericaTankAvenger
  KindOf = +CANNOT_RETALIATE
End

Object SupW_AmericaTankMicrowave
  UpgradeCameo5 = None
End

; The Alpha Aurora's fuel air cloud, the same one hit point target as the Air Force Aurora's.

Object SupW_AuroraFuelAirGas
  KindOf = +UNATTACKABLE
End

Object SupW_AmericaInfantryRanger
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object SupW_AmericaInfantryColonelBurton
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object SupW_AmericaInfantryMissileDefender
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object SupW_AmericaInfantryPathfinder
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object SupW_AmericaInfantryPilot
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinUSA
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

; The EMP Patriot's missiles leave this sphere where they burst. Patch 1.01 commented out its
; DoesNotAffect = ALLIES, so it spared only its owner's buildings: its own and allied vehicles in the
; sphere were disabled, and its own and allied aircraft in the sky were killed. The EMP mines' sphere
; kept the line. EMPUpdate now asks it before the aircraft branch.

Object EMPPatriotEffectSpheroid
  ReplaceModule ModuleTag_02
    Behavior = EMPUpdate ModuleTag_02_Fix
      DisabledDuration    = 10000
      Lifetime            = 500
      StartFadeTime       = 100
      StartScale          = 0.01
      TargetScaleMin      = 2.00
      TargetScaleMax      = 3.00
      StartColor          = R:0 G:255 B:255
      EndColor            = R:0 G:128 B:128
      EffectRadius        = 10
      DisableFXParticleSystem = EMPSparks
      DoesNotAffect       = ALLIES
      DoesNotAffectMyOwnBuildings = Yes
    End
  End
End

; ==== All three USA generals =====================================================================

; The plain Chinook's unload times went from 3000/1250 to 2900/1200, the old values left in its
; comments. The generals' Chinooks kept 3000/1250, and the Laser and Superweapon supply centers
; spawn them, so both generals' whole income ran slower.
;
; The replaced ChinookAIUpdate keeps the object's two Locomotor sets (see the top of this file, port defect 33):
; without them the first Chinook a Supply Center makes crashes every platform, in
; ChinookAIUpdate::isAllowedToAdjustDestination on its NULL getCurLocomotor().

Object AirF_AmericaVehicleChinook
  ReplaceModule ModuleTag_07
    Behavior = ChinookAIUpdate ModuleTag_07_Fix
      MaxBoxes                    = 8
      SupplyCenterActionDelay     = 2900
      SupplyWarehouseActionDelay  = 1200
      SupplyWarehouseScanDistance = 700
      SuppliesDepletedVoice       = ChinookVoiceSuppliesDepleted
      NumRopes                    = 4
      PerRopeDelayMin             = 900
      PerRopeDelayMax             = 1500
      RopeWidth                   = 0.5
      RopeColor                   = R:0 G:0 B:0
      RopeWobbleLen               = 10
      RopeWobbleAmplitude         = 0.25
      RopeWobbleRate              = 180
      RopeFinalHeight             = 10
      RappelSpeed                 = 30
      MinDropHeight               = 40
      UpgradedSupplyBoost         = 60
    End
  End
  UpgradeCameo1 = Upgrade_AmericaSupplyLines
End

Object Lazr_AmericaVehicleChinook
  ReplaceModule ModuleTag_07
    Behavior = ChinookAIUpdate ModuleTag_07_Fix
      MaxBoxes                    = 8
      SupplyCenterActionDelay     = 2900
      SupplyWarehouseActionDelay  = 1200
      SupplyWarehouseScanDistance = 700
      SuppliesDepletedVoice       = ChinookVoiceSuppliesDepleted
      NumRopes                    = 4
      PerRopeDelayMin             = 900
      PerRopeDelayMax             = 1500
      RopeWidth                   = 0.5
      RopeColor                   = R:0 G:0 B:0
      RopeWobbleLen               = 10
      RopeWobbleAmplitude         = 0.25
      RopeWobbleRate              = 180
      RopeFinalHeight             = 10
      RappelSpeed                 = 30
      MinDropHeight               = 40
      UpgradedSupplyBoost         = 60
    End
  End
  UpgradeCameo1 = Upgrade_AmericaSupplyLines
End

Object SupW_AmericaVehicleChinook
  ReplaceModule ModuleTag_07
    Behavior = ChinookAIUpdate ModuleTag_07_Fix
      MaxBoxes                    = 8
      SupplyCenterActionDelay     = 2900
      SupplyWarehouseActionDelay  = 1200
      SupplyWarehouseScanDistance = 700
      SuppliesDepletedVoice       = ChinookVoiceSuppliesDepleted
      NumRopes                    = 4
      PerRopeDelayMin             = 900
      PerRopeDelayMax             = 1500
      RopeWidth                   = 0.5
      RopeColor                   = R:0 G:0 B:0
      RopeWobbleLen               = 10
      RopeWobbleAmplitude         = 0.25
      RopeWobbleRate              = 180
      RopeFinalHeight             = 10
      RappelSpeed                 = 30
      MinDropHeight               = 40
      UpgradedSupplyBoost         = 60
    End
  End
  UpgradeCameo1 = Upgrade_AmericaSupplyLines
End

; Supply Lines pays through the Chinook's UpgradedSupplyBoost. Its icon sat on the Supply
; Center, which nothing in the upgrade touches, and every Chinook had its icon line commented out.

Object AmericaVehicleChinook
  UpgradeCameo1 = Upgrade_AmericaSupplyLines
End

Object AFG_AmericaVehicleChinook
  UpgradeCameo1 = Upgrade_AmericaSupplyLines
End

Object AmericaSupplyCenter
  UpgradeCameo1 = None
End

Object Lazr_AmericaSupplyCenter
  UpgradeCameo1 = None
End

Object SupW_AmericaSupplyCenter
  UpgradeCameo1 = None
End

; A Humvee that auto-acquires while an attack order runs re-targets at its anti-air range, so a
; TOW Humvee hit ground units from further out than its ground weapon reaches. The same generals'
; Tomahawk already carries NotWhileAttacking.

Object AirF_AmericaVehicleHumvee
  ReplaceModule ModuleTag_03
    Behavior = TransportAIUpdate ModuleTag_03_Fix
      Turret
        TurretTurnRate        = 180
        RecenterTime          = 5000
        ControlledWeaponSlots = PRIMARY SECONDARY TERTIARY
      End
      AutoAcquireEnemiesWhenIdle = Yes NotWhileAttacking
      MoodAttackCheckRate        = 250
    End
  End
End

Object Lazr_AmericaVehicleHumvee
  ReplaceModule ModuleTag_03
    Behavior = TransportAIUpdate ModuleTag_03_Fix
      Turret
        TurretTurnRate        = 180
        RecenterTime          = 5000
        ControlledWeaponSlots = PRIMARY SECONDARY TERTIARY
      End
      AutoAcquireEnemiesWhenIdle = Yes NotWhileAttacking
      MoodAttackCheckRate        = 250
    End
  End
End

Object SupW_AmericaVehicleHumvee
  ReplaceModule ModuleTag_03
    Behavior = TransportAIUpdate ModuleTag_03_Fix
      Turret
        TurretTurnRate        = 180
        RecenterTime          = 5000
        ControlledWeaponSlots = PRIMARY SECONDARY TERTIARY
      End
      AutoAcquireEnemiesWhenIdle = Yes NotWhileAttacking
      MoodAttackCheckRate        = 250
    End
  End
End

; A heroic pilot switches to BasicHumanLocomotorPlus25, speed 25 against the 30 of his normal
; locomotor, so the one rank a pilot keeps made him slower. His icons show Chemical Suits and
; Advanced Training, and nothing on him reacts to either.

Object AmericaInfantryPilot
  UpgradeCameo1 = None
  UpgradeCameo2 = None
  RemoveModule ModuleTag_10
End

; These pilot ejections have no DeathTypes, so a tank crushed flat by an Overlord still let a
; pilot out. The same generals' Avenger, Humvee and Tomahawk exclude CRUSHED and SPLATTED.

Object AirF_AmericaTankMicrowave
  ReplaceModule ModuleTag_17
    Behavior = EjectPilotDie ModuleTag_17_Fix
      DeathTypes         = ALL -CRUSHED -SPLATTED
      GroundCreationList = OCL_EjectPilotOnGround
      AirCreationList    = OCL_EjectPilotViaParachute
      ExemptStatus       = HIJACKED
      VeterancyLevels    = ALL -REGULAR
    End
  End
  SoundMoveStart        = MicrowaveTankMoveStart
  SoundMoveStartDamaged = MicrowaveTankMoveStart
End

Object Lazr_AmericaTankMicrowave
  ReplaceModule ModuleTag_17
    Behavior = EjectPilotDie ModuleTag_17_Fix
      DeathTypes         = ALL -CRUSHED -SPLATTED
      GroundCreationList = OCL_EjectPilotOnGround
      AirCreationList    = OCL_EjectPilotViaParachute
      ExemptStatus       = HIJACKED
      VeterancyLevels    = ALL -REGULAR
    End
  End
  SoundMoveStart        = MicrowaveTankMoveStart
  SoundMoveStartDamaged = MicrowaveTankMoveStart
End

Object SupW_AmericaTankMicrowave
  ReplaceModule ModuleTag_17
    Behavior = EjectPilotDie ModuleTag_17_Fix
      DeathTypes         = ALL -CRUSHED -SPLATTED
      GroundCreationList = OCL_EjectPilotOnGround
      AirCreationList    = OCL_EjectPilotViaParachute
      ExemptStatus       = HIJACKED
      VeterancyLevels    = ALL -REGULAR
    End
  End
  SoundMoveStart        = MicrowaveTankMoveStart
  SoundMoveStartDamaged = MicrowaveTankMoveStart
End

Object Lazr_AmericaTankCrusader
  ReplaceModule ModuleTag_17
    Behavior = EjectPilotDie ModuleTag_17_Fix
      DeathTypes         = ALL -CRUSHED -SPLATTED
      GroundCreationList = OCL_EjectPilotOnGround
      AirCreationList    = OCL_EjectPilotViaParachute
      ExemptStatus       = HIJACKED
      VeterancyLevels    = ALL -REGULAR
    End
  End
End

; The level 3 Spectre has no voices at all and fires its howitzer with the Crusader's cannon
; sound. No Spectre sets a portrait although all three pictures are in the art, and none shows
; the Countermeasures it reacts to.

Object AirF_AmericaJetSpectreGunship1
  SelectPortrait = SASpGunship_L
  UpgradeCameo1  = Upgrade_AmericaCountermeasures
End

Object AirF_AmericaJetSpectreGunship2
  SelectPortrait = SASpGunship2_L
  UpgradeCameo1  = Upgrade_AmericaCountermeasures
End

Object AirF_AmericaJetSpectreGunship3
  SelectPortrait = SASpGunship3_L
  UpgradeCameo1  = Upgrade_AmericaCountermeasures
  VoiceSelect    = SpectreGunshipVoiceSelect
  VoiceAttack    = SpectreGunshipVoiceAttack
  UnitSpecificSounds
    Afterburner  = SpectreGunshipAfterburnerLoop
    HowitzerFire = SpectreHowitzerWeapon
  End
End

Object AmericaJetSpectreGunship
  SelectPortrait = SASpGunship2_L
  UpgradeCameo1  = Upgrade_AmericaCountermeasures
End

; Fire Base, Patriot and Strategy Center each have two UnitSpecificSounds blocks, and the second
; one wipes the first, so the dozer builds them with no construction loop.

Object AmericaFireBase
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object AirF_AmericaFireBase
  VoiceSelect = FireBaseSelect
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object Lazr_AmericaFireBase
  VoiceSelect = FireBaseSelect
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object SupW_AmericaFireBase
  VoiceSelect = FireBaseSelect
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object AmericaPatriotBattery
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object AirF_AmericaPatriotBattery
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object Lazr_AmericaPatriotBattery
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object SupW_AmericaPatriotBattery
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object AmericaStrategyCenter
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object AirF_AmericaStrategyCenter
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object Lazr_AmericaStrategyCenter
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

Object SupW_AmericaStrategyCenter
  UnitSpecificSounds
    UnderConstruction = UnderConstructionLoop
    TurretMoveStart   = NoSound
    TurretMoveLoop    = NoSound
  End
End

; The Stealth Fighter warns of low fuel in the Aurora pilot's voice; StealthFighterVoiceLowFuel
; is defined and unused.

Object AmericaJetStealthFighter
  UnitSpecificSounds
    VoiceCreate   = StealthFighterVoiceCreate
    SoundEject    = PilotSoundEject
    VoiceEject    = PilotVoiceEject
    Afterburner   = RaptorAfterburner
    VoiceLowFuel  = StealthFighterVoiceLowFuel
    VoiceGarrison = StealthFighterVoiceMove
  End
End

Object AirF_AmericaJetStealthFighter
  UnitSpecificSounds
    VoiceCreate   = StealthFighterVoiceCreate
    SoundEject    = PilotSoundEject
    VoiceEject    = PilotVoiceEject
    Afterburner   = RaptorAfterburner
    VoiceLowFuel  = StealthFighterVoiceLowFuel
    VoiceGarrison = StealthFighterVoiceMove
  End
End

Object Lazr_AmericaJetStealthFighter
  UnitSpecificSounds
    VoiceCreate   = StealthFighterVoiceCreate
    SoundEject    = PilotSoundEject
    VoiceEject    = PilotVoiceEject
    Afterburner   = RaptorAfterburner
    VoiceLowFuel  = StealthFighterVoiceLowFuel
    VoiceGarrison = StealthFighterVoiceMove
  End
End

Object SupW_AmericaJetStealthFighter
  UnitSpecificSounds
    VoiceCreate   = StealthFighterVoiceCreate
    SoundEject    = PilotSoundEject
    VoiceEject    = PilotVoiceEject
    Afterburner   = RaptorAfterburner
    VoiceLowFuel  = StealthFighterVoiceLowFuel
    VoiceGarrison = StealthFighterVoiceMove
  End
End

; The generals' Sentry Drones start moving in silence; the plain one has its own sound.

Object AirF_AmericaVehicleSentryDrone
  SoundMoveStart = SentryDroneMoveStart
End

Object Lazr_AmericaVehicleSentryDrone
  SoundMoveStart = SentryDroneMoveStart
End

Object SupW_AmericaVehicleSentryDrone
  SoundMoveStart = SentryDroneMoveStart
End

; A Sentry Drone with its gun goes invisible after two seconds parked, and from then on it watched
; enemies drive past without firing a shot. EA left Stealthed commented out of its
; AutoAcquireEnemiesWhenIdle line, and a stealthed unit without it never picks an idle target
; (AIUpdateInterface::getNextMoodTarget); the line's own comment says what the flag was for, and
; the Boss general's drone and the Pathfinder have it. Firing still lifts the stealth
; (StealthForbiddenConditions = FIRING_PRIMARY). The same module for all four drones, with the flag.

Object AmericaVehicleSentryDrone
  ReplaceModule ModuleTag_04
    Behavior = DeployStyleAIUpdate ModuleTag_04_Reforged
      Turret
        TurretTurnRate        = 180
        TurretPitchRate       = 180
        FirePitch             = 0
        AllowsPitch           = No
        RecenterTime          = 1000
        ControlledWeaponSlots = PRIMARY
        NaturalTurretAngle    = 0
        InitiallyDisabled     = No
        MinIdleScanInterval   = 250
        MaxIdleScanInterval   = 250
        MinIdleScanAngle      = 0
        MaxIdleScanAngle      = 360
      End
      AutoAcquireEnemiesWhenIdle      = Yes Stealthed
      PackTime                        = 1000
      UnpackTime                      = 1000
      TurretsFunctionOnlyWhenDeployed = Yes
      TurretsMustCenterBeforePacking  = Yes
    End
  End
End

Object AirF_AmericaVehicleSentryDrone
  ReplaceModule ModuleTag_04
    Behavior = DeployStyleAIUpdate ModuleTag_04_Reforged
      Turret
        TurretTurnRate        = 180
        TurretPitchRate       = 180
        FirePitch             = 0
        AllowsPitch           = No
        RecenterTime          = 1000
        ControlledWeaponSlots = PRIMARY
        NaturalTurretAngle    = 0
        InitiallyDisabled     = No
        MinIdleScanInterval   = 250
        MaxIdleScanInterval   = 250
        MinIdleScanAngle      = 0
        MaxIdleScanAngle      = 360
      End
      AutoAcquireEnemiesWhenIdle      = Yes Stealthed
      PackTime                        = 1000
      UnpackTime                      = 1000
      TurretsFunctionOnlyWhenDeployed = Yes
      TurretsMustCenterBeforePacking  = Yes
    End
  End
End

Object Lazr_AmericaVehicleSentryDrone
  ReplaceModule ModuleTag_04
    Behavior = DeployStyleAIUpdate ModuleTag_04_Reforged
      Turret
        TurretTurnRate        = 180
        TurretPitchRate       = 180
        FirePitch             = 0
        AllowsPitch           = No
        RecenterTime          = 1000
        ControlledWeaponSlots = PRIMARY
        NaturalTurretAngle    = 0
        InitiallyDisabled     = No
        MinIdleScanInterval   = 250
        MaxIdleScanInterval   = 250
        MinIdleScanAngle      = 0
        MaxIdleScanAngle      = 360
      End
      AutoAcquireEnemiesWhenIdle      = Yes Stealthed
      PackTime                        = 1000
      UnpackTime                      = 1000
      TurretsFunctionOnlyWhenDeployed = Yes
      TurretsMustCenterBeforePacking  = Yes
    End
  End
End

Object SupW_AmericaVehicleSentryDrone
  ReplaceModule ModuleTag_04
    Behavior = DeployStyleAIUpdate ModuleTag_04_Reforged
      Turret
        TurretTurnRate        = 180
        TurretPitchRate       = 180
        FirePitch             = 0
        AllowsPitch           = No
        RecenterTime          = 1000
        ControlledWeaponSlots = PRIMARY
        NaturalTurretAngle    = 0
        InitiallyDisabled     = No
        MinIdleScanInterval   = 250
        MaxIdleScanInterval   = 250
        MinIdleScanAngle      = 0
        MaxIdleScanAngle      = 360
      End
      AutoAcquireEnemiesWhenIdle      = Yes Stealthed
      PackTime                        = 1000
      UnpackTime                      = 1000
      TurretsFunctionOnlyWhenDeployed = Yes
      TurretsMustCenterBeforePacking  = Yes
    End
  End
End

; The Ambulance earns experience faster with Advanced Training and has no icon for it.

Object AmericaVehicleMedic
  UpgradeCameo4 = Upgrade_AmericaAdvancedTraining
End

Object AirF_AmericaVehicleMedic
  UpgradeCameo4 = Upgrade_AmericaAdvancedTraining
End

Object Lazr_AmericaVehicleMedic
  UpgradeCameo4 = Upgrade_AmericaAdvancedTraining
End

Object SupW_AmericaVehicleMedic
  UpgradeCameo4 = Upgrade_AmericaAdvancedTraining
End

; After Chemical Suits a Ranger's armor set drops its DamageFX, and after Countermeasures the
; support planes' do too, so hits on them show nothing. Burton and the Missile Defender keep
; InfantryDamageFX in theirs.

Object AmericaInfantryRanger
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = ChemSuitHumanArmor
    DamageFX   = InfantryDamageFX
  End
End

Object AirF_AmericaInfantryRanger
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = ChemSuitHumanArmor
    DamageFX   = InfantryDamageFX
  End
End

Object Lazr_AmericaInfantryRanger
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = ChemSuitHumanArmor
    DamageFX   = InfantryDamageFX
  End
End

Object SupW_AmericaInfantryRanger
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = ChemSuitHumanArmor
    DamageFX   = InfantryDamageFX
  End
End

Object AmericaJetB52
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = CountermeasuresAirplaneArmor
    DamageFX   = TankDamageFX
  End
End

Object AmericaJetCargoPlane
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = CountermeasuresAirplaneArmor
    DamageFX   = TankDamageFX
  End
End

Object AmericaJetB3
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = CountermeasuresAirplaneArmor
    DamageFX   = TankDamageFX
  End
End

Object AirF_AmericaJetB3
  ArmorSet
    Conditions = PLAYER_UPGRADE
    Armor      = CountermeasuresAirplaneArmor
    DamageFX   = TankDamageFX
  End
End

; The Laser General's Avenger gains 100 health from Composite Armor and shows no icon for it.

Object Lazr_AmericaTankAvenger
  UpgradeCameo5 = Upgrade_AmericaCompositeArmor
End

; The Alpha Aurora has a recorded select and attack set of its own, defined and never named.

Object SupW_AmericaJetAurora
  VoiceSelect = FuelAirAuroraVoiceSelect
  VoiceAttack = FuelAirAuroraVoiceAttack
End

; ==== Tank General ===============================================================================

; The Emperor's loudspeaker waits for Upgrade_ChinaOverlordPropagandaTower, an object upgrade
; the Emperor is never given, so it never heals faster or pulses harder after Subliminal
; Messaging. The Overlord's speaker tower waits for Subliminal Messaging.

; Its Gattling upgrade creates the plain China turret; Tank_OCL_OverlordGattlingCannon and the
; Veteran Tank_ChinaTankOverlordGattlingCannon it makes were written for it and never named. The
; speaker-tower icon names an object upgrade the Emperor cannot be given, and ordering it onto an
; aircraft said nothing.

Object Tank_ChinaTankEmperor
  UpgradeCameo4  = None
  UpgradeCameo5  = Upgrade_ChinaSubliminalMessaging
  VoiceAttackAir = OverlordTankVoiceAttack
  ReplaceModule ModuleTag_07
    Behavior = ObjectCreationUpgrade ModuleTag_07_Fix
      UpgradeObject = Tank_OCL_OverlordGattlingCannon
      TriggeredBy   = Upgrade_ChinaOverlordGattlingCannon
    End
  End
  ReplaceModule ModulePropaganda_04
    Behavior = PropagandaTowerBehavior ModulePropaganda_04_Fix
      Radius                        = 150.0
      DelayBetweenUpdates           = 2000
      HealPercentEachSecond         = 1%
      PulseFX                       = FX_OverlordPropagandaTowerPropagandaPulse
      UpgradeRequired               = Upgrade_ChinaSubliminalMessaging
      UpgradedHealPercentEachSecond = 2%
      UpgradedPulseFX               = FX_OverlordPropagandaTowerSubliminalPulse
      AffectsSelf                   = Yes
    End
  End
End

; The Airfield sells the Helix Napalm Bomb but the Helix never shows its icon. The Infantry
; General's Helix does. The plain China Helix has the same gap.

Object Tank_ChinaVehicleHelix
  UpgradeCameo1 = Upgrade_HelixNapalmBomb
End

Object ChinaVehicleHelix
  UpgradeCameo1 = Upgrade_HelixNapalmBomb
End

Object Tank_ChinaInfantryRedguard
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Tank_ChinaInfantryTankHunter
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Tank_ChinaInfantryHacker
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Tank_ChinaInfantryBlackLotus
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinFemale
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

; ==== Infantry General ===========================================================================

; The Minigunner has no SquishCollide, the module every other soldier uses to die under a tank,
; so vehicles push it aside instead of running it over.

Object Infa_ChinaInfantryMiniGunner
  UpgradeCameo3  = Upgrade_Nationalism
  VoiceAttackAir = RedMinigunnerVoiceAttack
  AddModule
    Behavior = SquishCollide ModuleTag_Squish_Fix
    End
  End
End

; The Tank Hunter's first icon names UPGRADE:Fanaticism, the upgrade's text label rather than
; the upgrade, so the slot stays empty. Nationalism, which the Infantry General gets for free,
; has no icon either.

Object Infa_ChinaInfantryTankHunter
  UpgradeCameo1 = Upgrade_Nationalism
  UpgradeCameo2 = Upgrade_Fanaticism
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Infa_ChinaInfantryHacker
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

; Every Nuke Cannon carries the Neutron Shell in its only weapon set, with FROM_AI among the
; sources allowed to pick it. A cannon on guard or attack move, or one the computer owns, can fire
; neutron shells before anyone has paid for them. The shell now sits in the upgraded set alone.

Object Infa_ChinaVehicleNukeLauncher
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY NukeCannonGun
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
  End
  WeaponSet
    Conditions            = PLAYER_UPGRADE
    Weapon                = PRIMARY NukeCannonGun
    Weapon                = SECONDARY NukeCannonNeutronWeapon
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    AutoChooseSources     = SECONDARY FROM_SCRIPT FROM_AI
    ShareWeaponReloadTime = Yes
  End
  AddModule
    Behavior = WeaponSetUpgrade ModuleTag_NeutronShells_Fix
      TriggeredBy = Upgrade_ChinaNeutronShells
    End
  End
End

; ==== Nuke General ===============================================================================

Object Nuke_ChinaVehicleNukeLauncher
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY NukeCannonGun
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
  End
  WeaponSet
    Conditions            = PLAYER_UPGRADE
    Weapon                = PRIMARY NukeCannonGun
    Weapon                = SECONDARY NukeCannonNeutronWeapon
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    AutoChooseSources     = SECONDARY FROM_SCRIPT FROM_AI
    ShareWeaponReloadTime = Yes
  End
  AddModule
    Behavior = WeaponSetUpgrade ModuleTag_NeutronShells_Fix
      TriggeredBy = Upgrade_ChinaNeutronShells
    End
  End
End

Object ChinaVehicleNukeLauncher
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY NukeCannonGun
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
  End
  WeaponSet
    Conditions            = PLAYER_UPGRADE
    Weapon                = PRIMARY NukeCannonGun
    Weapon                = SECONDARY NukeCannonNeutronWeapon
    AutoChooseSources     = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
    AutoChooseSources     = SECONDARY FROM_SCRIPT FROM_AI
    ShareWeaponReloadTime = Yes
  End
  AddModule
    Behavior = WeaponSetUpgrade ModuleTag_NeutronShells_Fix
      TriggeredBy = Upgrade_ChinaNeutronShells
    End
  End
End

; The Battlemaster and the Overlord name Upgrade_ChinaWGUraniumShells and
; Upgrade_ChinaFusionReactors, which do not exist; the cut Nuke versions carry a Nuke_ prefix and
; no building sells them. The Overlord dies without a nuclear blast after Isotope Stability like
; the Battlemaster does, but only the Battlemaster shows that icon.

Object Nuke_ChinaTankBattleMaster
  UpgradeCameo2 = None
  UpgradeCameo3 = None
End

Object Nuke_ChinaTankOverlord
  UpgradeCameo1  = Upgrade_ChinaIsotopeStability
  UpgradeCameo2  = None
  VoiceAttackAir = OverlordTankVoiceAttack
End

Object Nuke_ChinaInfantryRedguard
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Nuke_ChinaInfantryTankHunter
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Nuke_ChinaInfantryHacker
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinChina
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

Object Nuke_ChinaInfantryBlackLotus
  ReplaceModule ModuleTag_Death07
    Behavior = SlowDeathBehavior ModuleTag_Death07_Fix
      DeathTypes       = NONE +POISONED_GAMMA
      DestructionDelay = 0
      FX               = INITIAL FX_DieByToxinFemale
      OCL              = INITIAL OCL_ToxicInfantryGamma
    End
  End
End

; ==== All three China generals ===================================================================

; The ECM Tank copies still auto-acquire when idle, which the plain ECM Tank had turned off: they
; wander off to jam whatever vehicle comes near.

Object Tank_ChinaTankECM
  ReplaceModule ModuleTag_03
    Behavior = AIUpdateInterface ModuleTag_03_Fix
      Turret
        ControlledWeaponSlots = PRIMARY
        TurretTurnRate        = 180
        FiresWhileTurning     = No
        MinIdleScanInterval   = 0
        MaxIdleScanInterval   = 0
        RecenterTime          = 0
        MinIdleScanAngle      = 180
        MaxIdleScanAngle      = 180
      End
      AutoAcquireEnemiesWhenIdle = No
    End
  End
End

Object Infa_ChinaTankECM
  ReplaceModule ModuleTag_03
    Behavior = AIUpdateInterface ModuleTag_03_Fix
      Turret
        ControlledWeaponSlots = PRIMARY
        TurretTurnRate        = 180
        FiresWhileTurning     = No
        MinIdleScanInterval   = 0
        MaxIdleScanInterval   = 0
        RecenterTime          = 0
        MinIdleScanAngle      = 180
        MaxIdleScanAngle      = 180
      End
      AutoAcquireEnemiesWhenIdle = No
    End
  End
End

Object Nuke_ChinaTankECM
  ReplaceModule ModuleTag_03
    Behavior = AIUpdateInterface ModuleTag_03_Fix
      Turret
        ControlledWeaponSlots = PRIMARY
        TurretTurnRate        = 180
        FiresWhileTurning     = No
        MinIdleScanInterval   = 0
        MaxIdleScanInterval   = 0
        RecenterTime          = 0
        MinIdleScanAngle      = 180
        MaxIdleScanAngle      = 180
      End
      AutoAcquireEnemiesWhenIdle = No
    End
  End
End

; An Inferno shell dies at 1.0 above the ground or at roof height, and a killed DumbProjectile
; never detonates, so the hit, its sound and the firestorm counter were skipped on every such
; shot. No other artillery shell carries this module.

Object InfernoTankShell
  RemoveModule ModuleTag_06
End

Object InfernoTankShellUpgraded
  RemoveModule ModuleTag_06
End

; The plain flamethrower's minimum range went from 10 to 0; the Black Napalm one kept 10, so an
; upgraded Dragon could not flame a soldier standing against it.

Weapon DragonTankFlameWeaponUpgraded
  MinimumAttackRange = 0.0
End

; The barrage's blasts hit allies, and the next shells coming down are allies: four near misses
; kill a 100 hp shell in the air.

Weapon ArtilleryBarrageDamageWeapon
  RadiusDamageAffects = ENEMIES NEUTRALS ALLIES NOT_SIMILAR
End

; The Overlord and Emperor anti-air dummy has no aim delta, so the hull swung round to face every
; aircraft the Gattling turret shot at.

Weapon GattlingBuildingGunAirDummy
  AcceptableAimDelta = 180
End

; A deployed Nuke Cannon re-picked the nearest enemy while an attack order was running, where
; every other artillery piece has NotWhileAttacking. Its death also dropped a radiation pool at
; the start and another at the end, overlapping for two seconds.

Object Infa_ChinaVehicleNukeLauncher
  ReplaceModule ModuleTag_04
    Behavior = DeployStyleAIUpdate ModuleTag_04_Fix
      Turret
        TurretTurnRate        = 80
        TurretPitchRate       = 80
        FirePitch             = 0
        AllowsPitch           = Yes
        RecenterTime          = 5000
        ControlledWeaponSlots = PRIMARY SECONDARY
        NaturalTurretAngle    = 0
        InitiallyDisabled     = Yes
      End
      AutoAcquireEnemiesWhenIdle      = No NotWhileAttacking
      PackTime                        = 3333
      UnpackTime                      = 3333
      TurretsFunctionOnlyWhenDeployed = Yes
      TurretsMustCenterBeforePacking  = Yes
      ManualDeployAnimations          = Yes
    End
  End
  ReplaceModule ModuleTag_06
    Behavior = SlowDeathBehavior ModuleTag_06_Fix
      DeathTypes               = ALL -CRUSHED -SPLATTED
      DestructionDelay         = 500
      DestructionDelayVariance = 100
      FX                       = INITIAL  FX_BattleMasterExplosionOneFinal
      OCL                      = MIDPOINT OCL_ChinaVehicleNukeCannonDie
      OCL                      = FINAL    OCL_RadiationFieldSmall
      FX                       = FINAL    FX_ChinaVehicleNukeCannonDeathExplosion
    End
  End
End

Object Nuke_ChinaVehicleNukeLauncher
  ReplaceModule ModuleTag_04
    Behavior = DeployStyleAIUpdate ModuleTag_04_Fix
      Turret
        TurretTurnRate        = 80
        TurretPitchRate       = 80
        FirePitch             = 0
        AllowsPitch           = Yes
        RecenterTime          = 5000
        ControlledWeaponSlots = PRIMARY SECONDARY
        NaturalTurretAngle    = 0
        InitiallyDisabled     = Yes
      End
      AutoAcquireEnemiesWhenIdle      = No NotWhileAttacking
      PackTime                        = 3333
      UnpackTime                      = 3333
      TurretsFunctionOnlyWhenDeployed = Yes
      TurretsMustCenterBeforePacking  = Yes
      ManualDeployAnimations          = Yes
    End
  End
  ReplaceModule ModuleTag_06
    Behavior = SlowDeathBehavior ModuleTag_06_Fix
      DeathTypes               = ALL -CRUSHED -SPLATTED
      DestructionDelay         = 500
      DestructionDelayVariance = 100
      FX                       = INITIAL  FX_BattleMasterExplosionOneFinal
      OCL                      = MIDPOINT OCL_ChinaVehicleNukeCannonDie
      OCL                      = FINAL    OCL_RadiationFieldSmall
      FX                       = FINAL    FX_ChinaVehicleNukeCannonDeathExplosion
    End
  End
End

Object ChinaVehicleNukeLauncher
  ReplaceModule ModuleTag_04
    Behavior = DeployStyleAIUpdate ModuleTag_04_Fix
      Turret
        TurretTurnRate        = 80
        TurretPitchRate       = 80
        FirePitch             = 0
        AllowsPitch           = Yes
        RecenterTime          = 5000
        ControlledWeaponSlots = PRIMARY SECONDARY
        NaturalTurretAngle    = 0
        InitiallyDisabled     = Yes
      End
      AutoAcquireEnemiesWhenIdle      = No NotWhileAttacking
      PackTime                        = 3333
      UnpackTime                      = 3333
      TurretsFunctionOnlyWhenDeployed = Yes
      TurretsMustCenterBeforePacking  = Yes
      ManualDeployAnimations          = Yes
    End
  End
  ReplaceModule ModuleTag_06
    Behavior = SlowDeathBehavior ModuleTag_06_Fix
      DeathTypes               = ALL -CRUSHED -SPLATTED
      DestructionDelay         = 500
      DestructionDelayVariance = 100
      FX                       = INITIAL  FX_BattleMasterExplosionOneFinal
      OCL                      = MIDPOINT OCL_ChinaVehicleNukeCannonDie
      OCL                      = FINAL    OCL_RadiationFieldSmall
      FX                       = FINAL    FX_ChinaVehicleNukeCannonDeathExplosion
    End
  End
End

; China supply trucks weigh 5, a soldier's mass; a Troop Crawler weighs 50. Any shockwave threw
; them across the map.

Object ChinaVehicleSupplyTruck
  ReplaceModule ModuleTag_04
    Behavior = PhysicsBehavior ModuleTag_04_Fix
      Mass = 50.0
    End
  End
End

Object Tank_ChinaVehicleSupplyTruck
  ReplaceModule ModuleTag_04
    Behavior = PhysicsBehavior ModuleTag_04_Fix
      Mass = 50.0
    End
  End
End

Object Infa_ChinaVehicleSupplyTruck
  ReplaceModule ModuleTag_04
    Behavior = PhysicsBehavior ModuleTag_04_Fix
      Mass = 50.0
    End
  End
End

Object Nuke_ChinaVehicleSupplyTruck
  ReplaceModule ModuleTag_04
    Behavior = PhysicsBehavior ModuleTag_04_Fix
      Mass = 50.0
    End
  End
End

; The generals' Internet Centers kept the Command Center's selection sound the plain one dropped.

Object Tank_ChinaInternetCenter
  VoiceSelect = InternetCenterSelect
End

Object Infa_ChinaInternetCenter
  VoiceSelect = InternetCenterSelect
End

Object Nuke_ChinaInternetCenter
  VoiceSelect = InternetCenterSelect
End

; The Minigunner's anti-air gun plays the Gattling Tank's sound; its ground gun plays its own.

Weapon Infa_MiniGunnerGunAir
  FireSound = RedGuardMinigunnerWeapon
End

; An order onto an aircraft plays VoiceAttackAir and nothing else; these anti-air units had none.

Object Tank_ChinaTankGattling
  VoiceAttackAir = GattlingTankVoiceAttack
End

Object Nuke_ChinaTankGattling
  VoiceAttackAir = GattlingTankVoiceAttack
End

Object Infa_ChinaVehicleTroopCrawler
  VoiceAttackAir = AssaultTroopCrawlerVoiceAttack
End

; The Command Center reacts to the Radar upgrade and shows no icon for it.

Object ChinaCommandCenter
  UpgradeCameo1 = Upgrade_ChinaRadar
End

Object Tank_ChinaCommandCenter
  UpgradeCameo1 = Upgrade_ChinaRadar
End

Object Infa_ChinaCommandCenter
  UpgradeCameo1 = Upgrade_ChinaRadar
End

Object Nuke_ChinaCommandCenter
  UpgradeCameo1 = Upgrade_ChinaRadar
End

; The carpet bomber is a jet and played the C-130's propeller loop.

Object ChinaJetCarpetBomber
  SoundAmbient = B52AmbientLoop
End

; MigVoiceLowFuel is recorded and defined and no MiG names it. A UnitSpecificSounds block
; replaces the whole list, so the other three lines are repeated.

Object Tank_ChinaJetMIG
  UnitSpecificSounds
    VoiceCreate   = MigVoiceCreate
    Afterburner   = RaptorAfterburner
    VoiceGarrison = MigVoiceMove
    VoiceLowFuel  = MigVoiceLowFuel
  End
End

Object Infa_ChinaJetMIG
  UnitSpecificSounds
    VoiceCreate   = MigVoiceCreate
    Afterburner   = RaptorAfterburner
    VoiceGarrison = MigVoiceMove
    VoiceLowFuel  = MigVoiceLowFuel
  End
End

Object Nuke_ChinaJetMIG
  UnitSpecificSounds
    VoiceCreate   = MigVoiceCreate
    Afterburner   = RaptorAfterburner
    VoiceGarrison = MigVoiceMove
    VoiceLowFuel  = MigVoiceLowFuel
  End
End

; ==== Toxin General ==============================================================================

; The Tunnel Defender has a ground rocket and an air rocket that reload apart. Swapping between a
; tank and a helicopter it fires the second rocket straight after the first, where every other
; Tunnel Defender has one rocket and waits out its one second reload.

Object Chem_GLAInfantryTunnelDefender
  UpgradeCameo2 = Chem_Upgrade_GLAAnthraxGamma
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY   Chem_TunnelDefenderRocketWeaponBeta
    AutoChooseSources     = PRIMARY   FROM_PLAYER FROM_AI FROM_SCRIPT
    Weapon                = SECONDARY Chem_TunnelDefenderRocketWeaponBetaAir
    PreferredAgainst      = SECONDARY BALLISTIC_MISSILE AIRCRAFT
    ShareWeaponReloadTime = Yes
  End
  WeaponSet
    Conditions            = PLAYER_UPGRADE
    Weapon                = PRIMARY   Chem_TunnelDefenderRocketWeaponGamma
    AutoChooseSources     = PRIMARY   FROM_PLAYER FROM_AI FROM_SCRIPT
    Weapon                = SECONDARY Chem_TunnelDefenderRocketWeaponGammaAir
    PreferredAgainst      = SECONDARY BALLISTIC_MISSILE AIRCRAFT
    ShareWeaponReloadTime = Yes
  End
End

; The Rebel shows Camouflage, which the Toxin General cannot buy. AP Bullets stays hidden: the
; Rebel's toxin guns carry no PLAYER_UPGRADE bonus, so the upgrade does nothing for them.

Object Chem_GLAInfantryRebel
  UpgradeCameo3 = None
End

Object Chem_GLAInfantryTerrorist
  UpgradeCameo2 = Upgrade_GLAAnthraxBeta
End

; ==== Demolition General =========================================================================

; With the Demo upgrade the Stinger Site fires the suicide charge, 500 damage over 18, when it is
; merely destroyed; every other Demo building fires Demo_DestroyedWeapon, 50 over 60. A poison
; death fires no charge. A suicide fires two 700 charges, one from a module that is always on and
; one from the upgrade. It now fires one.

Object Demo_GLAStingerSite
  UpgradeCameo2 = Demo_Upgrade_SuicideBomb
  RemoveModule ModuleTag_Death18
  ReplaceModule ModuleTag999
    Behavior = FireWeaponWhenDeadBehavior ModuleTag999_Fix
      DeathWeapon         = Demo_DestroyedWeapon
      StartsActive        = No
      TriggeredBy         = Demo_Upgrade_SuicideBomb
      DeathTypes          = ALL -SUICIDED
    End
  End
End

Object Demo_GLATunnelNetwork
  UpgradeCameo1 = Demo_Upgrade_SuicideBomb
End

; The Rebel's Booby Trap is unlocked by an upgrade that has no icon on the Rebel.

Object Demo_GLAInfantryRebel
  UpgradeCameo4 = Upgrade_GLAInfantryRebelBoobyTrapAttack
End

; ==== Stealth General ============================================================================

; The Stealth General's Rebel is born hidden and drops out of hiding every time it is hit. No
; other hidden unit does; the plain Rebel with Camouflage does not.

Object Slth_GLAInfantryRebel
  ReplaceModule ModuleTag_07
    Behavior = StealthUpdate ModuleTag_07_Fix
      StealthDelay                         = 2500
      StealthForbiddenConditions           = ATTACKING USING_ABILITY
      MoveThresholdSpeed                   = 3
      InnateStealth                        = Yes
      OrderIdleEnemiesToAttackMeUponReveal = Yes
    End
  End
End

; Under Camo Netting the Palace stays hidden while the five soldiers inside it shoot out, so the
; enemy can see who is killing it and cannot fire back at the building.

Object Slth_GLAPalace
  ReplaceModule ModuleStealth_09
    Behavior = StealthUpdate ModuleStealth_09_Fix
      StealthDelay                         = 2500
      StealthForbiddenConditions           = ATTACKING USING_ABILITY TAKING_DAMAGE RIDERS_ATTACKING
      InnateStealth                        = No
      OrderIdleEnemiesToAttackMeUponReveal = Yes
    End
  End
End

Object Slth_GLAVehicleBombTruck
  UpgradeCameo4 = Upgrade_GLAAnthraxBeta
End

Object Slth_FakeGLAArmsDealer
  UpgradeCameo2 = Upgrade_GLACamoNetting
End

; ==== All three GLA generals =====================================================================

; The Toxin Terrorist's Beta charge, 200 EXPLODED damage to friend and foe, has no DeathTypes, so
; a Terrorist shot dead blew up the Terrorists beside him, each of whom died EXPLODED and fired a
; full dynamite pack. The Gamma charge next to it lists the deaths a Terrorist explodes on.

Object Chem_GLAInfantryTerrorist
  ReplaceModule ModuleTag_92
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_92_Fix
      DeathWeapon         = Chem_SuicideWeaponBeta
      StartsActive        = No
      TriggeredBy         = Upgrade_GLAAnthraxBeta
      RequiresAllTriggers = Yes
      ConflictsWith       = Chem_Upgrade_GLAAnthraxGamma
      DeathTypes          = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
    End
  End
End

Object Chem_GLAVehicleCombatBike
  ReplaceModule ModuleTag_92
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_92_Fix
      RequiredStatus      = STATUS_RIDER5
      DeathWeapon         = Chem_SuicideWeaponBeta
      StartsActive        = No
      TriggeredBy         = Upgrade_GLAAnthraxBeta
      RequiresAllTriggers = Yes
      ConflictsWith       = Chem_Upgrade_GLAAnthraxGamma
      DeathTypes          = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
    End
  End
  UpgradeCameo2 = Chem_Upgrade_GLAAnthraxGamma
End

; The Demolition Scud Launcher fires the 500 damage suicide charge on any death. Every other
; Demo vehicle fires it on a suicide only and Demo_DestroyedWeapon otherwise.

Object Demo_GLAVehicleScudLauncher
  ReplaceModule ModuleTag_George
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_George_Fix
      DeathWeapon  = Demo_SuicideDynamitePackPlusFire
      StartsActive = No
      TriggeredBy  = Demo_Upgrade_SuicideBomb
      DeathTypes   = NONE +SUICIDED
    End
  End
  AddModule
    Behavior = FireWeaponWhenDeadBehavior ModuleTag999_Fix
      DeathWeapon  = Demo_DestroyedWeapon
      StartsActive = No
      TriggeredBy  = Demo_Upgrade_SuicideBomb
      DeathTypes   = ALL -SUICIDED
    End
  End
End

; The Demolition vehicles' suicide death also takes EXPLODED, so a tank killed by a rocket could
; be flung like a Terrorist with his scream and sink without a wreck. Its infantry and barracks
; play the Terrorist blast for the same reason, over their own explosive death.

Object Demo_GLATankMarauder
  ReplaceModule ModuleTag_Death_22
    Behavior = SlowDeathBehavior ModuleTag_Death_22_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLATankScorpion
  ReplaceModule ModuleTag_Death17
    Behavior = SlowDeathBehavior ModuleTag_Death17_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAVehicleQuadCannon
  ReplaceModule ModuleTag_Death_14
    Behavior = SlowDeathBehavior ModuleTag_Death_14_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAVehicleRadarVan
  ReplaceModule ModuleTag_Death_20
    Behavior = SlowDeathBehavior ModuleTag_Death_20_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAVehicleRocketBuggy
  ReplaceModule ModuleTag_Death17
    Behavior = SlowDeathBehavior ModuleTag_Death17_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAVehicleTechnicalChassisOne
  ReplaceModule ModuleTag_Death_18
    Behavior = SlowDeathBehavior ModuleTag_Death_18_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAVehicleTechnicalChassisTwo
  ReplaceModule ModuleTag_Death_18
    Behavior = SlowDeathBehavior ModuleTag_Death_18_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAVehicleTechnicalChassisThree
  ReplaceModule ModuleTag_Death_18
    Behavior = SlowDeathBehavior ModuleTag_Death_18_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAVehicleToxinTruck
  ReplaceModule ModuleTag_Death_14
    Behavior = SlowDeathBehavior ModuleTag_Death_14_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAInfantryRebel
  ReplaceModule ModuleTag_Death17
    Behavior = SlowDeathBehavior ModuleTag_Death17_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
  ReplaceModule ModuleTag_20
    Behavior = SpecialAbility ModuleTag_20_Fix
      SpecialPowerTemplate     = SpecialAbilityBoobyTrap
      UpdateModuleStartsAttack = Yes
      StartsPaused             = Yes
      InitiateSound            = RebelVoiceBoobyTrapInstall
    End
  End
End

Object Demo_GLAInfantryWorker
  ReplaceModule ModuleTag_Death_17
    Behavior = SlowDeathBehavior ModuleTag_Death_17_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAInfantryTunnelDefender
  ReplaceModule ModuleTag_Death13
    Behavior = SlowDeathBehavior ModuleTag_Death13_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLAInfantryJarmenKell
  ReplaceModule ModuleTag_Death15
    Behavior = SlowDeathBehavior ModuleTag_Death15_Fix
      DeathTypes         = NONE +SUICIDED
      SinkDelay          = 3000
      SinkRate           = 0.5
      DestructionDelay   = 8000
      FX                 = INITIAL FX_TerroristExplode
      FlingForce         = 8
      FlingForceVariance = 3
      FlingPitch         = 60
      FlingPitchVariance = 10
    End
  End
End

Object Demo_GLABarracks
  RemoveModule ModuleTag_Death17
End

; The Demolition Terrorist blows up only on a suicide. Every other GLA Terrorist also blows up
; when crushed, burned, lasered or blown up, which is what takes the tank that runs him over.

Object Demo_GLAInfantryTerrorist
  ReplaceModule ModuleTag_Death08
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_Death08_Fix
      DeathWeapon  = Demo_SuicideDynamitePack
      StartsActive = Yes
      DeathTypes   = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
    End
  End
End

; The Demolition Combat Bike: a Terrorist rider killed by Gamma anthrax fell between the two
; charge modules and fired neither, the Worker rider's death used the plain buggy explosion
; where every other rider uses the Demo one, and the button showed the large portrait.

Object Demo_GLAVehicleCombatBike
  ButtonImage = SUComBike
  ReplaceModule ModuleTag996
    Behavior = FireWeaponWhenDeadBehavior ModuleTag996_Fix
      RequiredStatus      = STATUS_RIDER5
      DeathWeapon         = Demo_TerroristOnCombatBikeSuicideDynamitePack
      StartsActive        = No
      TriggeredBy         = Demo_Upgrade_SuicideBomb
      RequiresAllTriggers = Yes
      DeathTypes          = NONE +SUICIDED +POISONED +POISONED_BETA +POISONED_GAMMA
    End
  End
  ReplaceModule DeathTag_05
    Behavior = SlowDeathBehavior DeathTag_05_Fix
      RequiredStatus   = STATUS_RIDER1
      DeathTypes       = ALL -CRUSHED -SPLATTED -TOPPLED
      DestructionDelay = 0
      FX               = INITIAL FX_DEMOBuggyNewDeathExplosion
      OCL              = INITIAL OCL_WorkerFlyingOffBikeDeathStart
      OCL              = FINAL OCL_CombatBikeAirDeathStart
    End
  End
End

; The Demolition Stinger Site spawns the plain GLA soldier. Demo_GLAInfantryStingerSoldier, with
; the Demo death charges, was written for it and nothing names it.

Object Demo_GLAStingerSite
  ReplaceModule ModuleTag_06
    Behavior = SpawnBehavior ModuleTag_06_Fix
      SpawnNumber           = 3
      SpawnReplaceDelay     = 30000
      SpawnTemplateName     = Demo_GLAInfantryStingerSoldier
      CanReclaimOrphans     = No
      SpawnedRequireSpawner = Yes
    End
  End
End

; A Quad Cannon's subdual cap is 440 and a heroic one has 450 health, so an ECM Tank could never
; disable it.

Object GLAVehicleQuadCannon
  ReplaceModule ModuleTag_02
    Body = ActiveBody ModuleTag_02_Fix
      MaxHealth               = 300.0
      InitialHealth           = 300.0
      SubdualDamageCap        = 600
      SubdualDamageHealRate   = 500
      SubdualDamageHealAmount = 50
    End
  End
End

Object Chem_GLAVehicleQuadCannon
  ReplaceModule ModuleTag_02
    Body = ActiveBody ModuleTag_02_Fix
      MaxHealth               = 300.0
      InitialHealth           = 300.0
      SubdualDamageCap        = 600
      SubdualDamageHealRate   = 500
      SubdualDamageHealAmount = 50
    End
  End
End

Object Demo_GLAVehicleQuadCannon
  ReplaceModule ModuleTag_02
    Body = ActiveBody ModuleTag_02_Fix
      MaxHealth               = 300.0
      InitialHealth           = 300.0
      SubdualDamageCap        = 600
      SubdualDamageHealRate   = 500
      SubdualDamageHealAmount = 50
    End
  End
End

Object Slth_GLAVehicleQuadCannon
  ReplaceModule ModuleTag_02
    Body = ActiveBody ModuleTag_02_Fix
      MaxHealth               = 300.0
      InitialHealth           = 300.0
      SubdualDamageCap        = 600
      SubdualDamageHealRate   = 500
      SubdualDamageHealAmount = 50
    End
  End
End

; A Stinger soldier's ground and air rockets reload on separate clocks, so switching targets fired
; a second rocket straight away, the same fault as the Toxin Tunnel Defender.

Object GLAInfantryStingerSoldier
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY   StingerMissileWeapon
    AutoChooseSources     = PRIMARY   FROM_PLAYER FROM_AI FROM_SCRIPT
    Weapon                = SECONDARY StingerMissileWeaponAir
    PreferredAgainst      = SECONDARY BALLISTIC_MISSILE AIRCRAFT
    ShareWeaponReloadTime = Yes
  End
End

Object Slth_GLAInfantryStingerSoldier
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY   StingerMissileWeapon
    AutoChooseSources     = PRIMARY   FROM_PLAYER FROM_AI FROM_SCRIPT
    Weapon                = SECONDARY StingerMissileWeaponAir
    PreferredAgainst      = SECONDARY BALLISTIC_MISSILE AIRCRAFT
    ShareWeaponReloadTime = Yes
  End
End

Object Demo_GLAInfantryStingerSoldier
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY   StingerMissileWeapon
    AutoChooseSources     = PRIMARY   FROM_PLAYER FROM_AI FROM_SCRIPT
    Weapon                = SECONDARY StingerMissileWeaponAir
    PreferredAgainst      = SECONDARY BALLISTIC_MISSILE AIRCRAFT
    Weapon                = TERTIARY  TerroristSuicideNotARealWeapon
    AutoChooseSources     = TERTIARY  NONE
    ShareWeaponReloadTime = Yes
  End
End

Object Chem_GLAInfantryStingerSoldier
  WeaponSet
    Conditions            = None
    Weapon                = PRIMARY   Chem_StingerMissileWeaponBeta
    AutoChooseSources     = PRIMARY   FROM_PLAYER FROM_AI FROM_SCRIPT
    Weapon                = SECONDARY Chem_StingerMissileWeaponAirBeta
    PreferredAgainst      = SECONDARY BALLISTIC_MISSILE AIRCRAFT
    ShareWeaponReloadTime = Yes
  End
  WeaponSet
    Conditions            = PLAYER_UPGRADE
    Weapon                = PRIMARY   Chem_StingerMissileWeaponGamma
    AutoChooseSources     = PRIMARY   FROM_PLAYER FROM_AI FROM_SCRIPT
    Weapon                = SECONDARY Chem_StingerMissileWeaponAirGamma
    PreferredAgainst      = SECONDARY BALLISTIC_MISSILE AIRCRAFT
    ShareWeaponReloadTime = Yes
  End
End

; The Toxin demo trap fires its charge from FireWeaponWhenDead modules, which go off at the moment
; of death with no construction exemption: before the one second warning, and from a scaffold the
; enemy shot down. The charge goes back into the slow death, as on the plain trap, with a status
; bit choosing Gamma.

Object Chem_GLADemoTrap
  RemoveModule ModuleTag_Chem01
  RemoveModule ModuleTag_Chem02
  ReplaceModule ModuleTag_05
    Behavior = SlowDeathBehavior ModuleTag_05_Fix
      ExemptStatus     = UNDER_CONSTRUCTION STATUS_RIDER1
      DestructionDelay = 1000
      FX               = INITIAL FX_GLADemoTrapWarning
      Weapon           = FINAL Chem_DemoTrapDetonationWeaponBeta
    End
  End
  AddModule
    Behavior = SlowDeathBehavior ModuleTag_05Gamma_Fix
      ExemptStatus     = UNDER_CONSTRUCTION
      RequiredStatus   = STATUS_RIDER1
      DestructionDelay = 1000
      FX               = INITIAL FX_GLADemoTrapWarning
      Weapon           = FINAL Chem_DemoTrapDetonationWeaponGamma
    End
  End
  AddModule
    Behavior = StatusBitsUpgrade ModuleTag_05Upgrade_Fix
      TriggeredBy = Chem_Upgrade_GLAAnthraxGamma
      StatusToSet = STATUS_RIDER1
    End
  End
  ReplaceModule ModuleTag_04
    Behavior = DemoTrapUpdate ModuleTag_04_Fix
      DefaultProximityMode              = Yes
      DetonationWeaponSlot              = PRIMARY
      ProximityModeWeaponSlot           = SECONDARY
      ManualModeWeaponSlot              = TERTIARY
      TriggerDetonationRange            = 40.0
      IgnoreTargetTypes                 = PROJECTILE UNATTACKABLE CLEANUP_HAZARD
      AutoDetonationWithFriendsInvolved = Yes
      DetonateWhenKilled                = Yes
    End
  End
End

; An enemy toxin or radiation puddle within 40 of a demo trap set it off with nobody there.

Object GLADemoTrap
  ReplaceModule ModuleTag_04
    Behavior = DemoTrapUpdate ModuleTag_04_Fix
      DefaultProximityMode              = Yes
      DetonationWeaponSlot              = PRIMARY
      ProximityModeWeaponSlot           = SECONDARY
      ManualModeWeaponSlot              = TERTIARY
      TriggerDetonationRange            = 40.0
      IgnoreTargetTypes                 = PROJECTILE UNATTACKABLE CLEANUP_HAZARD
      AutoDetonationWithFriendsInvolved = Yes
      DetonateWhenKilled                = Yes
    End
  End
End

Object Demo_GLADemoTrap
  ReplaceModule ModuleTag_04
    Behavior = DemoTrapUpdate ModuleTag_04_Fix
      DefaultProximityMode              = Yes
      DetonationWeaponSlot              = PRIMARY
      ProximityModeWeaponSlot           = SECONDARY
      ManualModeWeaponSlot              = TERTIARY
      TriggerDetonationRange            = 40.0
      IgnoreTargetTypes                 = PROJECTILE UNATTACKABLE CLEANUP_HAZARD
      AutoDetonationWithFriendsInvolved = Yes
      DetonateWhenKilled                = Yes
    End
  End
End

Object Slth_GLADemoTrap
  ReplaceModule ModuleTag_04
    Behavior = DemoTrapUpdate ModuleTag_04_Fix
      DefaultProximityMode              = Yes
      DetonationWeaponSlot              = PRIMARY
      ProximityModeWeaponSlot           = SECONDARY
      ManualModeWeaponSlot              = TERTIARY
      TriggerDetonationRange            = 40.0
      IgnoreTargetTypes                 = PROJECTILE UNATTACKABLE CLEANUP_HAZARD
      AutoDetonationWithFriendsInvolved = Yes
      DetonateWhenKilled                = Yes
    End
  End
End

; The Toxin Tractor sprays Beta from the start and died leaving the weak Alpha puddle. On every
; Tractor a heroic one sprays the upgraded poison, as its weapon modules say, and died leaving
; the lower one.

Object Chem_GLAVehicleToxinTruck
  ReplaceModule ModuleTag_15
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_15_Fix
      DeathWeapon   = ToxinShellWeaponUpgraded
      StartsActive  = Yes
      ConflictsWith = Chem_Upgrade_GLAAnthraxGamma Upgrade_Veterancy_HEROIC
    End
  End
  ReplaceModule ModuleTag_16
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_16_Fix
      DeathWeapon  = Chem_ToxinShellWeaponGamma
      StartsActive = No
      TriggeredBy  = Chem_Upgrade_GLAAnthraxGamma Upgrade_Veterancy_HEROIC
    End
  End
End

Object GLAVehicleToxinTruck
  ReplaceModule ModuleTag_15
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_15_Fix
      DeathWeapon   = ToxinShellWeapon
      StartsActive  = Yes
      ConflictsWith = Upgrade_GLAAnthraxBeta Upgrade_Veterancy_HEROIC
    End
  End
  ReplaceModule ModuleTag_16
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_16_Fix
      DeathWeapon  = ToxinShellWeaponUpgraded
      StartsActive = No
      TriggeredBy  = Upgrade_GLAAnthraxBeta Upgrade_Veterancy_HEROIC
    End
  End
End

Object Demo_GLAVehicleToxinTruck
  ReplaceModule ModuleTag_15
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_15_Fix
      DeathWeapon   = ToxinShellWeapon
      StartsActive  = Yes
      ConflictsWith = Upgrade_GLAAnthraxBeta Upgrade_Veterancy_HEROIC
    End
  End
  ReplaceModule ModuleTag_16
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_16_Fix
      DeathWeapon  = ToxinShellWeaponUpgraded
      StartsActive = No
      TriggeredBy  = Upgrade_GLAAnthraxBeta Upgrade_Veterancy_HEROIC
    End
  End
End

Object Slth_GLAVehicleToxinTruck
  ReplaceModule ModuleTag_15
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_15_Fix
      DeathWeapon   = ToxinShellWeapon
      StartsActive  = Yes
      ConflictsWith = Upgrade_GLAAnthraxBeta Upgrade_Veterancy_HEROIC
    End
  End
  ReplaceModule ModuleTag_16
    Behavior = FireWeaponWhenDeadBehavior ModuleTag_16_Fix
      DeathWeapon  = ToxinShellWeaponUpgraded
      StartsActive = No
      TriggeredBy  = Upgrade_GLAAnthraxBeta Upgrade_Veterancy_HEROIC
    End
  End
End

; The Toxin Stinger missile lost the disintegrate effect a laser kill plays on the plain one.

Object Chem_StingerMissile
  ReplaceModule DeathModuleTag_02
    Behavior = InstantDeathBehavior DeathModuleTag_02_Fix
      DeathTypes = NONE +LASERED
      FX         = FX_GenericMissileDisintegrate
      OCL        = OCL_GenericMissileDisintegrate
    End
  End
End

; Icons for upgrades these units react to: Gamma on the Toxin Stinger Site, Scud Storm and
; Marauder, Beta on the Stealth Scud Storm, which the plain storm shows.

Object Chem_GLAStingerSite
  UpgradeCameo2 = Chem_Upgrade_GLAAnthraxGamma
End

Object Chem_GLAScudStorm
  UpgradeCameo1 = Chem_Upgrade_GLAAnthraxGamma
End

Object Chem_GLATankMarauder
  UpgradeCameo3 = Chem_Upgrade_GLAAnthraxGamma
End

Object Slth_GLAScudStorm
  UpgradeCameo2 = Upgrade_GLAAnthraxBeta
  WeaponSet
    Conditions        = None
    Weapon            = SECONDARY ScudStormWeapon
    AutoChooseSources = SECONDARY NONE
  End
  ReplaceModule ModuleTag_01
    Draw = W3DModelDraw ModuleTag_01_Fix
      OkToChangeModelColor = Yes
      ProjectileBoneFeedbackEnabledSlots = SECONDARY
      ConditionState = NONE
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY Trans_ATTACKING
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B
      TransitionState = Trans_ATTACKING Trans_READY
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED Trans_ATTACKING_DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED Trans_READY_DAMAGED
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED Trans_ATTACKING_REALLYDAMAGED
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED Trans_READY_REALLYDAMAGED
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState =  SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_SNOW Trans_ATTACKING_SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING  SNOW
        Model         = UBScudStrm_A2S
        Animation     = UBScudStrm_A2S.UBScudStrm_A2S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B  SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B  SNOW
      TransitionState = Trans_ATTACKING_SNOW Trans_READY_SNOW
        Model         = UBScudStrm_A3S
        Animation     = UBScudStrm_A3S.UBScudStrm_A3S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED  SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED  SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED  SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_SNOW Trans_ATTACKING_DAMAGED_SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED SNOW
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_SNOW Trans_READY_DAMAGED_SNOW
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_SNOW Trans_ATTACKING_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_SNOW Trans_READY_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHT Trans_ATTACKING_NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT
      TransitionState = Trans_ATTACKING_NIGHT Trans_READY_NIGHT
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHT Trans_ATTACKING_DAMAGED_NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHT Trans_READY_DAMAGED_NIGHT
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHT Trans_ATTACKING_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHT Trans_READY_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT SNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHTSNOW Trans_ATTACKING_NIGHTSNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT SNOW
        Model         = UBScudStrm_A2NS
        Animation     = UBScudStrm_A2NS.UBScudStrm_A2NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT SNOW
      TransitionState = Trans_ATTACKING_NIGHTSNOW Trans_READY_NIGHTSNOW
        Model         = UBScudStrm_A3NS
        Animation     = UBScudStrm_A3NS.UBScudStrm_A3NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHTSNOW Trans_ATTACKING_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHTSNOW Trans_READY_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHTSNOW Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW Trans_READY_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = SOLD
        Model              = NONE
      End
      AliasConditionState       = SOLD DAMAGED
      AliasConditionState       = SOLD REALLYDAMAGED
      AliasConditionState       = SOLD SNOW
      AliasConditionState       = SOLD DAMAGED SNOW
      AliasConditionState       = SOLD REALLYDAMAGED SNOW
      AliasConditionState       = SOLD NIGHT
      AliasConditionState       = SOLD DAMAGED NIGHT
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT
      AliasConditionState       = SOLD NIGHT SNOW
      AliasConditionState       = SOLD DAMAGED NIGHT SNOW
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT SNOW
    End
  End
End

; ==== Scud Storm exploit ==========================================================================

; Every storm carried its missiles in PRIMARY, and a storm could be made to fire them before its
; timer was up. The weapon moves to SECONDARY on all seven storms that share
; SUPERWEAPON_ScudStorm, and ObjectCreationListReforged.ini points the power at that slot.
; The door is the weapon chooser: an attack on the ground, and an attack no slot is allowed to
; answer, both fall back to PRIMARY whatever AutoChooseSources says, so an empty PRIMARY is what
; closes it.
;
; The pad's draw module named its launch bone and its missile feedback for PRIMARY only, so from
; SECONDARY the nine missiles left the building's origin flat along its facing, flew 500 at ground
; height and all ended on the first thing in the way. Each storm's draw module is EA's with
; WeaponLaunchBone and ProjectileBoneFeedbackEnabledSlots on SECONDARY and the firing aliases on
; FIRING_B and BETWEEN_FIRING_SHOTS_B. The seven are the same module.

Object GLAScudStorm
  WeaponSet
    Conditions        = None
    Weapon            = SECONDARY ScudStormWeapon
    AutoChooseSources = SECONDARY NONE
  End
  ReplaceModule ModuleTag_01
    Draw = W3DModelDraw ModuleTag_01_Fix
      OkToChangeModelColor = Yes
      ProjectileBoneFeedbackEnabledSlots = SECONDARY
      ConditionState = NONE
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY Trans_ATTACKING
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B
      TransitionState = Trans_ATTACKING Trans_READY
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED Trans_ATTACKING_DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED Trans_READY_DAMAGED
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED Trans_ATTACKING_REALLYDAMAGED
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED Trans_READY_REALLYDAMAGED
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState =  SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_SNOW Trans_ATTACKING_SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING  SNOW
        Model         = UBScudStrm_A2S
        Animation     = UBScudStrm_A2S.UBScudStrm_A2S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B  SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B  SNOW
      TransitionState = Trans_ATTACKING_SNOW Trans_READY_SNOW
        Model         = UBScudStrm_A3S
        Animation     = UBScudStrm_A3S.UBScudStrm_A3S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED  SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED  SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED  SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_SNOW Trans_ATTACKING_DAMAGED_SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED SNOW
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_SNOW Trans_READY_DAMAGED_SNOW
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_SNOW Trans_ATTACKING_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_SNOW Trans_READY_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHT Trans_ATTACKING_NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT
      TransitionState = Trans_ATTACKING_NIGHT Trans_READY_NIGHT
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHT Trans_ATTACKING_DAMAGED_NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHT Trans_READY_DAMAGED_NIGHT
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHT Trans_ATTACKING_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHT Trans_READY_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT SNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHTSNOW Trans_ATTACKING_NIGHTSNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT SNOW
        Model         = UBScudStrm_A2NS
        Animation     = UBScudStrm_A2NS.UBScudStrm_A2NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT SNOW
      TransitionState = Trans_ATTACKING_NIGHTSNOW Trans_READY_NIGHTSNOW
        Model         = UBScudStrm_A3NS
        Animation     = UBScudStrm_A3NS.UBScudStrm_A3NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHTSNOW Trans_ATTACKING_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHTSNOW Trans_READY_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHTSNOW Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW Trans_READY_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = SOLD
        Model              = NONE
      End
      AliasConditionState       = SOLD DAMAGED
      AliasConditionState       = SOLD REALLYDAMAGED
      AliasConditionState       = SOLD SNOW
      AliasConditionState       = SOLD DAMAGED SNOW
      AliasConditionState       = SOLD REALLYDAMAGED SNOW
      AliasConditionState       = SOLD NIGHT
      AliasConditionState       = SOLD DAMAGED NIGHT
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT
      AliasConditionState       = SOLD NIGHT SNOW
      AliasConditionState       = SOLD DAMAGED NIGHT SNOW
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT SNOW
    End
  End
End

Object Chem_GLAScudStorm
  WeaponSet
    Conditions        = None
    Weapon            = SECONDARY Chem_ScudStormWeapon
    AutoChooseSources = SECONDARY NONE
  End
  ReplaceModule ModuleTag_01
    Draw = W3DModelDraw ModuleTag_01_Fix
      OkToChangeModelColor = Yes
      ProjectileBoneFeedbackEnabledSlots = SECONDARY
      ConditionState = NONE
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY Trans_ATTACKING
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B
      TransitionState = Trans_ATTACKING Trans_READY
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED Trans_ATTACKING_DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED Trans_READY_DAMAGED
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED Trans_ATTACKING_REALLYDAMAGED
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED Trans_READY_REALLYDAMAGED
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState =  SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_SNOW Trans_ATTACKING_SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING  SNOW
        Model         = UBScudStrm_A2S
        Animation     = UBScudStrm_A2S.UBScudStrm_A2S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B  SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B  SNOW
      TransitionState = Trans_ATTACKING_SNOW Trans_READY_SNOW
        Model         = UBScudStrm_A3S
        Animation     = UBScudStrm_A3S.UBScudStrm_A3S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED  SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED  SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED  SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_SNOW Trans_ATTACKING_DAMAGED_SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED SNOW
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_SNOW Trans_READY_DAMAGED_SNOW
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_SNOW Trans_ATTACKING_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_SNOW Trans_READY_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHT Trans_ATTACKING_NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT
      TransitionState = Trans_ATTACKING_NIGHT Trans_READY_NIGHT
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHT Trans_ATTACKING_DAMAGED_NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHT Trans_READY_DAMAGED_NIGHT
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHT Trans_ATTACKING_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHT Trans_READY_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT SNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHTSNOW Trans_ATTACKING_NIGHTSNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT SNOW
        Model         = UBScudStrm_A2NS
        Animation     = UBScudStrm_A2NS.UBScudStrm_A2NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT SNOW
      TransitionState = Trans_ATTACKING_NIGHTSNOW Trans_READY_NIGHTSNOW
        Model         = UBScudStrm_A3NS
        Animation     = UBScudStrm_A3NS.UBScudStrm_A3NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHTSNOW Trans_ATTACKING_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHTSNOW Trans_READY_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHTSNOW Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW Trans_READY_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = SOLD
        Model              = NONE
      End
      AliasConditionState       = SOLD DAMAGED
      AliasConditionState       = SOLD REALLYDAMAGED
      AliasConditionState       = SOLD SNOW
      AliasConditionState       = SOLD DAMAGED SNOW
      AliasConditionState       = SOLD REALLYDAMAGED SNOW
      AliasConditionState       = SOLD NIGHT
      AliasConditionState       = SOLD DAMAGED NIGHT
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT
      AliasConditionState       = SOLD NIGHT SNOW
      AliasConditionState       = SOLD DAMAGED NIGHT SNOW
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT SNOW
    End
  End
End

Object Demo_GLAScudStorm
  WeaponSet
    Conditions        = None
    Weapon            = SECONDARY Demo_ScudStormWeapon
    AutoChooseSources = SECONDARY NONE
  End
  ReplaceModule ModuleTag_01
    Draw = W3DModelDraw ModuleTag_01_Fix
      OkToChangeModelColor = Yes
      ProjectileBoneFeedbackEnabledSlots = SECONDARY
      ConditionState = NONE
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY Trans_ATTACKING
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B
      TransitionState = Trans_ATTACKING Trans_READY
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED Trans_ATTACKING_DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED Trans_READY_DAMAGED
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED Trans_ATTACKING_REALLYDAMAGED
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED Trans_READY_REALLYDAMAGED
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState =  SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_SNOW Trans_ATTACKING_SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING  SNOW
        Model         = UBScudStrm_A2S
        Animation     = UBScudStrm_A2S.UBScudStrm_A2S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B  SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B  SNOW
      TransitionState = Trans_ATTACKING_SNOW Trans_READY_SNOW
        Model         = UBScudStrm_A3S
        Animation     = UBScudStrm_A3S.UBScudStrm_A3S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED  SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED  SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED  SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_SNOW Trans_ATTACKING_DAMAGED_SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED SNOW
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_SNOW Trans_READY_DAMAGED_SNOW
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_SNOW Trans_ATTACKING_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_SNOW Trans_READY_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHT Trans_ATTACKING_NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT
      TransitionState = Trans_ATTACKING_NIGHT Trans_READY_NIGHT
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHT Trans_ATTACKING_DAMAGED_NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHT Trans_READY_DAMAGED_NIGHT
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHT Trans_ATTACKING_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHT Trans_READY_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT SNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHTSNOW Trans_ATTACKING_NIGHTSNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT SNOW
        Model         = UBScudStrm_A2NS
        Animation     = UBScudStrm_A2NS.UBScudStrm_A2NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT SNOW
      TransitionState = Trans_ATTACKING_NIGHTSNOW Trans_READY_NIGHTSNOW
        Model         = UBScudStrm_A3NS
        Animation     = UBScudStrm_A3NS.UBScudStrm_A3NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHTSNOW Trans_ATTACKING_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHTSNOW Trans_READY_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHTSNOW Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW Trans_READY_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = SOLD
        Model              = NONE
      End
      AliasConditionState       = SOLD DAMAGED
      AliasConditionState       = SOLD REALLYDAMAGED
      AliasConditionState       = SOLD SNOW
      AliasConditionState       = SOLD DAMAGED SNOW
      AliasConditionState       = SOLD REALLYDAMAGED SNOW
      AliasConditionState       = SOLD NIGHT
      AliasConditionState       = SOLD DAMAGED NIGHT
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT
      AliasConditionState       = SOLD NIGHT SNOW
      AliasConditionState       = SOLD DAMAGED NIGHT SNOW
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT SNOW
    End
  End
End

Object GC_Chem_GLAScudStorm
  WeaponSet
    Conditions        = None
    Weapon            = SECONDARY GC_Chem_ScudStormWeapon
    AutoChooseSources = SECONDARY NONE
  End
  ReplaceModule ModuleTag_01
    Draw = W3DModelDraw ModuleTag_01_Fix
      OkToChangeModelColor = Yes
      ProjectileBoneFeedbackEnabledSlots = SECONDARY
      ConditionState = NONE
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY Trans_ATTACKING
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B
      TransitionState = Trans_ATTACKING Trans_READY
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED Trans_ATTACKING_DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED Trans_READY_DAMAGED
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED Trans_ATTACKING_REALLYDAMAGED
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED Trans_READY_REALLYDAMAGED
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState =  SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_SNOW Trans_ATTACKING_SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING  SNOW
        Model         = UBScudStrm_A2S
        Animation     = UBScudStrm_A2S.UBScudStrm_A2S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B  SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B  SNOW
      TransitionState = Trans_ATTACKING_SNOW Trans_READY_SNOW
        Model         = UBScudStrm_A3S
        Animation     = UBScudStrm_A3S.UBScudStrm_A3S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED  SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED  SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED  SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_SNOW Trans_ATTACKING_DAMAGED_SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED SNOW
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_SNOW Trans_READY_DAMAGED_SNOW
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_SNOW Trans_ATTACKING_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_SNOW Trans_READY_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHT Trans_ATTACKING_NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT
      TransitionState = Trans_ATTACKING_NIGHT Trans_READY_NIGHT
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHT Trans_ATTACKING_DAMAGED_NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHT Trans_READY_DAMAGED_NIGHT
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHT Trans_ATTACKING_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHT Trans_READY_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT SNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHTSNOW Trans_ATTACKING_NIGHTSNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT SNOW
        Model         = UBScudStrm_A2NS
        Animation     = UBScudStrm_A2NS.UBScudStrm_A2NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT SNOW
      TransitionState = Trans_ATTACKING_NIGHTSNOW Trans_READY_NIGHTSNOW
        Model         = UBScudStrm_A3NS
        Animation     = UBScudStrm_A3NS.UBScudStrm_A3NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHTSNOW Trans_ATTACKING_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHTSNOW Trans_READY_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHTSNOW Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW Trans_READY_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = SOLD
        Model              = NONE
      End
      AliasConditionState       = SOLD DAMAGED
      AliasConditionState       = SOLD REALLYDAMAGED
      AliasConditionState       = SOLD SNOW
      AliasConditionState       = SOLD DAMAGED SNOW
      AliasConditionState       = SOLD REALLYDAMAGED SNOW
      AliasConditionState       = SOLD NIGHT
      AliasConditionState       = SOLD DAMAGED NIGHT
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT
      AliasConditionState       = SOLD NIGHT SNOW
      AliasConditionState       = SOLD DAMAGED NIGHT SNOW
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT SNOW
    End
  End
End

Object GC_Slth_GLAScudStorm
  WeaponSet
    Conditions        = None
    Weapon            = SECONDARY ScudStormWeapon
    AutoChooseSources = SECONDARY NONE
  End
  ReplaceModule ModuleTag_01
    Draw = W3DModelDraw ModuleTag_01_Fix
      OkToChangeModelColor = Yes
      ProjectileBoneFeedbackEnabledSlots = SECONDARY
      ConditionState = NONE
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY Trans_ATTACKING
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B
      TransitionState = Trans_ATTACKING Trans_READY
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED Trans_ATTACKING_DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED Trans_READY_DAMAGED
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED Trans_ATTACKING_REALLYDAMAGED
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED Trans_READY_REALLYDAMAGED
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState =  SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_SNOW Trans_ATTACKING_SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING  SNOW
        Model         = UBScudStrm_A2S
        Animation     = UBScudStrm_A2S.UBScudStrm_A2S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B  SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B  SNOW
      TransitionState = Trans_ATTACKING_SNOW Trans_READY_SNOW
        Model         = UBScudStrm_A3S
        Animation     = UBScudStrm_A3S.UBScudStrm_A3S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED  SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED  SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED  SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_SNOW Trans_ATTACKING_DAMAGED_SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED SNOW
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_SNOW Trans_READY_DAMAGED_SNOW
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_SNOW Trans_ATTACKING_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_SNOW Trans_READY_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHT Trans_ATTACKING_NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT
      TransitionState = Trans_ATTACKING_NIGHT Trans_READY_NIGHT
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHT Trans_ATTACKING_DAMAGED_NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHT Trans_READY_DAMAGED_NIGHT
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHT Trans_ATTACKING_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHT Trans_READY_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT SNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHTSNOW Trans_ATTACKING_NIGHTSNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT SNOW
        Model         = UBScudStrm_A2NS
        Animation     = UBScudStrm_A2NS.UBScudStrm_A2NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT SNOW
      TransitionState = Trans_ATTACKING_NIGHTSNOW Trans_READY_NIGHTSNOW
        Model         = UBScudStrm_A3NS
        Animation     = UBScudStrm_A3NS.UBScudStrm_A3NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHTSNOW Trans_ATTACKING_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHTSNOW Trans_READY_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHTSNOW Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW Trans_READY_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = SOLD
        Model              = NONE
      End
      AliasConditionState       = SOLD DAMAGED
      AliasConditionState       = SOLD REALLYDAMAGED
      AliasConditionState       = SOLD SNOW
      AliasConditionState       = SOLD DAMAGED SNOW
      AliasConditionState       = SOLD REALLYDAMAGED SNOW
      AliasConditionState       = SOLD NIGHT
      AliasConditionState       = SOLD DAMAGED NIGHT
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT
      AliasConditionState       = SOLD NIGHT SNOW
      AliasConditionState       = SOLD DAMAGED NIGHT SNOW
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT SNOW
    End
  End
End

Object Boss_ScudStorm
  WeaponSet
    Conditions        = None
    Weapon            = SECONDARY ScudStormWeapon
    AutoChooseSources = SECONDARY NONE
  End
  ReplaceModule ModuleTag_01
    Draw = W3DModelDraw ModuleTag_01_Fix
      OkToChangeModelColor = Yes
      ProjectileBoneFeedbackEnabledSlots = SECONDARY
      ConditionState = NONE
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY Trans_ATTACKING
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B
      TransitionState = Trans_ATTACKING Trans_READY
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED Trans_ATTACKING_DAMAGED
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED Trans_READY_DAMAGED
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED Trans_ATTACKING_REALLYDAMAGED
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED Trans_READY_REALLYDAMAGED
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState =  SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_SNOW Trans_ATTACKING_SNOW
        Model         = UBScudStrm_A1S
        Animation     = UBScudStrm_A1S.UBScudStrm_A1S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING  SNOW
        Model         = UBScudStrm_A2S
        Animation     = UBScudStrm_A2S.UBScudStrm_A2S
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B  SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B  SNOW
      TransitionState = Trans_ATTACKING_SNOW Trans_READY_SNOW
        Model         = UBScudStrm_A3S
        Animation     = UBScudStrm_A3S.UBScudStrm_A3S
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED  SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED  SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED  SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_SNOW Trans_ATTACKING_DAMAGED_SNOW
        Model         = UBScudStrm_DA1
        Animation     = UBScudStrm_DA1.UBScudStrm_DA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED SNOW
        Model         = UBScudStrm_DA2
        Animation     = UBScudStrm_DA2.UBScudStrm_DA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_SNOW Trans_READY_DAMAGED_SNOW
        Model         = UBScudStrm_DA3
        Animation     = UBScudStrm_DA3.UBScudStrm_DA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_SNOW Trans_ATTACKING_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA1
        Animation     = UBScudStrm_EA1.UBScudStrm_EA1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE SNOW
        Model         = UBScudStrm_EA2
        Animation     = UBScudStrm_EA2.UBScudStrm_EA2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_SNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_SNOW Trans_READY_REALLYDAMAGED_SNOW
        Model         = UBScudStrm_EA3
        Animation     = UBScudStrm_EA3.UBScudStrm_EA3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHT Trans_ATTACKING_NIGHT
        Model         = UBScudStrm_A1
        Animation     = UBScudStrm_A1.UBScudStrm_A1
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT
        Model         = UBScudStrm_A2
        Animation     = UBScudStrm_A2.UBScudStrm_A2
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT
      TransitionState = Trans_ATTACKING_NIGHT Trans_READY_NIGHT
        Model         = UBScudStrm_A3
        Animation     = UBScudStrm_A3.UBScudStrm_A3
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHT Trans_ATTACKING_DAMAGED_NIGHT
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHT Trans_READY_DAMAGED_NIGHT
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHT Trans_ATTACKING_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHT
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHT Trans_READY_REALLYDAMAGED_NIGHT
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = NIGHT SNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_NIGHTSNOW Trans_ATTACKING_NIGHTSNOW
        Model         = UBScudStrm_A1NS
        Animation     = UBScudStrm_A1NS.UBScudStrm_A1NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING NIGHT SNOW
        Model         = UBScudStrm_A2NS
        Animation     = UBScudStrm_A2NS.UBScudStrm_A2NS
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT SNOW
      TransitionState = Trans_ATTACKING_NIGHTSNOW Trans_READY_NIGHTSNOW
        Model         = UBScudStrm_A3NS
        Animation     = UBScudStrm_A3NS.UBScudStrm_A3NS
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
        Model              = UBScudStrm
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED NIGHT SNOW
        Model              = UBScudStrm_D
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED NIGHT SNOW
        Model              = UBScudStrm_E
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      ConditionState = DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_DAMAGED_NIGHTSNOW Trans_ATTACKING_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA1N
        Animation     = UBScudStrm_DA1N.UBScudStrm_DA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING DAMAGED NIGHT SNOW
        Model         = UBScudStrm_DA2N
        Animation     = UBScudStrm_DA2N.UBScudStrm_DA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_DAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT DAMAGED SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT DAMAGED SNOW
      TransitionState = Trans_ATTACKING_DAMAGED_NIGHTSNOW Trans_READY_DAMAGED_NIGHTSNOW
        Model         = UBScudStrm_DA3N
        Animation     = UBScudStrm_DA3N.UBScudStrm_DA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState = REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        ShowSubObject = WeaponA01 WeaponA02 WeaponA03 WeaponA04 WeaponA05 WeaponA06 WeaponA07 WeaponA08 WeaponA09
        TransitionKey = Trans_READY_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
      End
      TransitionState = Trans_READY_REALLYDAMAGED_NIGHTSNOW Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA1N
        Animation     = UBScudStrm_EA1N.UBScudStrm_EA1N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES
        WeaponLaunchBone = SECONDARY WeaponA
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      ConditionState = ATTACKING REALLYDAMAGED RUBBLE NIGHT SNOW
        Model         = UBScudStrm_EA2N
        Animation     = UBScudStrm_EA2N.UBScudStrm_EA2N
        AnimationMode = MANUAL
        Flags         = START_FRAME_FIRST
        WeaponLaunchBone = SECONDARY WeaponA
        TransitionKey = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW
        ParticleSysBone      = SteamM01 SteamLarge
        ParticleSysBone      = SteamS01 SteamMedium
        ParticleSysBone      = FXBone01 ScudStormBuildingGoo
        ParticleSysBone      = FXBone02 ScudStormBuildingGoo
        ParticleSysBone      = FXBone03 ScudStormBuildingGoo
      End
      AliasConditionState = ATTACKING FIRING_B NIGHT REALLYDAMAGED RUBBLE SNOW
      AliasConditionState = ATTACKING BETWEEN_FIRING_SHOTS_B NIGHT REALLYDAMAGED RUBBLE SNOW
      TransitionState = Trans_ATTACKING_REALLYDAMAGED_NIGHTSNOW Trans_READY_REALLYDAMAGED_NIGHTSNOW
        Model         = UBScudStrm_EA3N
        Animation     = UBScudStrm_EA3N.UBScudStrm_EA3N
        AnimationMode = ONCE
        Flags         = MAINTAIN_FRAME_ACROSS_STATES2
        ParticleSysBone      = SteamM01 SteamVent
        ParticleSysBone      = SteamS01 SteamVent
      End
      ConditionState       = SOLD
        Model              = NONE
      End
      AliasConditionState       = SOLD DAMAGED
      AliasConditionState       = SOLD REALLYDAMAGED
      AliasConditionState       = SOLD SNOW
      AliasConditionState       = SOLD DAMAGED SNOW
      AliasConditionState       = SOLD REALLYDAMAGED SNOW
      AliasConditionState       = SOLD NIGHT
      AliasConditionState       = SOLD DAMAGED NIGHT
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT
      AliasConditionState       = SOLD NIGHT SNOW
      AliasConditionState       = SOLD DAMAGED NIGHT SNOW
      AliasConditionState       = SOLD REALLYDAMAGED NIGHT SNOW
    End
  End
End

; ==== Rangers of the right general ================================================================

; Paradrop and the Particle Uplink's rubble gave the three American generals the plain USA
; Ranger. They now use the per-general lists in ObjectCreationListReforged.ini.

Object AirF_AmericaCommandCenter
  ReplaceModule ModuleTag_22
    Behavior = OCLSpecialPower ModuleTag_22_Fix
      SpecialPowerTemplate        = SuperweaponParadropAmerica
      UpgradeOCL                  = SCIENCE_Paradrop3 AirF_SUPERWEAPON_Paradrop3
      UpgradeOCL                  = SCIENCE_Paradrop2 AirF_SUPERWEAPON_Paradrop2
      OCL                         = AirF_SUPERWEAPON_Paradrop1
      CreateLocation              = CREATE_AT_EDGE_NEAR_SOURCE
      OCLAdjustPositionToPassable = Yes
    End
  End
End

Object Lazr_AmericaCommandCenter
  ReplaceModule ModuleTag_22
    Behavior = OCLSpecialPower ModuleTag_22_Fix
      SpecialPowerTemplate        = SuperweaponParadropAmerica
      UpgradeOCL                  = SCIENCE_Paradrop3 Lazr_SUPERWEAPON_Paradrop3
      UpgradeOCL                  = SCIENCE_Paradrop2 Lazr_SUPERWEAPON_Paradrop2
      OCL                         = Lazr_SUPERWEAPON_Paradrop1
      CreateLocation              = CREATE_AT_EDGE_NEAR_SOURCE
      OCLAdjustPositionToPassable = Yes
    End
  End
End

Object SupW_AmericaCommandCenter
  ReplaceModule ModuleTag_22
    Behavior = OCLSpecialPower ModuleTag_22_Fix
      SpecialPowerTemplate        = SuperweaponParadropAmerica
      UpgradeOCL                  = SCIENCE_Paradrop3 SupW_SUPERWEAPON_Paradrop3
      UpgradeOCL                  = SCIENCE_Paradrop2 SupW_SUPERWEAPON_Paradrop2
      OCL                         = SupW_SUPERWEAPON_Paradrop1
      CreateLocation              = CREATE_AT_EDGE_NEAR_SOURCE
      OCLAdjustPositionToPassable = Yes
    End
  End
End

Object AirF_AmericaParticleCannonUplink
  ReplaceModule ModuleTag_18
    Behavior = SlowDeathBehavior ModuleTag_18_Fix
      ExemptStatus     = UNDER_CONSTRUCTION
      DestructionDelay = 2000
      FX               = INITIAL FX_ParticleUplinkDeathInitial
      OCL              = INITIAL OCL_SDILinkLasers
      FX               = FINAL   FX_StructureMediumDeath
      OCL              = FINAL   AirF_OCL_ParticleUplinkDeathFinal
    End
  End
End

Object Lazr_AmericaParticleCannonUplink
  ReplaceModule ModuleTag_18
    Behavior = SlowDeathBehavior ModuleTag_18_Fix
      ExemptStatus     = UNDER_CONSTRUCTION
      DestructionDelay = 2000
      FX               = INITIAL FX_ParticleUplinkDeathInitial
      OCL              = INITIAL OCL_SDILinkLasers
      FX               = FINAL   FX_StructureMediumDeath
      OCL              = FINAL   Lazr_OCL_ParticleUplinkDeathFinal
    End
  End
End

Object SupW_AmericaParticleCannonUplink
  ReplaceModule ModuleTag_18
    Behavior = SlowDeathBehavior ModuleTag_18_Fix
      ExemptStatus     = UNDER_CONSTRUCTION
      DestructionDelay = 2000
      FX               = INITIAL SupW_FX_ParticleUplinkDeathInitial
      OCL              = INITIAL SupW_OCL_SDILinkLasers
      FX               = FINAL   FX_StructureMediumDeath
      OCL              = FINAL   SupW_OCL_ParticleUplinkDeathFinal
    End
  End
End

; The lasers the dying SupW uplink throws, pink like its beam. EA's model names one texture,
; EXLaser2.tga, and ReforgedLaserPink.tga is the same gradient with the blue turned magenta.
; A reskin keeps the lifetime, body and death of SDILasers and swaps only the draw module.
ObjectReskin SupW_SDILasers SDILasers
  Draw                     = W3DModelDraw ModuleTag_01_Pink
    OkToChangeModelColor   = Yes
    ReplaceTexture         = EXLaser2.tga ReforgedLaserPink.tga
    ConditionState         = NONE
      Model                = ABSDILink_L
      Animation            = ABSDILink_L.ABSDILink_L
      AnimationMode        = ONCE
    End
  End
End

; ==== Wreckage ====================================================================================

; Every thrown piece of wreckage is a GenericDebris. PhysicsBehavior kills it the moment it comes to
; rest, and EA's slow death then left it on the ground for one second, sank it for another and
; removed it. It now lies for three seconds and is gone at five, so a dead tank's plates and a
; building's chunks are still on the ground when the smoke clears. ObjectCreationListReforged.ini
; throws more of them. Not a balance change: debris is UNATTACKABLE and never enters the
; pathfinding map, so no unit aims at it or drives around it. Old replays no longer play back.

Object GenericDebris
  ReplaceModule ModuleTag_04
    Behavior = SlowDeathBehavior ModuleTag_04_Wreck
      SinkDelay        = 3000
      SinkRate         = 1     ; in Dist/Sec
      DestructionDelay = 5000
    End
  End
End

; ==== Alpha Aurora bomb ===========================================================================

; The fuel-air bomb died 15 above the ground or above any roof it passed, and a 12 radius let it
; hit buildings early, so the fuel-air blast went off in the air over the target instead of on it.
; Its drag was also sixteen times the plain Aurora bomb's, and it hung for a frame or two before
; landing. The blast now comes from the impact, as the plain bomb's does. The weapon keeps EA's 400
; over a radius of 20: in retail the bomb touched its target and detonated before it fell to 15,
; then died inside its three kill-self frames and left the gas, so the hit landed and the blast
; followed a second later. Measured on 2026-10-09, an Overlord took 400 at impact and the 900 blast
; 29 frames on in retail, and takes the same pair 32 frames apart here.

Weapon SupW_AuroraFuelBombWeapon
  ProjectileDetonationOCL = SupW_OCL_FuelAirBomb
  ProjectileDetonationFX  = AirF_FX_AuroraBombExplode
End

Object SupW_AuroraFuelAirBomb
  RemoveModule ModuleTag_03
  RemoveModule ModuleTag_04
  RemoveModule ModuleTag_07
  ReplaceModule ModuleTag_05
    Behavior = PhysicsBehavior ModuleTag_05_Fix
      Mass                = 75.0
      AerodynamicFriction = 2
      ForwardFriction     = 2
      CenterOfMassOffset  = 2
    End
  End
  GeometryMajorRadius = 2.0
End

; ==== EMP Pulse bomb ==============================================================================

; China's EMP Pulse bomb died 15 above the ground, so its flash and the EMP sphere went off in the
; air while the bomb was still falling. The sphere then waited 300 ms before it disabled anything,
; so the vehicles went dark a third of a second after the flash. The bomb now dies on the ground and
; the sphere disables three ticks after it appears, with the flash. The sphere's colour fade starts
; at that tick, so it turns from blue to black over the same three seconds as before.

Object EMPPulseBomb
  ReplaceModule ModuleTag_05
    Behavior = HeightDieUpdate ModuleTag_05_Fix
      TargetHeight = 1.0
      TargetHeightIncludesStructures = No
      SnapToGroundOnDeath = Yes
    End
  End
End

Object EMPPulseEffectSpheroid
  ReplaceModule ModuleTag_02
    Behavior = EMPUpdate ModuleTag_02_Fix
      DisabledDuration    = 30000
      Lifetime            = 3000
      StartFadeTime       = 50
      StartScale          = 0.01
      TargetScaleMin      = 3.00
      TargetScaleMax      = 4.00
      StartColor          = R:32 G:64 B:255
      EndColor            = R:0 G:0 B:0
      DoesNotAffectMyOwnBuildings = No
      DisableFXParticleSystem = EMPSparks
    End
  End
End

; ==== Campaign battleships ========================================================================

; The battleships name a flash bone at each muzzle and no launch bone, so a shell left from the
; ship's origin swung round the turret's pivot: about 65 past the front guns' muzzles and under the
; waterline for the back guns'. The muzzles are now the launch bones too, three a turret as drawn.
; EA's draw blocks otherwise unchanged.

Object AmericaVehicleBattleShip
  ReplaceModule ModuleTag_01
    Draw                   = W3DTankDraw ModuleTag_01_LaunchBones
      OkToChangeModelColor = Yes
      InitialRecoilSpeed   = 120
      MaxRecoilDistance    = 8
      RecoilSettleSpeed    = 6
      ConditionState       = NONE
        Model              = AVBattleSh
        Animation          = AVBattleSh.AVBattleSh
        AnimationMode      = LOOP
        Turret             = Turret01
        TurretPitch        = TurretEL01
        TurretArtAngle     = 180
        AltTurret          = Turret02
        AltTurretPitch     = TurretEL02
        WeaponFireFXBone   = PRIMARY Tur1Muzzle
        WeaponRecoilBone   = PRIMARY Tur1Barrel
        WeaponLaunchBone   = PRIMARY Tur1Muzzle
        WeaponFireFXBone   = SECONDARY Tur2Muzzle
        WeaponRecoilBone   = SECONDARY Tur2Barrel
        WeaponLaunchBone   = SECONDARY Tur2Muzzle
        ParticleSysBone    = TreadFX02 BattleShipWaterRipples
        ParticleSysBone    = TreadFX03 BattleShipWaterRipples
        ParticleSysBone    = TreadFX04 BattleShipWaterRipples
      End
    End
  End
End

Object AmericaVehicleBattleShipDemo
  ReplaceModule ModuleTag_01
    Draw                   = W3DTankDraw ModuleTag_01_LaunchBones
      OkToChangeModelColor = Yes
      InitialRecoilSpeed   = 120
      MaxRecoilDistance    = 8
      RecoilSettleSpeed    = 6
      ConditionState       = NONE
        Model              = avbattlesh
        Animation          = avbattlesh.avbattlesh
        AnimationMode      = LOOP
        Turret             = Turret01
        TurretPitch        = TurretEL01
        TurretArtAngle     = 180
        AltTurret          = Turret02
        AltTurretPitch     = TurretEL02
        WeaponFireFXBone   = PRIMARY Tur1Muzzle
        WeaponRecoilBone   = PRIMARY Tur1Barrel
        WeaponLaunchBone   = PRIMARY Tur1Muzzle
        WeaponFireFXBone   = SECONDARY Tur2Muzzle
        WeaponRecoilBone   = SECONDARY Tur2Barrel
        WeaponLaunchBone   = SECONDARY Tur2Muzzle
        ParticleSysBone    = TreadFX02 BattleShipWaterRipples
        ParticleSysBone    = TreadFX03 BattleShipWaterRipples
        ParticleSysBone    = TreadFX04 BattleShipWaterRipples
      End
      ConditionState       = DAMAGED
        Model              = avbattlesh_D
        Animation          = avbattlesh_D.avbattlesh_D
        AnimationMode      = LOOP
      End
      ConditionState       = REALLYDAMAGED RUBBLE
        Model              = avbattlesh_D1
        Animation          = avbattlesh_D1.avbattlesh_D1
        AnimationMode      = LOOP
      End
    End
  End
End

Object AmericaVehicleBattleShipUSSBender
  ReplaceModule ModuleTag_01
    Draw                   = W3DTankDraw ModuleTag_01_LaunchBones
      OkToChangeModelColor = Yes
      InitialRecoilSpeed   = 120
      MaxRecoilDistance    = 8
      RecoilSettleSpeed    = 6
      ConditionState       = NONE
        Model              = avbattlesh
        Animation          = avbattlesh.avbattlesh
        AnimationMode      = LOOP
        Turret             = Turret01
        TurretPitch        = TurretEL01
        TurretArtAngle     = 180
        AltTurret          = Turret02
        AltTurretPitch     = TurretEL02
        WeaponFireFXBone   = PRIMARY Tur1Muzzle
        WeaponRecoilBone   = PRIMARY Tur1Barrel
        WeaponLaunchBone   = PRIMARY Tur1Muzzle
        WeaponFireFXBone   = SECONDARY Tur2Muzzle
        WeaponRecoilBone   = SECONDARY Tur2Barrel
        WeaponLaunchBone   = SECONDARY Tur2Muzzle
        ParticleSysBone    = TreadFX02 BattleShipWaterRipples
        ParticleSysBone    = TreadFX03 BattleShipWaterRipples
        ParticleSysBone    = TreadFX04 BattleShipWaterRipples
      End
      ConditionState       = DAMAGED
        Model              = avbattlesh_D
        Animation          = avbattlesh_D.avbattlesh_D
        AnimationMode      = LOOP
      End
      ConditionState       = REALLYDAMAGED RUBBLE
        Model              = avbattlesh_D1
        Animation          = avbattlesh_D1.avbattlesh_D1
        AnimationMode      = LOOP
      End
    End
  End
End

; ==== Powers and abilities ========================================================================

; The American generals' promotion screen offered the Pathfinder and the Stealth Fighter through
; the plain USA buttons, whose tooltip reads its "Requires" line from the plain unit: an Airfield
; or a Barracks these generals never build. CommandSetReforged.ini gives them their own buttons.

; The China Command Centers each carry one carpet bomber. The Nuke bomber and the early one share
; a shortcut type, so a Nuke player holding a captured China or Infantry Command Center could have
; the shortcut pick a building without his bomber, and the button went dead. The computer's China,
; Infantry and Nuke players buy the Tank General's carpet bomb science and fire the Tank General's
; bomber, which only his Command Center had, so their fifth promotion point did nothing. Every
; China Command Center now carries all three; each fires only for the science its owner holds.

Object ChinaCommandCenter
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Tank_Fix
      SpecialPowerTemplate = SuperweaponChinaCarpetBomb
      OCL                  = SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Nuke_Fix
      SpecialPowerTemplate = Nuke_SuperweaponChinaCarpetBomb
      OCL                  = Nuke_SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
End

Object Infa_ChinaCommandCenter
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Tank_Fix
      SpecialPowerTemplate = SuperweaponChinaCarpetBomb
      OCL                  = SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Nuke_Fix
      SpecialPowerTemplate = Nuke_SuperweaponChinaCarpetBomb
      OCL                  = Nuke_SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
End

Object Tank_ChinaCommandCenter
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Early_Fix
      SpecialPowerTemplate = Early_SuperweaponChinaCarpetBomb
      OCL                  = SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Nuke_Fix
      SpecialPowerTemplate = Nuke_SuperweaponChinaCarpetBomb
      OCL                  = Nuke_SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
End

Object Nuke_ChinaCommandCenter
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Early_Fix
      SpecialPowerTemplate = Early_SuperweaponChinaCarpetBomb
      OCL                  = SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
  AddModule
    Behavior = OCLSpecialPower ModuleTag_22Tank_Fix
      SpecialPowerTemplate = SuperweaponChinaCarpetBomb
      OCL                  = SUPERWEAPON_ChinaCarpetBomb
      CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
    End
  End
End

; The Super Hacker's building hack played the plain Hacker's voice. His own line for it is
; recorded and was never named.

Object Infa_ChinaInfantryHacker
  ReplaceModule ModuleTag_04
    Behavior = SpecialAbility ModuleTag_04_Fix
      SpecialPowerTemplate     = SpecialAbilityHackerDisableBuilding
      UpdateModuleStartsAttack = Yes
      InitiateSound            = SuperHackerVoiceHackBuilding
    End
  End
End

; The Artillery Barrage's shells reported the A-10 strike as finished when they landed, a line
; copied from the A-10's missile, so a map script waiting on either power heard the wrong one.

Object ChinaArtilleryBarrageShell
  ReplaceModule ModuleTag_11
    Behavior = SpecialPowerCompletionDie ModuleTag_11_Fix
      SpecialPowerTemplate = SuperweaponArtilleryBarrage
    End
  End
End

; The Demolitions Combat Bike swapped every bike's buttons once the Demo upgrade finished: Jarmen
; Kell riding one lost his pilot snipe, and every bike showed a suicide button for a weapon slot
; the bike does not have, grey for the rest of the match. A Terrorist rider carries his own.

Object Demo_GLAVehicleCombatBike
  RemoveModule ModuleTag_23
End

; Jarmen Kell's timed charge played his attack line as the planting sound, straight after the
; button had played it once. His remote charge and Burton's timed charge use the planting sound.

Object Demo_GLAInfantryJarmenKell
  ReplaceModule ModuleTag_11
    Behavior = SpecialAbilityUpdate ModuleTag_11_Fix
      SpecialPowerTemplate               = Demo_SpecialAbilityDemoKellTimedCharges
      StartAbilityRange                  = 0.0
      PreparationTime                    = 0
      SpecialObject                      = TimedC4Charge
      MaxSpecialObjects                  = 10
      SpecialObjectsPersistWhenOwnerDies = Yes
      SpecialObjectsPersistent           = Yes
      UniqueSpecialObjectTargets         = Yes
      UnpackTime                         = 5500
      FlipOwnerAfterUnpacking            = Yes
      FleeRangeAfterCompletion           = 100.0
      UnpackSound                        = ColonelBurtonPlantCharge
      LoseStealthOnTrigger               = Yes
      PreTriggerUnstealthTime            = 5000
    End
  End
End

; The Demolitions Bomb Truck showed the Demo upgrade's icon, and nothing on it answers that
; upgrade.

Object Demo_GLAVehicleBombTruck
  UpgradeCameo3 = None
End

; The Demolitions General's Rebel Ambush now answers his own sciences (ScienceReforged.ini), whose
; description counts the 4, 6 and 10 rebels he gets. The plain power stays for the computer, which
; buys the plain science.

Object Demo_GLACommandCenter
  AddModule
    Behavior = OCLSpecialPower ModuleTag_11Demo_Fix
      SpecialPowerTemplate        = Demo_SuperweaponRebelAmbush
      UpgradeOCL                  = Demo_SCIENCE_RebelAmbush3 Demo_SUPERWEAPON_RebelAmbush3
      UpgradeOCL                  = Demo_SCIENCE_RebelAmbush2 Demo_SUPERWEAPON_RebelAmbush2
      OCL                         = Demo_SUPERWEAPON_RebelAmbush1
      CreateLocation              = CREATE_AT_LOCATION
      OCLAdjustPositionToPassable = Yes
    End
  End
End

; The Toxin General's own ambush sciences and power were written and never wired, so his promotion
; screen described plain rebels while the power brought toxin ones. His buttons now buy and fire
; them. The plain power stays for the computer, which buys the plain science.

Object Chem_GLACommandCenter
  AddModule
    Behavior = OCLSpecialPower ModuleTag_11Chem_Fix
      SpecialPowerTemplate        = Chem_SuperweaponRebelAmbush
      UpgradeOCL                  = Chem_SCIENCE_RebelAmbush3 Chem_SUPERWEAPON_RebelAmbush3
      UpgradeOCL                  = Chem_SCIENCE_RebelAmbush2 Chem_SUPERWEAPON_RebelAmbush2
      OCL                         = Chem_SUPERWEAPON_RebelAmbush1
      CreateLocation              = CREATE_AT_LOCATION
      OCLAdjustPositionToPassable = Yes
    End
  End
End

; The Stealth General's Saboteur walked up to a China Internet Center or a GLA fake building and
; did nothing; every other GLA Saboteur disables the one and destroys the other. He also ranked up
; from salvage and experience, which no other Saboteur can.

Object Slth_GLAInfantrySaboteur
  IsTrainable = No
  AddModule
    Behavior = SabotageFakeBuildingCrateCollide SabotageTag_07_Fix
      BuildingPickup = Yes
    End
  End
  AddModule
    Behavior = SabotageInternetCenterCrateCollide SabotageTag_08_Fix
      BuildingPickup   = Yes
      SabotageDuration = 15000
    End
  End
End

; A Sneak Attack tunnel coming up out of the ground showed the Tunnel Network's portrait.

Object GLASneakAttackTunnelNetworkStart
  SelectPortrait = SUSneakAttack_L
  ButtonImage    = SUSneakAttack
End

; The Superweapon General's cannon glowed EA's blue when ready to fire, under a pink beam. The pink
; glow is in ParticleSystemReforged.ini.

Object SupW_AmericaParticleCannonUplink
  ReplaceModule ModuleTag_12
    Behavior = ParticleUplinkCannonUpdate ModuleTag_12_Fix
      SpecialPowerTemplate                  = SuperweaponParticleUplinkCannon
      BeginChargeTime                       = 5000
      RaiseAntennaTime                      = 4667
      ReadyDelayTime                        = 2000
      TotalFiringTime                       = 10000
      DamagePerSecond                       = 400
      TotalDamagePulses                     = 40
      WidthGrowTime                         = 2000
      BeamTravelTime                        = 2500
      DamageType                            = PARTICLE_BEAM
      DamageRadiusScalar                    = 3.4
      RevealRange                           = 50.0
      OuterEffectBoneName                   = FX
      OuterEffectNumBones                   = 5
      ConnectorBoneName                     = FXConnector
      FireBoneName                          = FXMain
      OuterNodesLightFlareParticleSystem    = SupW_ParticleUplinkCannon_OuterNodeLightFlare
      OuterNodesMediumFlareParticleSystem   = SupW_ParticleUplinkCannon_OuterNodeMediumFlare
      OuterNodesIntenseFlareParticleSystem  = SupW_ParticleUplinkCannon_OuterNodeIntenseFlare
      ConnectorMediumLaserName              = SupW_ParticleUplinkCannon_MediumConnectorLaser
      ConnectorIntenseLaserName             = SupW_ParticleUplinkCannon_IntenseConnectorLaser
      LaserBaseLightFlareParticleSystemName = SupW_ParticleUplinkCannon_LaserBaseReadyToFire
      ParticleBeamLaserName                 = SupW_ParticleUplinkCannon_OrbitalLaser
      GroundHitFX                           = FX_ParticleUplinkCannon_BeamHitsGround
      BeamLaunchFX                          = SupW_FX_ParticleUplinkCannon_BeamLaunchIteration
      DelayBetweenLaunchFX                  = 1000
      TotalScorchMarks                      = 20
      ScorchMarkScalar                      = 2.4
      SwathOfDeathDistance                  = 200.0
      SwathOfDeathAmplitude                 = 50.0
      ManualDrivingSpeed                    = 20
      ManualFastDrivingSpeed                = 40
      DoubleClickToFastDriveDelay           = 500
      PoweringUpSoundLoop                   = ParticleUplinkCannon_PowerupSoundLoop
      UnpackToIdleSoundLoop                 = ParticleUplinkCannon_UnpackToIdleSoundLoop
      FiringToPackSoundLoop                 = ParticleUplinkCannon_FiringToPackSoundLoop
      GroundAnnihilationSoundLoop           = ParticleUplinkCannon_GroundAnnihilationSoundLoop
      DamagePulseRemnantObjectName          = ParticleUplinkCannonTrailRemnant
    End
  End
End

; The Particle Uplink's dish named a model and no animation while the building went up, so it
; cycled its deploy animation over and over. The three construction states now hold the first
; frame, the way the finished dish does. The rest is EA's, and the same for all four generals.

Object AmericaParticleCannonUplink
  ReplaceModule ModuleTag_02
    Draw = W3DModelDraw ModuleTag_02_Fix
      ExtraPublicBone      = FXConnector
      ExtraPublicBone      = FXMain
      OkToChangeModelColor = Yes
      ConditionState       = NONE
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT
      AliasConditionState  = NIGHT SNOW
      AliasConditionState  = SNOW
      ConditionState       = DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT DAMAGED
      AliasConditionState  = NIGHT SNOW DAMAGED
      AliasConditionState  = SNOW DAMAGED
      ConditionState       = REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW REALLYDAMAGED RUBBLE
      ConditionState       = AWAITING_CONSTRUCTION
        Model              = None
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      ConditionState       = UNPACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING
      AliasConditionState  = NIGHT SNOW UNPACKING
      AliasConditionState  = SNOW UNPACKING
      ConditionState       = UNPACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING DAMAGED
      AliasConditionState  = NIGHT SNOW UNPACKING DAMAGED
      AliasConditionState  = SNOW UNPACKING DAMAGED
      ConditionState       = UNPACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW UNPACKING REALLYDAMAGED RUBBLE
      ConditionState       = DEPLOYED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED
      AliasConditionState  = NIGHT SNOW DEPLOYED
      AliasConditionState  = SNOW DEPLOYED
      ConditionState       = DEPLOYED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED DAMAGED
      AliasConditionState  = NIGHT SNOW DEPLOYED DAMAGED
      AliasConditionState  = SNOW DEPLOYED DAMAGED
      ConditionState       = DEPLOYED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW DEPLOYED REALLYDAMAGED RUBBLE
      ConditionState       = PACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING
      AliasConditionState  = NIGHT SNOW PACKING
      AliasConditionState  = SNOW PACKING
      ConditionState       = PACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING DAMAGED
      AliasConditionState  = NIGHT SNOW PACKING DAMAGED
      AliasConditionState  = SNOW PACKING DAMAGED
      ConditionState       = PACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW PACKING REALLYDAMAGED RUBBLE
      ConditionState       = SOLD DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD SNOW DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT SNOW DEPLOYED
        Model              = NONE
      End
    End
  End
End

Object AirF_AmericaParticleCannonUplink
  ReplaceModule ModuleTag_02
    Draw = W3DModelDraw ModuleTag_02_Fix
      ExtraPublicBone      = FXConnector
      ExtraPublicBone      = FXMain
      OkToChangeModelColor = Yes
      ConditionState       = NONE
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT
      AliasConditionState  = NIGHT SNOW
      AliasConditionState  = SNOW
      ConditionState       = DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT DAMAGED
      AliasConditionState  = NIGHT SNOW DAMAGED
      AliasConditionState  = SNOW DAMAGED
      ConditionState       = REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW REALLYDAMAGED RUBBLE
      ConditionState       = AWAITING_CONSTRUCTION
        Model              = None
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      ConditionState       = UNPACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING
      AliasConditionState  = NIGHT SNOW UNPACKING
      AliasConditionState  = SNOW UNPACKING
      ConditionState       = UNPACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING DAMAGED
      AliasConditionState  = NIGHT SNOW UNPACKING DAMAGED
      AliasConditionState  = SNOW UNPACKING DAMAGED
      ConditionState       = UNPACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW UNPACKING REALLYDAMAGED RUBBLE
      ConditionState       = DEPLOYED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED
      AliasConditionState  = NIGHT SNOW DEPLOYED
      AliasConditionState  = SNOW DEPLOYED
      ConditionState       = DEPLOYED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED DAMAGED
      AliasConditionState  = NIGHT SNOW DEPLOYED DAMAGED
      AliasConditionState  = SNOW DEPLOYED DAMAGED
      ConditionState       = DEPLOYED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW DEPLOYED REALLYDAMAGED RUBBLE
      ConditionState       = PACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING
      AliasConditionState  = NIGHT SNOW PACKING
      AliasConditionState  = SNOW PACKING
      ConditionState       = PACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING DAMAGED
      AliasConditionState  = NIGHT SNOW PACKING DAMAGED
      AliasConditionState  = SNOW PACKING DAMAGED
      ConditionState       = PACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW PACKING REALLYDAMAGED RUBBLE
      ConditionState       = SOLD DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD SNOW DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT SNOW DEPLOYED
        Model              = NONE
      End
    End
  End
End

Object Lazr_AmericaParticleCannonUplink
  ReplaceModule ModuleTag_02
    Draw = W3DModelDraw ModuleTag_02_Fix
      ExtraPublicBone      = FXConnector
      ExtraPublicBone      = FXMain
      OkToChangeModelColor = Yes
      ConditionState       = NONE
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT
      AliasConditionState  = NIGHT SNOW
      AliasConditionState  = SNOW
      ConditionState       = DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT DAMAGED
      AliasConditionState  = NIGHT SNOW DAMAGED
      AliasConditionState  = SNOW DAMAGED
      ConditionState       = REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW REALLYDAMAGED RUBBLE
      ConditionState       = AWAITING_CONSTRUCTION
        Model              = None
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      ConditionState       = UNPACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING
      AliasConditionState  = NIGHT SNOW UNPACKING
      AliasConditionState  = SNOW UNPACKING
      ConditionState       = UNPACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING DAMAGED
      AliasConditionState  = NIGHT SNOW UNPACKING DAMAGED
      AliasConditionState  = SNOW UNPACKING DAMAGED
      ConditionState       = UNPACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW UNPACKING REALLYDAMAGED RUBBLE
      ConditionState       = DEPLOYED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED
      AliasConditionState  = NIGHT SNOW DEPLOYED
      AliasConditionState  = SNOW DEPLOYED
      ConditionState       = DEPLOYED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED DAMAGED
      AliasConditionState  = NIGHT SNOW DEPLOYED DAMAGED
      AliasConditionState  = SNOW DEPLOYED DAMAGED
      ConditionState       = DEPLOYED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW DEPLOYED REALLYDAMAGED RUBBLE
      ConditionState       = PACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING
      AliasConditionState  = NIGHT SNOW PACKING
      AliasConditionState  = SNOW PACKING
      ConditionState       = PACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING DAMAGED
      AliasConditionState  = NIGHT SNOW PACKING DAMAGED
      AliasConditionState  = SNOW PACKING DAMAGED
      ConditionState       = PACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW PACKING REALLYDAMAGED RUBBLE
      ConditionState       = SOLD DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD SNOW DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT SNOW DEPLOYED
        Model              = NONE
      End
    End
  End
End

Object SupW_AmericaParticleCannonUplink
  ReplaceModule ModuleTag_02
    Draw = W3DModelDraw ModuleTag_02_Fix
      ExtraPublicBone      = FXConnector
      ExtraPublicBone      = FXMain
      OkToChangeModelColor = Yes
      ConditionState       = NONE
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT
      AliasConditionState  = NIGHT SNOW
      AliasConditionState  = SNOW
      ConditionState       = DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT DAMAGED
      AliasConditionState  = NIGHT SNOW DAMAGED
      AliasConditionState  = SNOW DAMAGED
      ConditionState       = REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_FIRST
      End
      AliasConditionState  = NIGHT REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW REALLYDAMAGED RUBBLE
      ConditionState       = AWAITING_CONSTRUCTION
        Model              = None
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
      ConditionState       = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
      End
      AliasConditionState  = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED RUBBLE
      ConditionState       = UNPACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING
      AliasConditionState  = NIGHT SNOW UNPACKING
      AliasConditionState  = SNOW UNPACKING
      ConditionState       = UNPACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING DAMAGED
      AliasConditionState  = NIGHT SNOW UNPACKING DAMAGED
      AliasConditionState  = SNOW UNPACKING DAMAGED
      ConditionState       = UNPACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE
        Flags              = MAINTAIN_FRAME_ACROSS_STATES2
      End
      AliasConditionState  = NIGHT UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW UNPACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW UNPACKING REALLYDAMAGED RUBBLE
      ConditionState       = DEPLOYED
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED
      AliasConditionState  = NIGHT SNOW DEPLOYED
      AliasConditionState  = SNOW DEPLOYED
      ConditionState       = DEPLOYED DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED DAMAGED
      AliasConditionState  = NIGHT SNOW DEPLOYED DAMAGED
      AliasConditionState  = SNOW DEPLOYED DAMAGED
      ConditionState       = DEPLOYED REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = MANUAL
        Flags              = START_FRAME_LAST
      End
      AliasConditionState  = NIGHT DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW DEPLOYED REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW DEPLOYED REALLYDAMAGED RUBBLE
      ConditionState       = PACKING
        Model              = ABSDILink_A1
        Animation          = ABSDILink_A1.ABSDILink_A1
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING
      AliasConditionState  = NIGHT SNOW PACKING
      AliasConditionState  = SNOW PACKING
      ConditionState       = PACKING DAMAGED
        Model              = ABSDILink_A1D
        Animation          = ABSDILink_A1D.ABSDILink_A1D
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING DAMAGED
      AliasConditionState  = NIGHT SNOW PACKING DAMAGED
      AliasConditionState  = SNOW PACKING DAMAGED
      ConditionState       = PACKING REALLYDAMAGED RUBBLE
        Model              = ABSDILink_A1E
        Animation          = ABSDILink_A1E.ABSDILink_A1E
        AnimationMode      = ONCE_BACKWARDS
        Flags              = MAINTAIN_FRAME_ACROSS_STATES3
      End
      AliasConditionState  = NIGHT PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = NIGHT SNOW PACKING REALLYDAMAGED RUBBLE
      AliasConditionState  = SNOW PACKING REALLYDAMAGED RUBBLE
      ConditionState       = SOLD DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD SNOW DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT DEPLOYED
        Model              = NONE
      End
      ConditionState       = SOLD NIGHT SNOW DEPLOYED
        Model              = NONE
      End
    End
  End
End