Files
OpenRA/mods/d2k/rules/infantry.yaml
2015-11-09 18:28:22 +00:00

269 lines
5.4 KiB
YAML

light_inf:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Valued:
Cost: 50
CustomBuildTimeValue:
Value: 54
Tooltip:
Name: Light Infantry
Description: General-purpose infantry\n Strong vs Infantry\n Weak vs Vehicles, Artillery
Health:
HP: 600
Mobile:
Speed: 43
Armament:
Weapon: LMG
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
engineer:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Prerequisites: upgrade.barracks, ~techlevel.medium
Valued:
Cost: 400
CustomBuildTimeValue:
Value: 108
Tooltip:
Name: Engineer
Description: Infiltrates and captures enemy structures\n Strong vs Buildings\n Weak vs Everything
Health:
HP: 500
RevealsShroud:
Range: 2c768
Mobile:
Speed: 31
Passenger:
PipType: Yellow
EngineerRepair:
Captures:
CaptureTypes: building, husk
-AutoTarget:
Voiced:
VoiceSet: EngineerVoice
trooper:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Prerequisites: upgrade.barracks, ~techlevel.medium
Valued:
Cost: 90
CustomBuildTimeValue:
Value: 73
Tooltip:
Name: Trooper
Description: Anti-tank/Anti-aircraft infantry\n Strong vs Tanks, Aircraft\n Weak vs Infantry, Artillery
Health:
HP: 700
RevealsShroud:
Range: 4c768
Mobile:
Speed: 31
Armament:
Weapon: Bazooka
LocalOffset: 128,0,256
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
thumper:
Inherits: ^Infantry
-AutoTarget:
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: upgrade.barracks, ~techlevel.high
Valued:
Cost: 200
CustomBuildTimeValue:
Value: 108
Tooltip:
Name: Thumper
Description: Attracts nearby worms\n Unarmed
Health:
HP: 375
RevealsShroud:
Range: 2c768
Mobile:
Speed: 43
DeployToUpgrade:
Upgrades: deployed
Facing: 128
AllowedTerrainTypes: Sand, Spice, Dune
WithInfantryBody:
UpgradeTypes: deployed
UpgradeMaxEnabledLevel: 0
WithSpriteBody@DEPLOYED:
Sequence: thump
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
WithIdleOverlay@DEPLOYED:
Sequence: thump-sand
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
AmbientSound:
SoundFile: THUMPER1.WAV
Interval: 60
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
AttractsWorms:
Intensity: 1000
Falloff: 0, 0, 0, 100, 100, 100, 25, 11, 6, 4, 3, 2, 1, 0
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
DisableOnUpgrade:
UpgradeTypes: deployed
UpgradeMinEnabledLevel: 1
Passenger:
PipType: Blue
Voiced:
VoiceSet: EngineerVoice
fremen:
Inherits: ^Infantry
Tooltip:
Name: Fremen
Description: Elite sniper infantry unit\n Strong vs Infantry\n Weak vs Vehicles\n Special Ability: Invisibility
Buildable:
Queue: Infantry
BuildPaletteOrder: 100
Prerequisites: ~disabled
Mobile:
Speed: 43
Valued:
Cost: 200 ## actually 0, but spawns from support power at Palace
Health:
HP: 700
RevealsShroud:
Range: 4c768
AutoTarget:
ScanRadius: 7
InitialStance: HoldFire
InitialStanceAI: ReturnFire
Armament@PRIMARY:
Weapon: Fremen_S
Armament@SECONDARY:
Weapon: Fremen_L
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
Cloak:
InitialDelay: 85
CloakDelay: 85
CloakSound: STEALTH1.WAV
UncloakSound: STEALTH2.WAV
IsPlayerPalette: true
-MustBeDestroyed:
Voiced:
VoiceSet: FremenVoice
grenadier:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 80
Prerequisites: ~barracks.atreides, upgrade.barracks, high_tech_factory, ~techlevel.medium
Valued:
Cost: 80
CustomBuildTimeValue:
Value: 81 ## Wasn't converted, copied from Sardauker who has same value in TibEd.
Tooltip:
Name: Grenadier
Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles
Health:
HP: 600
Mobile:
Speed: 43
Armament:
Weapon: grenade
LocalOffset: 0,0,320
FireDelay: 15
AttackFrontal:
WithInfantryBody:
AttackSequence: throw
IdleSequences: idle
Explodes:
Weapon: GrenDeath
EmptyWeapon: GrenDeath
sardaukar:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 80
Prerequisites: ~barracks.harkonnen, palace, ~techlevel.high
Valued:
Cost: 200
CustomBuildTimeValue:
Value: 81
Tooltip:
Name: Sardaukar
Description: Elite assault infantry\n Strong vs Infantry, Vehicles\n Weak vs Artillery
Health:
HP: 1000
Mobile:
Speed: 31
RevealsShroud:
Range: 4c768
WithInfantryBody:
AttackSequence: shoot
Armament@PRIMARY:
Weapon: M_LMG
Armament@SECONDARY:
Weapon: M_HMG
AttackFrontal:
Voiced:
VoiceSet: GenericVoice
Explodes:
Weapon: SardDeath
EmptyWeapon: SardDeath
Chance: 100
saboteur:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 100
Prerequisites: ~disabled
Valued:
Cost: 300 ## actually 0, but spawns from support power at Palace
Tooltip:
Name: Saboteur
Description: Sneaky infantry, armed with explosives\n Strong vs Buildings\n Weak vs Everything\n Special Ability: destroy buildings
Health:
HP: 400
Mobile:
Speed: 43
C4Demolition:
C4Delay: 45
-AutoTarget:
Cloak:
InitialDelay: 85
CloakDelay: 85
CloakSound: STEALTH1.WAV
UncloakSound: STEALTH2.WAV
UncloakOnMove: true
IsPlayerPalette: true
Voiced:
VoiceSet: SaboteurVoice
nsfremen:
Inherits: fremen
Tooltip:
Description: Elite sniper infantry unit\n Strong vs Infantry\n Weak vs Vehicles
Buildable:
BuildPaletteOrder: 105
Prerequisites: ~disabled
RenderSprites:
Image: fremen
-Cloak: