AGX750

C&C: GLA Dozer & Forklift

Aug 1st, 2018 (edited)
541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 44.58 KB | None | 0 0
  1. ;------------------------------------------------------------------------------
  2. Object GLAInfantryWorker
  3.  
  4.   UpgradeCameo1 = NONE
  5.  
  6.   RemoveModule ModuleTag_01
  7.  AddModule
  8.     Draw = W3DTruckDraw ModuleTag_TruckDraw
  9.     OkToChangeModelColor = Yes
  10.     ConditionState = NONE
  11.       Model = CVBACKHOE
  12.       HideSubObject = TIRE01 TIRE04
  13.     End
  14.    
  15.     ConditionState = REALLYDAMAGED
  16.       Model = CVBACKHOE
  17.     End
  18.    
  19.     ConditionState = RUBBLE
  20.       Model = CVBACKHOE_D
  21.     End
  22.    
  23.     LeftRearTireBone = Tire02
  24.     RightRearTireBone = Tire03
  25.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  26.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  27.    
  28.     TrackMarks            = EXTnkTrack.tga
  29.     Dust                  = RocketBuggyDust
  30.     DirtSpray             = RocketBuggyDirtSpray
  31.   End
  32.  End
  33.  AddModule
  34.     Draw = W3DTruckDraw ModuleTag_BuggyDraw
  35.     OkToChangeModelColor = Yes
  36.     ConditionState = NONE
  37.       Model = UVRockBug
  38.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  39.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  40.     End
  41.    
  42.     ConditionState = REALLYDAMAGED
  43.       Model = UVRockBug_D
  44.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  45.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  46.     End
  47.    
  48.     ConditionState = RUBBLE
  49.       Model = UVRockBug_D
  50.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  51.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  52.     End
  53.    
  54.     LeftFrontTireBone = Tire01
  55.     RightFrontTireBone = Tire02
  56.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  57.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  58.   End
  59.  End
  60.  
  61.   TransportSlotCount = 3                 ;how many "slots" we take in a transport (0 == not transportable)
  62.  
  63.   WeaponSet
  64.     Conditions = None
  65.     Weapon = PRIMARY None
  66.   End
  67.   WeaponSet
  68.     Conditions = MINE_CLEARING_DETAIL
  69.     Weapon = PRIMARY DozerMineDisarmingWeapon
  70.   End
  71.   ArmorSet
  72.     Armor           = TruckArmor
  73.     DamageFX        = CrushableCarDamageFX
  74.   End
  75.   CrusherLevel           = 2  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  76.   CrushableLevel         = 2  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  77.   DisplayName         = OBJECT:Backhoe
  78.   VisionRange         = 200
  79.   ShroudClearingRange = 200
  80.   SoundMoveStart = CarMoveStart
  81.  
  82.   ; *** ENGINEERING Parameters ***
  83.   RadarPriority = UNIT
  84.   KindOf = PRELOAD VEHICLE SCORE SELECTABLE CAN_CAST_REFLECTIONS DOZER HARVESTER SALVAGER
  85.  
  86.  ReplaceModule ModuleTag_02
  87.   Body = ActiveBody ModuleTag_02_Override
  88.     MaxHealth       = 200.0
  89.     InitialHealth   = 200.0
  90.   End
  91.  End
  92.  
  93.  ReplaceModule ModuleTag_03
  94.   Behavior = WorkerAIUpdate ModuleTag_03_Override
  95.     RepairHealthPercentPerSecond  = 2%    ; % of max health to repair each second
  96.     BoredTime                     = 5000  ; in milliseconds
  97.     BoredRange                    = 150   ; when bored, we look this far away to do something
  98.     MaxBoxes                      = 1
  99.     SupplyCenterActionDelay       = 150 ;400 ; ms for whole thing (one transaction)
  100.     SupplyWarehouseActionDelay    = 150 ;400 ;ms per box (many small transactions)
  101.     SupplyWarehouseScanDistance   = 700 ;350 ; Max distance to look for a warehouse, or we go home.  (Direct dock command on warehouse overrides, and no max on Center Scan)
  102.     SuppliesDepletedVoice = WorkerVoiceSuppliesDepleted
  103.     ; the only "enemies" that workers can acquire are mines, to be disarmed...
  104.     AutoAcquireEnemiesWhenIdle    = Yes
  105.   End
  106.  End
  107.  
  108.   Locomotor = SET_NORMAL AmericaVehicleDozerLocomotor
  109.  
  110.  ReplaceModule ModuleTag_04
  111.   Behavior = PhysicsBehavior ModuleTag_04_Override
  112.     Mass = 30.0
  113.   End
  114.  End
  115.  AddModule
  116.   Behavior = SlowDeathBehavior ModuleTag_05
  117.     DeathTypes = ALL -CRUSHED -SPLATTED
  118.     ProbabilityModifier = 100
  119.     DestructionDelay = 1500
  120.     DestructionDelayVariance = 600
  121.     FX  = INITIAL  FX_CrusaderCatchFire
  122.     OCL = FINAL    OCL_GLAToxicSupplyTruck_CrushEffect
  123.     FX  = FINAL    FX_BattleMasterExplosionOneFinal
  124.   End
  125.  End
  126.  
  127.   RemoveModule ModuleTag_06
  128.   RemoveModule ModuleTag_07
  129.  
  130.   RemoveModule ModuleTag_Death01
  131.   RemoveModule ModuleTag_Death02
  132.   RemoveModule ModuleTag_Death03
  133.   RemoveModule ModuleTag_Death04
  134.   RemoveModule ModuleTag_Death05
  135.   RemoveModule ModuleTag_Death06
  136.   RemoveModule ModuleTag_Death07
  137.  
  138.   RemoveModule ModuleTag_13
  139.  
  140.   Geometry        = BOX
  141.   GeometryIsSmall = Yes
  142.   GeometryMajorRadius = 15.0
  143.   GeometryMinorRadius = 8.0
  144.   GeometryHeight  = 12.0
  145.   Shadow          = SHADOW_VOLUME
  146.  
  147. End
  148.  
  149. ;------------------------------------------------------------------------------
  150. Object Chem_GLAInfantryWorker
  151.  
  152.   UpgradeCameo1 = NONE
  153.  
  154.   RemoveModule ModuleTag_01
  155.  AddModule
  156.     Draw = W3DTruckDraw ModuleTag_TruckDraw
  157.     OkToChangeModelColor = Yes
  158.     ConditionState = NONE
  159.       Model = CVBACKHOE
  160.       HideSubObject = TIRE01 TIRE04
  161.     End
  162.    
  163.     ConditionState = REALLYDAMAGED
  164.       Model = CVBACKHOE
  165.     End
  166.    
  167.     ConditionState = RUBBLE
  168.       Model = CVBACKHOE_D
  169.     End
  170.    
  171.     LeftRearTireBone = Tire02
  172.     RightRearTireBone = Tire03
  173.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  174.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  175.    
  176.     TrackMarks            = EXTnkTrack.tga
  177.     Dust                  = RocketBuggyDust
  178.     DirtSpray             = RocketBuggyDirtSpray
  179.   End
  180.  End
  181.  AddModule
  182.     Draw = W3DTruckDraw ModuleTag_BuggyDraw
  183.     OkToChangeModelColor = Yes
  184.     ConditionState = NONE
  185.       Model = UVRockBug
  186.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  187.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  188.     End
  189.    
  190.     ConditionState = REALLYDAMAGED
  191.       Model = UVRockBug_D
  192.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  193.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  194.     End
  195.    
  196.     ConditionState = RUBBLE
  197.       Model = UVRockBug_D
  198.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  199.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  200.     End
  201.    
  202.     LeftFrontTireBone = Tire01
  203.     RightFrontTireBone = Tire02
  204.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  205.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  206.   End
  207.  End
  208.  
  209.   TransportSlotCount = 3                 ;how many "slots" we take in a transport (0 == not transportable)
  210.  
  211.   WeaponSet
  212.     Conditions = None
  213.     Weapon = PRIMARY None
  214.   End
  215.   WeaponSet
  216.     Conditions = MINE_CLEARING_DETAIL
  217.     Weapon = PRIMARY DozerMineDisarmingWeapon
  218.   End
  219.   ArmorSet
  220.     Armor           = TruckArmor
  221.     DamageFX        = CrushableCarDamageFX
  222.   End
  223.   CrusherLevel           = 2  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  224.   CrushableLevel         = 2  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  225.   DisplayName         = OBJECT:Backhoe
  226.   VisionRange         = 200
  227.   ShroudClearingRange = 200
  228.   SoundMoveStart = CarMoveStart
  229.  
  230.   ; *** ENGINEERING Parameters ***
  231.   RadarPriority = UNIT
  232.   KindOf = PRELOAD VEHICLE SCORE SELECTABLE CAN_CAST_REFLECTIONS DOZER HARVESTER SALVAGER
  233.  
  234.  ReplaceModule ModuleTag_02
  235.   Body = ActiveBody ModuleTag_02_Override
  236.     MaxHealth       = 200.0
  237.     InitialHealth   = 200.0
  238.   End
  239.  End
  240.  
  241.  ReplaceModule ModuleTag_03
  242.   Behavior = WorkerAIUpdate ModuleTag_03_Override
  243.     RepairHealthPercentPerSecond  = 2%    ; % of max health to repair each second
  244.     BoredTime                     = 5000  ; in milliseconds
  245.     BoredRange                    = 150   ; when bored, we look this far away to do something
  246.     MaxBoxes                      = 1
  247.     SupplyCenterActionDelay       = 150 ;400 ; ms for whole thing (one transaction)
  248.     SupplyWarehouseActionDelay    = 150 ;400 ;ms per box (many small transactions)
  249.     SupplyWarehouseScanDistance   = 700 ;350 ; Max distance to look for a warehouse, or we go home.  (Direct dock command on warehouse overrides, and no max on Center Scan)
  250.     SuppliesDepletedVoice = WorkerVoiceSuppliesDepleted
  251.     ; the only "enemies" that workers can acquire are mines, to be disarmed...
  252.     AutoAcquireEnemiesWhenIdle    = Yes
  253.   End
  254.  End
  255.  
  256.   Locomotor = SET_NORMAL AmericaVehicleDozerLocomotor
  257.  
  258.  ReplaceModule ModuleTag_04
  259.   Behavior = PhysicsBehavior ModuleTag_04_Override
  260.     Mass = 30.0
  261.   End
  262.  End
  263.  AddModule
  264.   Behavior = SlowDeathBehavior ModuleTag_05
  265.     DeathTypes = ALL -CRUSHED -SPLATTED
  266.     ProbabilityModifier = 100
  267.     DestructionDelay = 1500
  268.     DestructionDelayVariance = 600
  269.     FX  = INITIAL  FX_CrusaderCatchFire
  270.     OCL = FINAL    OCL_GLAToxicSupplyTruck_CrushEffect
  271.     FX  = FINAL    FX_BattleMasterExplosionOneFinal
  272.   End
  273.  End
  274.  
  275.   RemoveModule ModuleTag_06
  276.   RemoveModule ModuleTag_07
  277.  
  278.   RemoveModule ModuleTag_Death01
  279.   RemoveModule ModuleTag_Death02
  280.   RemoveModule ModuleTag_Death03
  281.   RemoveModule ModuleTag_Death04
  282.   RemoveModule ModuleTag_Death05
  283.   RemoveModule ModuleTag_Death06
  284.   RemoveModule ModuleTag_Death07
  285.  
  286.   RemoveModule ModuleTag_13
  287.  
  288.   Geometry        = BOX
  289.   GeometryIsSmall = Yes
  290.   GeometryMajorRadius = 15.0
  291.   GeometryMinorRadius = 8.0
  292.   GeometryHeight  = 12.0
  293.   Shadow          = SHADOW_VOLUME
  294.  
  295. End
  296.  
  297. ;------------------------------------------------------------------------------
  298. Object Demo_GLAInfantryWorker
  299.  
  300.   UpgradeCameo1 = Demo_Upgrade_SuicideBomb
  301.   UpgradeCameo2 = NONE
  302.  
  303.   RemoveModule ModuleTag_01
  304.  AddModule
  305.     Draw = W3DTruckDraw ModuleTag_TruckDraw
  306.     OkToChangeModelColor = Yes
  307.     ConditionState = NONE
  308.       Model = CVBACKHOE
  309.       HideSubObject = TIRE01 TIRE04
  310.     End
  311.    
  312.     ConditionState = REALLYDAMAGED
  313.       Model = CVBACKHOE
  314.     End
  315.    
  316.     ConditionState = RUBBLE
  317.       Model = CVBACKHOE_D
  318.     End
  319.    
  320.     LeftRearTireBone = Tire02
  321.     RightRearTireBone = Tire03
  322.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  323.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  324.    
  325.     TrackMarks            = EXTnkTrack.tga
  326.     Dust                  = RocketBuggyDust
  327.     DirtSpray             = RocketBuggyDirtSpray
  328.   End
  329.  End
  330.  AddModule
  331.     Draw = W3DTruckDraw ModuleTag_BuggyDraw
  332.     OkToChangeModelColor = Yes
  333.     ConditionState = NONE
  334.       Model = UVRockBug
  335.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  336.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  337.     End
  338.    
  339.     ConditionState = REALLYDAMAGED
  340.       Model = UVRockBug_D
  341.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  342.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  343.     End
  344.    
  345.     ConditionState = RUBBLE
  346.       Model = UVRockBug_D
  347.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  348.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  349.     End
  350.    
  351.     LeftFrontTireBone = Tire01
  352.     RightFrontTireBone = Tire02
  353.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  354.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  355.   End
  356.  End
  357.  
  358.   TransportSlotCount = 3                 ;how many "slots" we take in a transport (0 == not transportable)
  359.  
  360.   WeaponSet
  361.     Conditions = None
  362.     Weapon = PRIMARY None
  363.   End
  364.   WeaponSet
  365.     Conditions = MINE_CLEARING_DETAIL
  366.     Weapon = PRIMARY DozerMineDisarmingWeapon
  367.   End
  368.     WeaponSet
  369.     Conditions = PLAYER_UPGRADE
  370.     Weapon = PRIMARY None
  371.     Weapon = SECONDARY None
  372.     Weapon = TERTIARY TerroristSuicideNotARealWeapon
  373.     AutoChooseSources = TERTIARY NONE
  374.   End
  375.   WeaponSet
  376.     Conditions = PLAYER_UPGRADE MINE_CLEARING_DETAIL
  377.     Weapon = PRIMARY DozerMineDisarmingWeapon
  378.     Weapon = SECONDARY None
  379.     Weapon = TERTIARY TerroristSuicideNotARealWeapon
  380.     AutoChooseSources = TERTIARY NONE
  381.   End
  382.   ArmorSet
  383.     Armor           = TruckArmor
  384.     DamageFX        = CrushableCarDamageFX
  385.   End
  386.   CrusherLevel           = 2  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  387.   CrushableLevel         = 2  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  388.   DisplayName         = OBJECT:Backhoe
  389.   VisionRange         = 200
  390.   ShroudClearingRange = 200
  391.   SoundMoveStart = CarMoveStart
  392.  
  393.   ; *** ENGINEERING Parameters ***
  394.   RadarPriority = UNIT
  395.   KindOf = PRELOAD VEHICLE SCORE SELECTABLE CAN_CAST_REFLECTIONS DOZER HARVESTER SALVAGER
  396.  
  397.  ReplaceModule ModuleTag_02
  398.   Body = ActiveBody ModuleTag_02_Override
  399.     MaxHealth       = 200.0
  400.     InitialHealth   = 200.0
  401.   End
  402.  End
  403.  
  404.  ReplaceModule ModuleTag_03
  405.   Behavior = WorkerAIUpdate ModuleTag_03_Override
  406.     RepairHealthPercentPerSecond  = 2%    ; % of max health to repair each second
  407.     BoredTime                     = 5000  ; in milliseconds
  408.     BoredRange                    = 150   ; when bored, we look this far away to do something
  409.     MaxBoxes                      = 1
  410.     SupplyCenterActionDelay       = 150 ;400 ; ms for whole thing (one transaction)
  411.     SupplyWarehouseActionDelay    = 150 ;400 ;ms per box (many small transactions)
  412.     SupplyWarehouseScanDistance   = 700 ;350 ; Max distance to look for a warehouse, or we go home.  (Direct dock command on warehouse overrides, and no max on Center Scan)
  413.     SuppliesDepletedVoice = WorkerVoiceSuppliesDepleted
  414.     ; the only "enemies" that workers can acquire are mines, to be disarmed...
  415.     AutoAcquireEnemiesWhenIdle    = Yes
  416.   End
  417.  End
  418.  
  419.   Locomotor = SET_NORMAL AmericaVehicleDozerLocomotor
  420.  
  421.  ReplaceModule ModuleTag_04
  422.   Behavior = PhysicsBehavior ModuleTag_04_Override
  423.     Mass = 30.0
  424.   End
  425.  End
  426.  AddModule
  427.   Behavior = SlowDeathBehavior ModuleTag_05
  428.     DeathTypes = ALL -CRUSHED -SPLATTED
  429.     ProbabilityModifier = 100
  430.     DestructionDelay = 1500
  431.     DestructionDelayVariance = 600
  432.     FX  = INITIAL  FX_CrusaderCatchFire
  433.     OCL = FINAL    OCL_GLAToxicSupplyTruck_CrushEffect
  434.     FX  = FINAL    FX_BattleMasterExplosionOneFinal
  435.   End
  436.  End
  437.  
  438.   RemoveModule ModuleTag_06
  439.   RemoveModule ModuleTag_07
  440.  
  441.   RemoveModule ModuleTag_Death01
  442.   RemoveModule ModuleTag_Death02
  443.   RemoveModule ModuleTag_Death03
  444.   RemoveModule ModuleTag_Death04
  445.   RemoveModule ModuleTag_Death05
  446.   RemoveModule ModuleTag_Death06
  447.   RemoveModule ModuleTag_Death07
  448.  
  449.   RemoveModule ModuleTag_13
  450.  
  451.   Geometry        = BOX
  452.   GeometryIsSmall = Yes
  453.   GeometryMajorRadius = 15.0
  454.   GeometryMinorRadius = 8.0
  455.   GeometryHeight  = 12.0
  456.   Shadow          = SHADOW_VOLUME
  457.  
  458. End
  459.  
  460. ;------------------------------------------------------------------------------
  461. Object Slth_GLAInfantryWorker
  462.  
  463.   UpgradeCameo1 = NONE
  464.  
  465.   RemoveModule ModuleTag_01
  466.  AddModule
  467.     Draw = W3DTruckDraw ModuleTag_TruckDraw
  468.     OkToChangeModelColor = Yes
  469.     ConditionState = NONE
  470.       Model = CVBACKHOE
  471.       HideSubObject = TIRE01 TIRE04
  472.     End
  473.    
  474.     ConditionState = REALLYDAMAGED
  475.       Model = CVBACKHOE
  476.     End
  477.    
  478.     ConditionState = RUBBLE
  479.       Model = CVBACKHOE_D
  480.     End
  481.    
  482.     LeftRearTireBone = Tire02
  483.     RightRearTireBone = Tire03
  484.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  485.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  486.    
  487.     TrackMarks            = EXTnkTrack.tga
  488.     Dust                  = RocketBuggyDust
  489.     DirtSpray             = RocketBuggyDirtSpray
  490.   End
  491.  End
  492.  AddModule
  493.     Draw = W3DTruckDraw ModuleTag_BuggyDraw
  494.     OkToChangeModelColor = Yes
  495.     ConditionState = NONE
  496.       Model = UVRockBug
  497.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  498.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  499.     End
  500.    
  501.     ConditionState = REALLYDAMAGED
  502.       Model = UVRockBug_D
  503.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  504.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  505.     End
  506.    
  507.     ConditionState = RUBBLE
  508.       Model = UVRockBug_D
  509.       HideSubObject = CHASSIS HEADLIGHT01 SMOKE01 SMOKE02 SMOKE03 SMOKE04 SMOKE05 SMOKE06 TIRE03 TIRE04 TREADFX03 TREADFX04 TURRET TURRETUP01 WEAPONA01 WEAPONA02 WEAPONA03 WEAPONA04 WEAPONA05 WEAPONA06 WEAPONA07 WEAPONA08 WEAPONA09 WEAPONA10 WEAPONA11 WEAPONA12 WEAPONA13 WEAPONA14 WEAPONA15 WEAPONA16 WEAPONA17 WEAPONA18 WEAPONB01 WEAPONB02 WEAPONB03 WEAPONB04 WEAPONB05 WEAPONB06 WEAPONB07 WEAPONB08 WEAPONB09 WEAPONB10 WEAPONB11 WEAPONB12 WEAPONB13 WEAPONB14 WEAPONB15 WEAPONB16 WEAPONB17 WEAPONB18 WEAPONB19 WEAPONB20 WEAPONB21 WEAPONB22 WEAPONB23 WEAPONB24 WEAPONB25 WEAPONB26 WEAPONB27 WEAPONB28 WEAPONB29 WEAPONB30
  510.       ShowSubObject = HOUSECOLOR01 TIRE01 TIRE02
  511.     End
  512.    
  513.     LeftFrontTireBone = Tire01
  514.     RightFrontTireBone = Tire02
  515.     TireRotationMultiplier = 0.2   ; this * speed = rotation.
  516.     PowerslideRotationAddition = 2.5   ; This speed is added to the rotation speed when powersliding.
  517.   End
  518.  End
  519.  
  520.   TransportSlotCount = 3                 ;how many "slots" we take in a transport (0 == not transportable)
  521.  
  522.   WeaponSet
  523.     Conditions = None
  524.     Weapon = PRIMARY None
  525.   End
  526.   WeaponSet
  527.     Conditions = MINE_CLEARING_DETAIL
  528.     Weapon = PRIMARY DozerMineDisarmingWeapon
  529.   End
  530.   ArmorSet
  531.     Armor           = TruckArmor
  532.     DamageFX        = CrushableCarDamageFX
  533.   End
  534.   CrusherLevel           = 2  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  535.   CrushableLevel         = 2  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  536.   DisplayName         = OBJECT:Backhoe
  537.   VisionRange         = 200
  538.   ShroudClearingRange = 200
  539.   SoundMoveStart = CarMoveStart
  540.  
  541.   ; *** ENGINEERING Parameters ***
  542.   RadarPriority = UNIT
  543.   KindOf = PRELOAD VEHICLE SCORE SELECTABLE CAN_CAST_REFLECTIONS DOZER HARVESTER SALVAGER
  544.  
  545.  ReplaceModule ModuleTag_02
  546.   Body = ActiveBody ModuleTag_02_Override
  547.     MaxHealth       = 200.0
  548.     InitialHealth   = 200.0
  549.   End
  550.  End
  551.  
  552.  ReplaceModule ModuleTag_03
  553.   Behavior = WorkerAIUpdate ModuleTag_03_Override
  554.     RepairHealthPercentPerSecond  = 2%    ; % of max health to repair each second
  555.     BoredTime                     = 5000  ; in milliseconds
  556.     BoredRange                    = 150   ; when bored, we look this far away to do something
  557.     MaxBoxes                      = 1
  558.     SupplyCenterActionDelay       = 150 ;400 ; ms for whole thing (one transaction)
  559.     SupplyWarehouseActionDelay    = 150 ;400 ;ms per box (many small transactions)
  560.     SupplyWarehouseScanDistance   = 700 ;350 ; Max distance to look for a warehouse, or we go home.  (Direct dock command on warehouse overrides, and no max on Center Scan)
  561.     SuppliesDepletedVoice = WorkerVoiceSuppliesDepleted
  562.     ; the only "enemies" that workers can acquire are mines, to be disarmed...
  563.     AutoAcquireEnemiesWhenIdle    = Yes
  564.   End
  565.  End
  566.  
  567.   Locomotor = SET_NORMAL AmericaVehicleDozerLocomotor
  568.  
  569.  ReplaceModule ModuleTag_04
  570.   Behavior = PhysicsBehavior ModuleTag_04_Override
  571.     Mass = 30.0
  572.   End
  573.  End
  574.  AddModule
  575.   Behavior = SlowDeathBehavior ModuleTag_05
  576.     DeathTypes = ALL -CRUSHED -SPLATTED
  577.     ProbabilityModifier = 100
  578.     DestructionDelay = 1500
  579.     DestructionDelayVariance = 600
  580.     FX  = INITIAL  FX_CrusaderCatchFire
  581.     OCL = FINAL    OCL_GLAToxicSupplyTruck_CrushEffect
  582.     FX  = FINAL    FX_BattleMasterExplosionOneFinal
  583.   End
  584.  End
  585.  
  586.   RemoveModule ModuleTag_06
  587.   RemoveModule ModuleTag_07
  588.  
  589.   RemoveModule ModuleTag_Death01
  590.   RemoveModule ModuleTag_Death02
  591.   RemoveModule ModuleTag_Death03
  592.   RemoveModule ModuleTag_Death04
  593.   RemoveModule ModuleTag_Death05
  594.   RemoveModule ModuleTag_Death06
  595.   RemoveModule ModuleTag_Death07
  596.  
  597.   RemoveModule ModuleTag_13
  598.  
  599.   Geometry        = BOX
  600.   GeometryIsSmall = Yes
  601.   GeometryMajorRadius = 15.0
  602.   GeometryMinorRadius = 8.0
  603.   GeometryHeight  = 12.0
  604.   Shadow          = SHADOW_VOLUME
  605.  
  606. End
  607.  
  608. ;------------------------------------------------------------------------------
  609. Object GC_Slth_GLAInfantryWorker
  610.  
  611.   UpgradeCameo1 = NONE
  612.  
  613.  ReplaceModule ModuleTag_01
  614.   Draw = W3DModelDraw ModuleTag_01_Override
  615.     OkToChangeModelColor = Yes
  616.     ConditionState = NONE
  617.       Model = CVFKLT
  618.     End
  619.    
  620.     ConditionState = REALLYDAMAGED
  621.       Model = CVFKLT
  622.     End
  623.    
  624.     ConditionState = RUBBLE
  625.       Model = CVFKLT
  626.     End
  627.   End
  628.  End
  629.  
  630.   ; ***DESIGN parameters ***
  631.   DisplayName = OBJECT:SmallForklift
  632.   TransportSlotCount = 3                 ;how many "slots" we take in a transport (0 == not transportable)
  633.  
  634.   WeaponSet
  635.     Conditions = None
  636.     Weapon = PRIMARY None
  637.   End
  638.   WeaponSet
  639.     Conditions = MINE_CLEARING_DETAIL
  640.     Weapon = PRIMARY None
  641.   End
  642.  
  643.   ArmorSet
  644.     Armor           = TruckArmor
  645.     DamageFX        = CrushableCarDamageFX
  646.   End
  647.  
  648.   CrusherLevel           = 0  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  649.   CrushableLevel         = 2  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  650.   VisionRange = 100
  651.   ShroudClearingRange = 200
  652.   CrushableLevel         = 0  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  653.   CommandSet = ChinaSupplyTruckCommandSet
  654.  
  655.   ; *** AUDIO Parameters ***
  656.   VoiceSelect = WorkerVoiceSupply
  657.  ;SoundMoveStart = CarMoveStart
  658.   UnitSpecificSounds
  659.     VoiceCreate = WorkerVoiceCreateSupply
  660.     VoiceSupply = WorkerVoiceSupply
  661.   End
  662.  
  663.   ; *** ENGINEERING Parameters ***
  664.   KindOf = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS VEHICLE HARVESTER SCORE
  665.  
  666.   RemoveModule ModuleTag_03
  667.  
  668.  AddModule
  669.   Behavior = SupplyTruckAIUpdate ModuleTag_03
  670.     MaxBoxes = 1
  671.     SupplyCenterActionDelay = 400     ; ms for whole thing (one transaction)
  672.     SupplyWarehouseActionDelay = 1000 ; ms per box (many small transactions)
  673.     SupplyWarehouseScanDistance = 700 ;350 ; Max distance to look for a warehouse, or we go home.  (Direct dock command on warehouse overrides, and no max on Center Scan)
  674.     SuppliesDepletedVoice = WorkerVoiceSuppliesDepleted
  675.   End
  676.  End
  677.  
  678.   Locomotor = SET_NORMAL BasicForkLiftLocomotor
  679.  
  680.  ReplaceModule ModuleTag_04
  681.   Behavior = PhysicsBehavior ModuleTag_04_Override
  682.     Mass = 30.0
  683.   End
  684.  End
  685.  
  686.  RemoveModule ModuleTag_06
  687.  RemoveModule ModuleTag_07
  688.  RemoveModule ModuleTag_Death01
  689.  RemoveModule ModuleTag_Death02
  690.  RemoveModule ModuleTag_Death03
  691.  RemoveModule ModuleTag_Death04
  692.  RemoveModule ModuleTag_Death05
  693.  RemoveModule ModuleTag_Death06
  694.  RemoveModule ModuleTag_Death07
  695.  RemoveModule ModuleTag_12
  696.  RemoveModule ModuleTag_13
  697.  
  698.  ReplaceModule ModuleTag_14
  699.   Behavior = StealthUpdate ModuleTag_13_Override
  700.     StealthDelay                = 2000 ; msec
  701.     StealthForbiddenConditions  = FIRING_PRIMARY
  702.     HintDetectableConditions    = IS_FIRING_WEAPON
  703.     FriendlyOpacityMin          = 50.0%
  704.     FriendlyOpacityMax          = 100.0%
  705.     InnateStealth               = No
  706.     OrderIdleEnemiesToAttackMeUponReveal  = Yes
  707.   End
  708.  End
  709.  
  710.  AddModule
  711.   Behavior = DestroyDie ModuleTag_DeathTag03
  712.     ;nothing
  713.   End
  714.  End
  715.  
  716.  AddModule
  717.   Behavior = CreateObjectDie ModuleTag_DeathTag04
  718.     CreationList = OCL_GenericCarExplode
  719.   End
  720.  End
  721.  
  722.  AddModule
  723.   Behavior = FXListDie ModuleTag_DeathTag05
  724.     DeathFX = FX_GenericCarExplode
  725.   End
  726.  End
  727.  
  728.  AddModule
  729.   Behavior = FlammableUpdate ModuleTag_21
  730.     AflameDuration = 5000         ; If I catch fire, I'll burn for this long...
  731.     AflameDamageAmount = 5       ; taking this much damage...
  732.     AflameDamageDelay = 500       ; this often.
  733.   End
  734.  End
  735.  
  736.   Geometry        = BOX
  737.   GeometryIsSmall = Yes
  738.   GeometryMajorRadius = 15.0
  739.   GeometryMinorRadius = 8.0
  740.   GeometryHeight  = 12.0
  741.   Shadow          = SHADOW_VOLUME
  742. End
  743.  
  744. ;------------------------------------------------------------------------------
  745. Object GC_Chem_GLAInfantryWorker
  746.  
  747.   UpgradeCameo1 = Demo_Upgrade_SuicideBomb
  748.  
  749.  ReplaceModule ModuleTag_01
  750.   Draw = W3DModelDraw ModuleTag_01_Override
  751.     OkToChangeModelColor = Yes
  752.     ConditionState = NONE
  753.       Model = CVFKLT
  754.     End
  755.    
  756.     ConditionState = REALLYDAMAGED
  757.       Model = CVFKLT
  758.     End
  759.    
  760.     ConditionState = RUBBLE
  761.       Model = CVFKLT
  762.     End
  763.   End
  764.  End
  765.  
  766.   ; ***DESIGN parameters ***
  767.   DisplayName = OBJECT:SmallForklift
  768.   TransportSlotCount = 3                 ;how many "slots" we take in a transport (0 == not transportable)
  769.  
  770.   WeaponSet
  771.     Conditions = None
  772.     Weapon = PRIMARY None
  773.   End
  774.   WeaponSet
  775.     Conditions = MINE_CLEARING_DETAIL
  776.     Weapon = PRIMARY None
  777.   End
  778.   WeaponSet
  779.     Conditions = PLAYER_UPGRADE
  780.     Weapon = PRIMARY None
  781.     Weapon = SECONDARY None
  782.     Weapon = TERTIARY TerroristSuicideNotARealWeapon
  783.     AutoChooseSources = TERTIARY NONE
  784.   End
  785.   WeaponSet
  786.     Conditions = PLAYER_UPGRADE MINE_CLEARING_DETAIL
  787.     Weapon = PRIMARY None
  788.     Weapon = SECONDARY None
  789.     Weapon = TERTIARY TerroristSuicideNotARealWeapon
  790.     AutoChooseSources = TERTIARY NONE
  791.   End
  792.  
  793.   ArmorSet
  794.     Armor           = TruckArmor
  795.     DamageFX        = CrushableCarDamageFX
  796.   End
  797.  
  798.   CrusherLevel           = 0  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  799.   CrushableLevel         = 2  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  800.   VisionRange = 100
  801.   ShroudClearingRange = 200
  802.   CrushableLevel         = 0  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  803.   CommandSet = ChinaSupplyTruckCommandSet
  804.  
  805.   ; *** AUDIO Parameters ***
  806.   VoiceSelect = WorkerVoiceSupply
  807.  ;SoundMoveStart = CarMoveStart
  808.   UnitSpecificSounds
  809.     VoiceCreate = WorkerVoiceCreateSupply
  810.     VoiceSupply = WorkerVoiceSupply
  811.   End
  812.  
  813.   ; *** ENGINEERING Parameters ***
  814.   RadarPriority = UNIT
  815.   KindOf = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS VEHICLE HARVESTER SCORE
  816.  
  817.   RemoveModule ModuleTag_03
  818.  
  819.  AddModule
  820.   Behavior = SupplyTruckAIUpdate ModuleTag_03
  821.     MaxBoxes = 1
  822.     SupplyCenterActionDelay = 400     ; ms for whole thing (one transaction)
  823.     SupplyWarehouseActionDelay = 1000 ; ms per box (many small transactions)
  824.     SupplyWarehouseScanDistance = 700 ;350 ; Max distance to look for a warehouse, or we go home.  (Direct dock command on warehouse overrides, and no max on Center Scan)
  825.     SuppliesDepletedVoice = WorkerVoiceSuppliesDepleted
  826.   End
  827.  End
  828.  
  829.   Locomotor = SET_NORMAL BasicForkLiftLocomotor
  830.  
  831.  ReplaceModule ModuleTag_04
  832.   Behavior = PhysicsBehavior ModuleTag_04_Override
  833.     Mass = 30.0
  834.   End
  835.  End
  836.  
  837.  RemoveModule ModuleTag_06
  838.  RemoveModule ModuleTag_Death01
  839.  RemoveModule ModuleTag_Death02
  840.  RemoveModule ModuleTag_Death03
  841.  RemoveModule ModuleTag_Death04
  842.  RemoveModule ModuleTag_Death05
  843.  RemoveModule ModuleTag_Death06
  844.  RemoveModule ModuleTag_Death07
  845.  RemoveModule ModuleTag_12
  846.  RemoveModule ModuleTag_13
  847.  
  848.  AddModule
  849.   Behavior = DestroyDie ModuleTag_DeathTag03
  850.     ;nothing
  851.   End
  852.  End
  853.  
  854.  AddModule
  855.   Behavior = CreateObjectDie ModuleTag_DeathTag04
  856.     CreationList = OCL_GenericCarExplode
  857.   End
  858.  End
  859.  
  860.  AddModule
  861.   Behavior = FXListDie ModuleTag_DeathTag05
  862.     DeathFX = FX_GenericCarExplode
  863.   End
  864.  End
  865.  
  866.  AddModule
  867.   Behavior = FlammableUpdate ModuleTag_21
  868.     AflameDuration = 5000         ; If I catch fire, I'll burn for this long...
  869.     AflameDamageAmount = 5       ; taking this much damage...
  870.     AflameDamageDelay = 500       ; this often.
  871.   End
  872.  End
  873.  
  874.  AddModule
  875.   Behavior = FireWeaponWhenDeadBehavior ModuleTag998
  876.     DeathWeapon   = Demo_SuicideDynamitePackPlusFire
  877.     StartsActive  = No
  878.     TriggeredBy   = Demo_Upgrade_SuicideBomb
  879.     DeathTypes = NONE +SUICIDED
  880.   End
  881.  End
  882.  
  883.  AddModule
  884.   Behavior = FireWeaponWhenDeadBehavior ModuleTag999
  885.     DeathWeapon   = Demo_DestroyedWeapon
  886.     StartsActive  = No
  887.     TriggeredBy   = Demo_Upgrade_SuicideBomb
  888.     DeathTypes = ALL -SUICIDED
  889.   End
  890.  End
  891.  
  892.  AddModule
  893.   Behavior = WeaponSetUpgrade ModuleTag_19
  894.     TriggeredBy = Demo_Upgrade_SuicideBomb
  895.   End
  896.  End
  897.  
  898.  AddModule
  899.   Behavior = CommandSetUpgrade ModuleTag_20
  900.     CommandSet = Demo_GLASupplyTruckCommandSet
  901.     TriggeredBy = Demo_Upgrade_SuicideBomb
  902.   End
  903.  End
  904.  
  905.   Geometry        = BOX
  906.   GeometryIsSmall = Yes
  907.   GeometryMajorRadius = 15.0
  908.   GeometryMinorRadius = 8.0
  909.   GeometryHeight  = 12.0
  910.   Shadow          = SHADOW_VOLUME
  911. End
  912.  
  913. ;------------------------------------------------------------------------------
  914. Object DeadGLAToxicSupplyTruckHulk
  915.  ReplaceModule ModuleTag_01
  916.   Draw = W3DModelDraw ModuleTag_01_Override
  917.     DefaultConditionState
  918.       Model = CVBACKHOE_D1
  919.     End
  920.   End
  921.  End
  922. End
  923.  
  924. ;------------------------------------------------------------------------------
  925. Object GLASupplyStash
  926.  ReplaceModule ModuleTag_12
  927.   Behavior            = SpawnBehavior ModuleTag_12_Override
  928.     SpawnNumber       = 1
  929.     SpawnReplaceDelay = 9999
  930.     SpawnTemplateName = GC_Slth_GLAInfantryWorker
  931.     OneShot           = Yes
  932.     CanReclaimOrphans = No
  933.     SlavesHaveFreeWill = Yes
  934.   End
  935.  End
  936. End
  937.  
  938. ;------------------------------------------------------------------------------
  939. Object Chem_GLASupplyStash
  940.  ReplaceModule ModuleTag_12
  941.   Behavior            = SpawnBehavior ModuleTag_12_Override
  942.     SpawnNumber       = 1
  943.     SpawnReplaceDelay = 9999
  944.     SpawnTemplateName = GC_Slth_GLAInfantryWorker
  945.     OneShot           = Yes
  946.     CanReclaimOrphans = No
  947.     SlavesHaveFreeWill = Yes
  948.   End
  949.  End
  950. End
  951.  
  952. ;------------------------------------------------------------------------------
  953. Object GC_Chem_GLASupplyStash
  954.  ReplaceModule ModuleTag_12
  955.   Behavior            = SpawnBehavior ModuleTag_12_Override
  956.     SpawnNumber       = 1
  957.     SpawnReplaceDelay = 9999
  958.     SpawnTemplateName = GC_Slth_GLAInfantryWorker
  959.     OneShot           = Yes
  960.     CanReclaimOrphans = No
  961.     SlavesHaveFreeWill = Yes
  962.   End
  963.  End
  964. End
  965.  
  966. ;------------------------------------------------------------------------------
  967. Object Demo_GLASupplyStash
  968.  ReplaceModule ModuleTag_12
  969.   Behavior            = SpawnBehavior ModuleTag_12_Override
  970.     SpawnNumber       = 1
  971.     SpawnReplaceDelay = 9999
  972.     SpawnTemplateName = GC_Chem_GLAInfantryWorker
  973.     OneShot           = Yes
  974.     CanReclaimOrphans = No
  975.     SlavesHaveFreeWill = Yes
  976.   End
  977.  End
  978. End
  979.  
  980. ;------------------------------------------------------------------------------
  981. Object Slth_GLASupplyStash
  982.  ReplaceModule ModuleTag_12
  983.   Behavior            = SpawnBehavior ModuleTag_12_Override
  984.     SpawnNumber       = 1
  985.     SpawnReplaceDelay = 9999
  986.     SpawnTemplateName = GC_Slth_GLAInfantryWorker
  987.     OneShot           = Yes
  988.     CanReclaimOrphans = No
  989.     SlavesHaveFreeWill = Yes
  990.   End
  991.  End
  992. End
  993.  
  994. ;------------------------------------------------------------------------------
  995. CommandButton Chem_Command_ConstructGLAWorker
  996.   Command       = UNIT_BUILD
  997.   Object        = Chem_GLAInfantryWorker
  998.   TextLabel     = CONTROLBAR:ConstructGLAWorker
  999.   ButtonImage   = SUWorker
  1000.   ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  1001.   DescriptLabel           = CONTROLBAR:ToolTipChinaBuildDozer
  1002. End
  1003.  
  1004. ;------------------------------------------------------------------------------
  1005. CommandButton Demo_Command_ConstructGLAWorker
  1006.   Command       = UNIT_BUILD
  1007.   Object        = Demo_GLAInfantryWorker
  1008.   TextLabel     = CONTROLBAR:ConstructGLAWorker
  1009.   ButtonImage   = SUWorker
  1010.   ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  1011.   DescriptLabel           = CONTROLBAR:ToolTipChinaBuildDozer
  1012. End
  1013.  
  1014. ;------------------------------------------------------------------------------
  1015. CommandButton GC_Chem_Command_ConstructGLAWorker
  1016.   Command       = UNIT_BUILD
  1017.   Object        = GC_Chem_GLAInfantryWorker
  1018.   TextLabel     = CONTROLBAR:ConstructGLAWorker
  1019.   ButtonImage   = SUWorker
  1020.   ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  1021.   DescriptLabel           = CONTROLBAR:ToolTipChinaBuildSupplyTruck
  1022. End
  1023.  
  1024. ;------------------------------------------------------------------------------
  1025. CommandButton GC_Slth_Command_ConstructGLAWorker
  1026.   Command       = UNIT_BUILD
  1027.   Object        = GC_Slth_GLAInfantryWorker
  1028.   TextLabel     = CONTROLBAR:ConstructGLAWorker
  1029.   ButtonImage   = SUWorker
  1030.   ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  1031.   DescriptLabel           = CONTROLBAR:ToolTipChinaBuildSupplyTruck
  1032. End
  1033. ;------------------------------------------------------------------------------
  1034. CommandSet GLASupplyStashCommandSet
  1035.   1  = GC_Slth_Command_ConstructGLAWorker
  1036.   13 = Command_SetRallyPoint
  1037.   14 = Command_Sell
  1038. End
  1039.  
  1040. ;------------------------------------------------------------------------------
  1041. CommandSet Chem_GLASupplyStashCommandSet
  1042.   1  = GC_Slth_Command_ConstructGLAWorker
  1043.   13 = Command_SetRallyPoint
  1044.   14 = Command_Sell
  1045. End
  1046.  
  1047. ;------------------------------------------------------------------------------
  1048. CommandSet GC_Chem_GLASupplyStashCommandSet
  1049.   1  = GC_Slth_Command_ConstructGLAWorker
  1050.   13 = Command_SetRallyPoint
  1051.   14 = Command_Sell
  1052. End
  1053.  
  1054. ;------------------------------------------------------------------------------
  1055. CommandSet Demo_GLASupplyStashCommandSet
  1056.   1  = GC_Chem_Command_ConstructGLAWorker
  1057.   13 = Command_SetRallyPoint
  1058.   14 = Command_Sell
  1059. End
  1060.  
  1061. ;------------------------------------------------------------------------------
  1062. CommandSet Demo_GLASupplyStashCommandSetUpgrade
  1063.   1  = GC_Chem_Command_ConstructGLAWorker
  1064.   2  = Demo_Command_TertiarySuicide
  1065.   13 = Command_SetRallyPoint
  1066.   14 = Command_Sell
  1067. End
  1068.  
  1069. ;------------------------------------------------------------------------------
  1070. CommandSet Slth_GLASupplyStashCommandSet
  1071.   1  = GC_Slth_Command_ConstructGLAWorker
  1072.   12 = Command_UpgradeGLACamoNetting
  1073.   13 = Command_SetRallyPoint
  1074.   14 = Command_Sell
  1075. End
  1076.  
  1077. ;------------------------------------------------------------------------------
  1078. CommandSet GLABlackMarketCommandSetNew
  1079.   1  = Command_UpgradeGLAAPBullets
  1080.   2  = Command_UpgradeGLAAPRockets
  1081.   3  = Command_UpgradeGLAJunkRepair
  1082.   4  = Command_UpgradeGLABuggyAmmo
  1083.   5  = Command_UpgradeGLARadarVanScan
  1084.   14 = Command_Sell
  1085. End
  1086.  
  1087. ;------------------------------------------------------------------------------
  1088. CommandSet Chem_GLABlackMarketCommandSetNew
  1089.   1  = Chem_Command_UpgradeGLAAPBullets
  1090.   2  = Command_UpgradeGLAAPRockets
  1091.   3  = Command_UpgradeGLAJunkRepair
  1092.   4  = Command_UpgradeGLABuggyAmmo
  1093.   5 = Command_UpgradeGLARadarVanScan
  1094.   14 = Command_Sell
  1095. End
  1096.  
  1097. ;------------------------------------------------------------------------------
  1098. CommandSet GC_Chem_GLABlackMarketCommandSetNew
  1099.   1  = Command_UpgradeGLAAPBullets
  1100.   2  = Command_UpgradeGLAAPRockets
  1101.   3  = Command_UpgradeGLAJunkRepair
  1102.   4  = Command_UpgradeGLARadarVanScan
  1103.   14 = Command_Sell
  1104. End
  1105.  
  1106. ;------------------------------------------------------------------------------
  1107. CommandSet Demo_GLABlackMarketCommandSetNew
  1108.   1  = Command_UpgradeGLAAPBullets
  1109.   2  = Command_UpgradeGLAAPRockets
  1110.   3  = Command_UpgradeGLAJunkRepair
  1111.   4  = Command_UpgradeGLABuggyAmmo
  1112.   5  = Command_UpgradeGLARadarVanScan
  1113.   14 = Command_Sell
  1114. End
  1115.  
  1116. ;------------------------------------------------------------------------------
  1117. CommandSet Demo_GLABlackMarketCommandSetUpgradeNew
  1118.   1  = Command_UpgradeGLAAPBullets
  1119.   2  = Command_UpgradeGLAAPRockets
  1120.   3  = Command_UpgradeGLAJunkRepair
  1121.   4  = Demo_Command_TertiarySuicide
  1122.   5  = Command_UpgradeGLARadarVanScan
  1123.   14 = Command_Sell
  1124. End
  1125.  
  1126. ;------------------------------------------------------------------------------
  1127. CommandSet Slth_GLABlackMarketCommandSetNew
  1128.   1  = Command_UpgradeGLAAPBullets
  1129.   2  = Command_UpgradeGLAAPRockets
  1130.   3  = Command_UpgradeGLAJunkRepair
  1131.   4  = Command_UpgradeGLABuggyAmmo
  1132.   5  = Command_UpgradeGLARadarVanScan
  1133.   12 = Command_UpgradeGLACamoNetting
  1134.   14 = Command_Sell
  1135. End
  1136.  
  1137. ;------------------------------------------------------------------------------
  1138. CommandSet GC_Slth_GLABlackMarketCommandSetNew
  1139.   1  = Command_UpgradeGLAAPBullets
  1140.   2  = Command_UpgradeGLAAPRockets
  1141.   3  = Command_UpgradeGLAJunkRepair
  1142.   4  = Command_UpgradeGLABuggyAmmo
  1143.   5  = Command_UpgradeGLARadarVanScan
  1144.   12 = Command_UpgradeGLACamoNetting
  1145.   14 = Command_Sell
  1146. End
  1147.  
  1148. ;------------------------------------------------------------------------------
  1149. CommandSet Demo_GLASupplyTruckCommandSet
  1150.   1  = Demo_Command_TertiarySuicide
  1151.   14 = Command_Stop
  1152. End
  1153.  
  1154. ;------------------------------------------------------------------------------
  1155. Object GLABlackMarket
  1156.   CommandSet = GLABlackMarketCommandSetNew
  1157. End
  1158.  
  1159. ;------------------------------------------------------------------------------
  1160. Object Chem_GLABlackMarket
  1161.   CommandSet = Chem_GLABlackMarketCommandSetNew
  1162. End
  1163.  
  1164. ;------------------------------------------------------------------------------
  1165. Object GC_Chem_GLABlackMarket
  1166.   CommandSet = GC_Chem_GLABlackMarketCommandSetNew
  1167. End
  1168.  
  1169. ;------------------------------------------------------------------------------
  1170. Object Demo_GLABlackMarket
  1171.   CommandSet = Demo_GLABlackMarketCommandSetNew
  1172. End
  1173.  
  1174. ;------------------------------------------------------------------------------
  1175. Object Slth_GLABlackMarket
  1176.   CommandSet = Slth_GLABlackMarketCommandSetNew
  1177. End
  1178.  
  1179. ;------------------------------------------------------------------------------
  1180. Object GC_Slth_GLABlackMarket
  1181.   CommandSet = GC_Slth_GLABlackMarketCommandSetNew
  1182. End
  1183.  
  1184. ;------------------------------------------------------------------------------
  1185. AudioEvent WorkerVoiceSelect
  1186.   Sounds = iworsea iworseb iworsec iworsed iworsee iworsef iworseg iworseh
  1187.   Control = random
  1188.   Volume = 90
  1189.   Type = ui voice player
  1190. End
  1191.  
  1192. ;------------------------------------------------------------------------------
  1193. AudioEvent WorkerVoiceCreate
  1194.   Sounds = iworref
  1195.   Control = random
  1196.   Volume  = 110
  1197.   MinVolume = 100
  1198.   Priority = high
  1199.   Type = world global player
  1200. End
  1201.  
  1202. ;------------------------------------------------------------------------------
  1203. AudioEvent WorkerVoiceCreateSupply
  1204.   Sounds = iworspb
  1205.   Control = random
  1206.   Volume  = 110
  1207.   MinVolume = 100
  1208.   Priority = high
  1209.   Type = world global player
  1210. End
  1211.  
  1212. ;------------------------------------------------------------------------------
  1213. AudioEvent WorkerVoiceMove
  1214.   Sounds = iwormoa iwormob iwormoe iwormof
  1215.   Control = random
  1216.   Volume = 90
  1217.   Type = ui voice player
  1218. End
  1219.  
  1220. ;------------------------------------------------------------------------------
  1221. AudioEvent WorkerVoiceMoveUpgraded
  1222.   Sounds = iwormoa iwormob iwormoe iwormof
  1223.   Control = random
  1224.   Volume = 90
  1225.   Type = ui voice player
  1226. End
  1227.  
  1228. ;------------------------------------------------------------------------------
  1229. AudioEvent WorkerVoiceBuild
  1230.   Sounds = iworbua iworbub iworbuc iworbuf iworbug
  1231.   Control = random
  1232.   Volume = 90
  1233.   Type = ui voice player
  1234. End
  1235.  
  1236. ;------------------------------------------------------------------------------
  1237. AudioEvent WorkerVoiceRepair
  1238.   Sounds = iworre iworreb iworrec iworred iworree
  1239.   Control = random
  1240.   Volume = 90
  1241.   Type = ui voice player
  1242. End
  1243.  
  1244. ;------------------------------------------------------------------------------
  1245. AudioEvent WorkerVoiceClearMine
  1246.   Sounds = iworcla iworclb iworclc iworcld iworcle iworclf
  1247.   Control = random
  1248.   Volume = 90
  1249.   Type = ui voice player
  1250. End
  1251.  
  1252. ;------------------------------------------------------------------------------
  1253. AudioEvent WorkerVoiceSupply
  1254.   Sounds = iworspa iworspb iworspd
  1255.   Control = random
  1256.   Volume = 90
  1257.   Type = ui voice player
  1258. End
Add Comment
Please, Sign In to add comment