From f1cb333d6b41442f1e3f58cb35ed0a94d197bc8e Mon Sep 17 00:00:00 2001 From: reaperrr Date: Fri, 3 Apr 2015 02:21:13 +0200 Subject: [PATCH] Split TS infantry.yaml into gdi-, nod- and player-infantry.yaml --- mods/ts/mod.yaml | 5 +- mods/ts/rules/civilian-infantry.yaml | 306 ++++++++++++++ mods/ts/rules/gdi-infantry.yaml | 122 ++++++ mods/ts/rules/infantry.yaml | 612 --------------------------- mods/ts/rules/nod-infantry.yaml | 121 ++++++ mods/ts/rules/player-infantry.yaml | 60 +++ 6 files changed, 613 insertions(+), 613 deletions(-) create mode 100644 mods/ts/rules/civilian-infantry.yaml create mode 100644 mods/ts/rules/gdi-infantry.yaml delete mode 100644 mods/ts/rules/infantry.yaml create mode 100644 mods/ts/rules/nod-infantry.yaml create mode 100644 mods/ts/rules/player-infantry.yaml diff --git a/mods/ts/mod.yaml b/mods/ts/mod.yaml index 82dd4a9d24..0788f13dd3 100644 --- a/mods/ts/mod.yaml +++ b/mods/ts/mod.yaml @@ -69,8 +69,11 @@ Rules: ./mods/ts/rules/world.yaml ./mods/ts/rules/aircraft.yaml ./mods/ts/rules/defaults.yaml - ./mods/ts/rules/infantry.yaml ./mods/ts/rules/structures.yaml + ./mods/ts/rules/civilian-infantry.yaml + ./mods/ts/rules/gdi-infantry.yaml + ./mods/ts/rules/nod-infantry.yaml + ./mods/ts/rules/player-infantry.yaml ./mods/ts/rules/vehicles.yaml ./mods/ts/rules/trees.yaml diff --git a/mods/ts/rules/civilian-infantry.yaml b/mods/ts/rules/civilian-infantry.yaml new file mode 100644 index 0000000000..dbdc72e683 --- /dev/null +++ b/mods/ts/rules/civilian-infantry.yaml @@ -0,0 +1,306 @@ +WEEDGUY: + Inherits: ^Infantry + Valued: + Cost: 300 + Tooltip: + Name: Chem Spray Infantry + Selectable: + Bounds: 12,17,0,-6 + Voice: Weed + Mobile: + Speed: 42 + Health: + HP: 130 + Crushable: + CrushSound: squishy2.aud + Armament: + Weapon: FireballLauncher + LocalOffset: 85,0,384 + AttackFrontal: + WithInfantryBody: + TakeCover: + +UMAGON: + Inherits: ^Infantry + Valued: + Cost: 400 + Tooltip: + Name: Umagon + Selectable: + Bounds: 12,17,0,-6 + Voice: Umagon + Mobile: + Speed: 71 + Health: + HP: 150 + PoisonedByTiberium: + Weapon: TiberiumHeal + Passenger: + RevealsShroud: + Range: 7c0 + Armament: + Weapon: Sniper + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +CHAMSPY: + Inherits: ^Infantry + Valued: + Cost: 700 + DisguiseToolTip: + Name: Chameleon Spy + Selectable: + Voice: Spy + Bounds: 12,17,0,-9 + Health: + HP: 120 + Mobile: + Speed: 85 + RevealsShroud: + Range: 9c0 + Passenger: + TakeCover: + Disguise: + Infiltrates: + Types: SpyInfiltrate + -AutoTarget: + -WithInfantryBody: + WithDisguisingInfantryBody: + IdleSequences: idle1,idle2 + + +MUTANT: + Inherits: ^Infantry + Valued: + Cost: 100 + Tooltip: + Name: Mutant + Selectable: + Bounds: 12,17,0,-9 + Voice: Mutant + Health: + HP: 50 + PoisonedByTiberium: + Weapon: TiberiumHeal + Mobile: + Speed: 56 + RevealsShroud: + Range: 4c0 + Armament: + Weapon: Vulcan + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +MWMN: + Inherits: ^Infantry + Valued: + Cost: 100 + Tooltip: + Name: Mutant Soldier + Selectable: + Bounds: 12,17,0,-9 + Voice: CivilianFemale + Health: + HP: 50 + PoisonedByTiberium: + Weapon: TiberiumHeal + Mobile: + Speed: 56 + RevealsShroud: + Range: 4c0 + Armament: + Weapon: Vulcan + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +MUTANT3: + Inherits: ^Infantry + Valued: + Cost: 100 + Tooltip: + Name: Mutant Sergeant + Selectable: + Bounds: 12,17,0,-9 + Voice: Mutant + Health: + HP: 50 + PoisonedByTiberium: + Weapon: TiberiumHeal + Mobile: + Speed: 56 + RevealsShroud: + Range: 4c0 + Armament: + Weapon: Vulcan + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +TRATOS: + Inherits: ^Infantry + Valued: + Cost: 100 + Tooltip: + Name: Tratos + Selectable: + Bounds: 12,17,0,-9 + Voice: Tratos + Health: + HP: 200 + PoisonedByTiberium: + Weapon: TiberiumHeal + Mobile: + Speed: 71 + RevealsShroud: + Range: 4c0 + TakeCover: + -AutoTarget: + WithInfantryBody: + IdleSequences: idle1,idle2 + +OXANNA: + Inherits: ^Infantry + Valued: + Cost: 100 + Tooltip: + Name: Oxanna + Selectable: + Bounds: 12,17,0,-9 + Voice: Oxanna + Health: + HP: 50 + Mobile: + Speed: 56 + RevealsShroud: + Range: 4c0 + TakeCover: + -AutoTarget: + WithInfantryBody: + IdleSequences: idle1,idle2 + +SLAV: + Inherits: ^Infantry + Valued: + Cost: 100 + Tooltip: + Name: Slavick + Selectable: + Bounds: 12,17,0,-9 + Voice: Slavick + Health: + HP: 300 + Mobile: + Speed: 56 + RevealsShroud: + Range: 4c0 + TakeCover: + -AutoTarget: + WithInfantryBody: + IdleSequences: idle1,idle2 + +DOGGIE: + Inherits: ^Infantry + Tooltip: + Name: Tiberian Fiend + Health: + Radius: 213 + HP: 250 + PoisonedByTiberium: + Weapon: TiberiumHeal + Valued: + Cost: 100 + Armor: + Type: Light + RevealsShroud: + Range: 4c0 + Mobile: + Speed: 113 + Selectable: + Voice: Fiend + TargetableUnit: + TargetTypes: Ground + Armament: + Weapon: FiendShard + AttackFrontal: + AttackWander: + WanderMoveRadius: 2 + MinMoveDelayInTicks: 25 + MaxMoveDelayInTicks: 45 + +VISSML: + Inherits: ^Infantry + Tooltip: + Name: Baby Visceroid + Health: + HP: 200 + PoisonedByTiberium: + Weapon: TiberiumHeal + Valued: + Cost: 1 + Armor: + Type: Light + RevealsShroud: + Range: 0c0 + Mobile: + Speed: 113 + ROT: 16 + -Crushable: + Selectable: + Voice: Fiend + TargetableUnit: + TargetTypes: Ground + -AutoTarget: + -RenderSprites: + -WithInfantryBody: + -WithDeathAnimation: + RenderUnit: + +VISLRG: + Inherits: ^Infantry + Tooltip: + Name: Adult Visceroid + Health: + HP: 500 + PoisonedByTiberium: + Weapon: TiberiumHeal + Valued: + Cost: 1 + Armor: + Type: Light + RevealsShroud: + Range: 0c0 + Mobile: + Speed: 113 + ROT: 16 + -Crushable: + Selectable: + Voice: Fiend + TargetableUnit: + TargetTypes: Ground + Armament: + Weapon: SlimeAttack + AttackFrontal: + AttackWander: + WanderMoveRadius: 2 + MinMoveDelayInTicks: 25 + MaxMoveDelayInTicks: 45 + -RenderSprites: + -WithInfantryBody: + -WithDeathAnimation: + RenderUnit: + +CIV1: + Inherits: ^CivilianInfantry + +CIV2: + Inherits: ^CivilianInfantry + +CIV3: + Inherits: ^CivilianInfantry diff --git a/mods/ts/rules/gdi-infantry.yaml b/mods/ts/rules/gdi-infantry.yaml new file mode 100644 index 0000000000..e14170477f --- /dev/null +++ b/mods/ts/rules/gdi-infantry.yaml @@ -0,0 +1,122 @@ +E2: + Inherits: ^Infantry + Buildable: + Queue: Infantry + BuildPaletteOrder: 10 + Prerequisites: ~gapile + Valued: + Cost: 200 + Tooltip: + Name: Disc Thrower + Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles + Selectable: + Bounds: 12,17,0,-9 + Health: + HP: 150 + Mobile: + Speed: 56 + Armament: + Weapon: Grenade + LocalOffset: 0,0,555 + FireDelay: 5 + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +MEDIC: + Inherits: ^Infantry + Valued: + Cost: 600 + Tooltip: + Name: Medic + Description: Heals nearby infantry.\n Strong vs Nothing\n Weak vs Everything + Buildable: + Queue: Infantry + BuildPaletteOrder: 60 + Prerequisites: ~gapile + Selectable: + Bounds: 12,17,0,-6 + Voice: Medic + Mobile: + Speed: 56 + Health: + HP: 125 + Crushable: + CrushSound: squishy2.aud + Armament: + Weapon: Heal + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + AttackSequence: heal + SelfHealing: + Passenger: + PipType: Red + +JUMPJET: + Inherits: ^Infantry + Valued: + Cost: 600 + Tooltip: + Name: Jumpjet Infantry + Buildable: + Queue: Infantry + BuildPaletteOrder: 50 + Prerequisites: ~gapile, garadr + Selectable: + Bounds: 12,17,0,-6 + Voice: JumpJet + Mobile: + Speed: 56 + Health: + HP: 120 + Armor: + Type: Light + Passenger: + PipType: Green + RevealsShroud: + Range: 6c0 + Armament: + Weapon: JumpCannon + -Crushable: + AttackFrontal: + TakeCover: + WithInfantryBody: + +GHOST: + Inherits: ^Infantry + Valued: + Cost: 1750 + Tooltip: + Name: Ghost Stalker + Description: Elite commando infantry, armed with \ndual pistols and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles\n Special Ability: Destroy Building with C4\n\nMaximum 1 can be trained + BuildLimit: 1 + Buildable: + Queue: Infantry + BuildPaletteOrder: 50 + Prerequisites: ~gapile, gatech + Selectable: + Bounds: 12,17,0,-6 + Voice: Ghost + Mobile: + Speed: 56 + Health: + HP: 200 + PoisonedByTiberium: + Weapon: TiberiumHeal + Passenger: + RevealsShroud: + Range: 6c0 + Armament: + Weapon: LtRail + LocalOffset: 85,0,384 + Crushable: + CrushSound: squishy2.aud + AttackFrontal: + C4Demolition: + C4Delay: 45 + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 diff --git a/mods/ts/rules/infantry.yaml b/mods/ts/rules/infantry.yaml deleted file mode 100644 index 1b0fa26b54..0000000000 --- a/mods/ts/rules/infantry.yaml +++ /dev/null @@ -1,612 +0,0 @@ -E1: - Inherits: ^Infantry - Buildable: - Queue: Infantry - BuildPaletteOrder: 10 - Prerequisites: ~barracks - Valued: - Cost: 120 - Tooltip: - Name: Light Infantry - Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles - Selectable: - Bounds: 12,17,0,-9 - Health: - HP: 125 - Mobile: - Speed: 71 - Armament@PRIMARY: - Weapon: Minigun - UpgradeTypes: eliteweapon - UpgradeMaxEnabledLevel: 0 - UpgradeMaxAcceptedLevel: 1 - Armament@ELITE: - Weapon: M1Carbine - UpgradeTypes: eliteweapon - UpgradeMinEnabledLevel: 1 - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -E2: - Inherits: ^Infantry - Buildable: - Queue: Infantry - BuildPaletteOrder: 10 - Prerequisites: ~gapile - Valued: - Cost: 200 - Tooltip: - Name: Disc Thrower - Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles - Selectable: - Bounds: 12,17,0,-9 - Health: - HP: 150 - Mobile: - Speed: 56 - Armament: - Weapon: Grenade - LocalOffset: 0,0,555 - FireDelay: 5 - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -E3: - Inherits: ^Infantry - Buildable: - Queue: Infantry - BuildPaletteOrder: 20 - Prerequisites: ~nahand - Valued: - Cost: 250 - Tooltip: - Name: Rocket Infantry - Description: Anti-tank infantry.\n Strong vs Tanks\n Weak vs Infantry - Selectable: - Bounds: 12,17,0,-9 - Voice: Rocket - Health: - HP: 100 - Mobile: - Speed: 42 - Armament@PRIMARY: - Weapon: Bazooka - LocalOffset: 128,0,640 - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -WEEDGUY: - Inherits: ^Infantry - Valued: - Cost: 300 - Tooltip: - Name: Chem Spray Infantry - Selectable: - Bounds: 12,17,0,-6 - Voice: Weed - Mobile: - Speed: 42 - Health: - HP: 130 - Crushable: - CrushSound: squishy2.aud - Armament: - Weapon: FireballLauncher - LocalOffset: 85,0,384 - AttackFrontal: - WithInfantryBody: - TakeCover: - -MEDIC: - Inherits: ^Infantry - Valued: - Cost: 600 - Tooltip: - Name: Medic - Description: Heals nearby infantry.\n Strong vs Nothing\n Weak vs Everything - Buildable: - Queue: Infantry - BuildPaletteOrder: 60 - Prerequisites: ~gapile - Selectable: - Bounds: 12,17,0,-6 - Voice: Medic - Mobile: - Speed: 56 - Health: - HP: 125 - Crushable: - CrushSound: squishy2.aud - Armament: - Weapon: Heal - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - AttackSequence: heal - SelfHealing: - Passenger: - PipType: Red - -ENGINEER: - Inherits: ^Infantry - Valued: - Cost: 500 - Tooltip: - Name: Engineer - Description: Infiltrates and captures enemy structures.\n Strong vs Nothing\n Weak vs Everything - Buildable: - Queue: Infantry - BuildPaletteOrder: 30 - Prerequisites: ~barracks - Selectable: - Bounds: 12,17,0,-6 - Voice: Engineer - Mobile: - Speed: 56 - Health: - HP: 500 - Passenger: - PipType: Yellow - EngineerRepair: - RepairsBridges: - Captures: - CaptureTypes: building - -AutoTarget: - WithInfantryBody: - IdleSequences: idle1,idle2 - TakeCover: - -GainsExperience: - -UMAGON: - Inherits: ^Infantry - Valued: - Cost: 400 - Tooltip: - Name: Umagon - Selectable: - Bounds: 12,17,0,-6 - Voice: Umagon - Mobile: - Speed: 71 - Health: - HP: 150 - PoisonedByTiberium: - Weapon: TiberiumHeal - Passenger: - RevealsShroud: - Range: 7c0 - Armament: - Weapon: Sniper - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -GHOST: - Inherits: ^Infantry - Valued: - Cost: 1750 - Tooltip: - Name: Ghost Stalker - Description: Elite commando infantry, armed with \ndual pistols and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles\n Special Ability: Destroy Building with C4\n\nMaximum 1 can be trained - BuildLimit: 1 - Buildable: - Queue: Infantry - BuildPaletteOrder: 50 - Prerequisites: ~gapile, gatech - Selectable: - Bounds: 12,17,0,-6 - Voice: Ghost - Mobile: - Speed: 56 - Health: - HP: 200 - PoisonedByTiberium: - Weapon: TiberiumHeal - Passenger: - RevealsShroud: - Range: 6c0 - Armament: - Weapon: LtRail - LocalOffset: 85,0,384 - Crushable: - CrushSound: squishy2.aud - AttackFrontal: - C4Demolition: - C4Delay: 45 - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -JUMPJET: - Inherits: ^Infantry - Valued: - Cost: 600 - Tooltip: - Name: Jumpjet Infantry - Buildable: - Queue: Infantry - BuildPaletteOrder: 50 - Prerequisites: ~gapile, garadr - Selectable: - Bounds: 12,17,0,-6 - Voice: JumpJet - Mobile: - Speed: 56 - Health: - HP: 120 - Armor: - Type: Light - Passenger: - PipType: Green - RevealsShroud: - Range: 6c0 - Armament: - Weapon: JumpCannon - -Crushable: - AttackFrontal: - TakeCover: - WithInfantryBody: - -CHAMSPY: - Inherits: ^Infantry - Valued: - Cost: 700 - DisguiseToolTip: - Name: Chameleon Spy - Selectable: - Voice: Spy - Bounds: 12,17,0,-9 - Health: - HP: 120 - Mobile: - Speed: 85 - RevealsShroud: - Range: 9c0 - Passenger: - TakeCover: - Disguise: - Infiltrates: - Types: SpyInfiltrate - -AutoTarget: - -WithInfantryBody: - WithDisguisingInfantryBody: - IdleSequences: idle1,idle2 - -CYBORG: - Inherits: ^Infantry - Armor: - Type: Light - Valued: - Cost: 650 - Tooltip: - Name: Cyborg Infantry - Description: Cybernetic infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles - Buildable: - Queue: Infantry - BuildPaletteOrder: 50 - Prerequisites: ~nahand - -Crushable: - Selectable: - Bounds: 14,30,0,-7 - Voice: Cyborg - Mobile: - Speed: 56 - Health: - HP: 300 - PoisonedByTiberium: - Weapon: TiberiumHeal - Passenger: - RevealsShroud: - Range: 5c0 - Armament: - Weapon: Vulcan3 - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -CYC2: - Inherits: ^Infantry - Armor: - Type: Heavy - Valued: - Cost: 2000 - Tooltip: - Name: Cyborg Commando - Description: Elite cybernetic infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles - Buildable: - Queue: Infantry - BuildPaletteOrder: 50 - Prerequisites: ~nahand, natech - -Crushable: - Selectable: - Bounds: 14,30,0,-7 - Voice: CyborgCommando - Mobile: - Speed: 56 - Health: - HP: 500 - PoisonedByTiberium: - Weapon: TiberiumHeal - Passenger: - RevealsShroud: - Range: 7c0 - Armament: - Weapon: CyCannon - LocalOffset: 170,85,683 - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -MUTANT: - Inherits: ^Infantry - Valued: - Cost: 100 - Tooltip: - Name: Mutant - Selectable: - Bounds: 12,17,0,-9 - Voice: Mutant - Health: - HP: 50 - PoisonedByTiberium: - Weapon: TiberiumHeal - Mobile: - Speed: 56 - RevealsShroud: - Range: 4c0 - Armament: - Weapon: Vulcan - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -MWMN: - Inherits: ^Infantry - Valued: - Cost: 100 - Tooltip: - Name: Mutant Soldier - Selectable: - Bounds: 12,17,0,-9 - Voice: CivilianFemale - Health: - HP: 50 - PoisonedByTiberium: - Weapon: TiberiumHeal - Mobile: - Speed: 56 - RevealsShroud: - Range: 4c0 - Armament: - Weapon: Vulcan - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -MUTANT3: - Inherits: ^Infantry - Valued: - Cost: 100 - Tooltip: - Name: Mutant Sergeant - Selectable: - Bounds: 12,17,0,-9 - Voice: Mutant - Health: - HP: 50 - PoisonedByTiberium: - Weapon: TiberiumHeal - Mobile: - Speed: 56 - RevealsShroud: - Range: 4c0 - Armament: - Weapon: Vulcan - AttackFrontal: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -MHIJACK: - Inherits: ^Infantry - Buildable: - Queue: Infantry - BuildPaletteOrder: 10 - Prerequisites: ~nahand, natech # natech must be natmpl - Valued: - Cost: 100 - Tooltip: - Name: Mutant Hijacker - Description: Hijacks enemy vehicles. Unarmed\n Strong vs Tanks\n Weak vs Infantry, Aircraft - Selectable: - Bounds: 12,17,0,-9 - Voice: Hijacker - Health: - HP: 300 - PoisonedByTiberium: - Weapon: TiberiumHeal - Mobile: - Speed: 99 - Captures: - CaptureTypes: Vehicle - RevealsShroud: - Range: 6c0 - -AutoTarget: - TakeCover: - WithInfantryBody: - IdleSequences: idle1,idle2 - -TRATOS: - Inherits: ^Infantry - Valued: - Cost: 100 - Tooltip: - Name: Tratos - Selectable: - Bounds: 12,17,0,-9 - Voice: Tratos - Health: - HP: 200 - PoisonedByTiberium: - Weapon: TiberiumHeal - Mobile: - Speed: 71 - RevealsShroud: - Range: 4c0 - TakeCover: - -AutoTarget: - WithInfantryBody: - IdleSequences: idle1,idle2 - -OXANNA: - Inherits: ^Infantry - Valued: - Cost: 100 - Tooltip: - Name: Oxanna - Selectable: - Bounds: 12,17,0,-9 - Voice: Oxanna - Health: - HP: 50 - Mobile: - Speed: 56 - RevealsShroud: - Range: 4c0 - TakeCover: - -AutoTarget: - WithInfantryBody: - IdleSequences: idle1,idle2 - -SLAV: - Inherits: ^Infantry - Valued: - Cost: 100 - Tooltip: - Name: Slavick - Selectable: - Bounds: 12,17,0,-9 - Voice: Slavick - Health: - HP: 300 - Mobile: - Speed: 56 - RevealsShroud: - Range: 4c0 - TakeCover: - -AutoTarget: - WithInfantryBody: - IdleSequences: idle1,idle2 - -DOGGIE: - Inherits: ^Infantry - Tooltip: - Name: Tiberian Fiend - Health: - Radius: 213 - HP: 250 - PoisonedByTiberium: - Weapon: TiberiumHeal - Valued: - Cost: 100 - Armor: - Type: Light - RevealsShroud: - Range: 4c0 - Mobile: - Speed: 113 - Selectable: - Voice: Fiend - TargetableUnit: - TargetTypes: Ground - Armament: - Weapon: FiendShard - AttackFrontal: - AttackWander: - WanderMoveRadius: 2 - MinMoveDelayInTicks: 25 - MaxMoveDelayInTicks: 45 - -VISSML: - Inherits: ^Infantry - Tooltip: - Name: Baby Visceroid - Health: - HP: 200 - PoisonedByTiberium: - Weapon: TiberiumHeal - Valued: - Cost: 1 - Armor: - Type: Light - RevealsShroud: - Range: 0c0 - Mobile: - Speed: 113 - ROT: 16 - -Crushable: - Selectable: - Voice: Fiend - TargetableUnit: - TargetTypes: Ground - -AutoTarget: - -RenderSprites: - -WithInfantryBody: - -WithDeathAnimation: - RenderUnit: - -VISLRG: - Inherits: ^Infantry - Tooltip: - Name: Adult Visceroid - Health: - HP: 500 - PoisonedByTiberium: - Weapon: TiberiumHeal - Valued: - Cost: 1 - Armor: - Type: Light - RevealsShroud: - Range: 0c0 - Mobile: - Speed: 113 - ROT: 16 - -Crushable: - Selectable: - Voice: Fiend - TargetableUnit: - TargetTypes: Ground - Armament: - Weapon: SlimeAttack - AttackFrontal: - AttackWander: - WanderMoveRadius: 2 - MinMoveDelayInTicks: 25 - MaxMoveDelayInTicks: 45 - -RenderSprites: - -WithInfantryBody: - -WithDeathAnimation: - RenderUnit: - -CIV1: - Inherits: ^CivilianInfantry - -CIV2: - Inherits: ^CivilianInfantry - -CIV3: - Inherits: ^CivilianInfantry - diff --git a/mods/ts/rules/nod-infantry.yaml b/mods/ts/rules/nod-infantry.yaml new file mode 100644 index 0000000000..8d91f60c46 --- /dev/null +++ b/mods/ts/rules/nod-infantry.yaml @@ -0,0 +1,121 @@ +E3: + Inherits: ^Infantry + Buildable: + Queue: Infantry + BuildPaletteOrder: 20 + Prerequisites: ~nahand + Valued: + Cost: 250 + Tooltip: + Name: Rocket Infantry + Description: Anti-tank infantry.\n Strong vs Tanks\n Weak vs Infantry + Selectable: + Bounds: 12,17,0,-9 + Voice: Rocket + Health: + HP: 100 + Mobile: + Speed: 42 + Armament@PRIMARY: + Weapon: Bazooka + LocalOffset: 128,0,640 + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +CYBORG: + Inherits: ^Infantry + Armor: + Type: Light + Valued: + Cost: 650 + Tooltip: + Name: Cyborg Infantry + Description: Cybernetic infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles + Buildable: + Queue: Infantry + BuildPaletteOrder: 50 + Prerequisites: ~nahand + -Crushable: + Selectable: + Bounds: 14,30,0,-7 + Voice: Cyborg + Mobile: + Speed: 56 + Health: + HP: 300 + PoisonedByTiberium: + Weapon: TiberiumHeal + Passenger: + RevealsShroud: + Range: 5c0 + Armament: + Weapon: Vulcan3 + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +CYC2: + Inherits: ^Infantry + Armor: + Type: Heavy + Valued: + Cost: 2000 + Tooltip: + Name: Cyborg Commando + Description: Elite cybernetic infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles + Buildable: + Queue: Infantry + BuildPaletteOrder: 50 + Prerequisites: ~nahand, natech + -Crushable: + Selectable: + Bounds: 14,30,0,-7 + Voice: CyborgCommando + Mobile: + Speed: 56 + Health: + HP: 500 + PoisonedByTiberium: + Weapon: TiberiumHeal + Passenger: + RevealsShroud: + Range: 7c0 + Armament: + Weapon: CyCannon + LocalOffset: 170,85,683 + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +MHIJACK: + Inherits: ^Infantry + Buildable: + Queue: Infantry + BuildPaletteOrder: 10 + Prerequisites: ~nahand, natech # natech must be natmpl + Valued: + Cost: 100 + Tooltip: + Name: Mutant Hijacker + Description: Hijacks enemy vehicles. Unarmed\n Strong vs Tanks\n Weak vs Infantry, Aircraft + Selectable: + Bounds: 12,17,0,-9 + Voice: Hijacker + Health: + HP: 300 + PoisonedByTiberium: + Weapon: TiberiumHeal + Mobile: + Speed: 99 + Captures: + CaptureTypes: Vehicle + RevealsShroud: + Range: 6c0 + -AutoTarget: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 diff --git a/mods/ts/rules/player-infantry.yaml b/mods/ts/rules/player-infantry.yaml new file mode 100644 index 0000000000..4afdda716f --- /dev/null +++ b/mods/ts/rules/player-infantry.yaml @@ -0,0 +1,60 @@ +E1: + Inherits: ^Infantry + Buildable: + Queue: Infantry + BuildPaletteOrder: 10 + Prerequisites: ~barracks + Valued: + Cost: 120 + Tooltip: + Name: Light Infantry + Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles + Selectable: + Bounds: 12,17,0,-9 + Health: + HP: 125 + Mobile: + Speed: 71 + Armament@PRIMARY: + Weapon: Minigun + UpgradeTypes: eliteweapon + UpgradeMaxEnabledLevel: 0 + UpgradeMaxAcceptedLevel: 1 + Armament@ELITE: + Weapon: M1Carbine + UpgradeTypes: eliteweapon + UpgradeMinEnabledLevel: 1 + AttackFrontal: + TakeCover: + WithInfantryBody: + IdleSequences: idle1,idle2 + +ENGINEER: + Inherits: ^Infantry + Valued: + Cost: 500 + Tooltip: + Name: Engineer + Description: Infiltrates and captures enemy structures.\n Strong vs Nothing\n Weak vs Everything + Buildable: + Queue: Infantry + BuildPaletteOrder: 30 + Prerequisites: ~barracks + Selectable: + Bounds: 12,17,0,-6 + Voice: Engineer + Mobile: + Speed: 56 + Health: + HP: 500 + Passenger: + PipType: Yellow + EngineerRepair: + RepairsBridges: + Captures: + CaptureTypes: building + -AutoTarget: + WithInfantryBody: + IdleSequences: idle1,idle2 + TakeCover: + -GainsExperience: