Files
OpenRA/mods/d2k/rules/vehicles.yaml
reaperrr 654c66ddd0 Split Trike and Raider muzzle flash to its own weapon
Allows to show 3 muzzle flashes while only playing report, explosion effect and applying damage once
2015-09-19 17:40:02 +02:00

488 lines
8.8 KiB
YAML

mcv:
Inherits: ^Vehicle
Buildable:
Prerequisites: repair_pad, upgrade.heavy, ~techlevel.medium
Queue: Armor
BuildPaletteOrder: 110
Valued:
Cost: 2000
Tooltip:
Name: Mobile Construction Vehicle
Description: Deploys into another Construction Yard\n Unarmed
Selectable:
Class: mcv
Priority: 3
Health:
HP: 4500
Armor:
Type: light
Mobile:
Speed: 64
Crushes: crate, infantry
RevealsShroud:
Range: 8c0
MustBeDestroyed:
RequiredForShortGame: true
BaseBuilding:
Explodes:
Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge
Transforms:
Facing: 16
IntoActor: construction_yard
Offset: -1,-1
TransformSounds: BUILD1.WAV
NoTransformNotification: CannotDeploy
SpawnActorOnDeath:
Actor: mcv.husk
AttractsWorms:
Intensity: 700
SelectionDecorations:
VisualBounds: 42,42
harvester:
Inherits: ^Vehicle
Buildable:
Queue: Armor
Prerequisites: refinery
BuildPaletteOrder: 10
InitialActivity: FindResources
Valued:
Cost: 1000
Tooltip:
Name: Spice Harvester
Description: Collects Spice for processing\n Unarmed
Selectable:
Class: harvester
Priority: 7
Harvester:
PipCount: 10
Capacity: 40
HarvestFacings: 8
Resources: Spice
UnloadTicksPerBale: 5
SearchFromProcRadius: 24
SearchFromOrderRadius: 12
Health:
HP: 4500
Armor:
Type: harvester
Mobile:
Speed: 64
Crushes: crate, infantry
RevealsShroud:
Range: 4c0
Explodes:
Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath:
Actor: harvester.Husk
WithHarvestOverlay:
Palette: effect50alpha
WithDockingAnimation:
AttractsWorms:
Intensity: 700
SelectionDecorations:
VisualBounds: 42,42
trike:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 10
Prerequisites: ~light.regulartrikes
Valued:
Cost: 250
Tooltip:
Name: Trike
Description: Fast scout\n Strong vs Infantry\n Weak vs Tanks, Aircraft
Selectable:
Class: trike
Health:
HP: 900
Armor:
Type: wood
Mobile:
ROT: 10
Speed: 128
RevealsShroud:
Range: 7c0
WithMuzzleFlash:
Armament@damage:
Weapon: HMG
LocalOffset: -416,0,0
Armament@muzzle:
Weapon: HMG_muzzle
LocalOffset: -416,0,0
MuzzleSequence: muzzle
AttackFrontal:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
AttractsWorms:
Intensity: 420
quad:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
Prerequisites: upgrade.light, ~techlevel.medium
BuildPaletteOrder: 20
Valued:
Cost: 400
Tooltip:
Name: Missile Quad
Description: Missile Scout\n Strong vs Vehicles\n Weak vs Infantry
Health:
HP: 1100
Armor:
Type: light
Mobile:
ROT: 8
Speed: 96
RevealsShroud:
Range: 8c0
Armament:
Weapon: Rocket
LocalOffset: 128,64,64, 128,-64,64
AttackFrontal:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Class: quad
AttractsWorms:
Intensity: 470
siege_tank:
Inherits: ^Tank
Buildable:
Queue: Armor
Prerequisites: upgrade.heavy, ~techlevel.medium
BuildPaletteOrder: 50
Valued:
Cost: 850
Tooltip:
Name: Siege Tank
Description: Siege Artillery\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Health:
HP: 1200
Armor:
Type: light
Mobile:
Speed: 53
ROT: 3
Crushes: crate, infantry
RevealsShroud:
Range: 8c0
Turreted:
ROT: 3
Offset: 0,0,-32
Armament:
Weapon: 155mm
Recoil: 150
RecoilRecovery: 19
LocalOffset: 512,0,320
MuzzleSequence: muzzle
AttackFrontal:
WithMuzzleFlash:
WithTurret:
Explodes:
Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed
AutoTarget:
InitialStance: Defend
Selectable:
Class: siegetank
SpawnActorOnDeath:
Actor: siege_tank.husk
AttractsWorms:
Intensity: 600
missile_tank:
Inherits: ^Tank
Valued:
Cost: 1000
Tooltip:
Name: Missile Tank
Description: Rocket Artillery\n Strong vs Vehicles, Buildings\n Weak vs Infantry, Aircraft
Buildable:
Queue: Armor
Prerequisites: ~heavy.missiletank, upgrade.heavy, research_centre, ~techlevel.high
BuildPaletteOrder: 60
Mobile:
Speed: 64
ROT: 5
Health:
HP: 1300
Armor:
Type: wood
RevealsShroud:
Range: 9c0
Armament:
Weapon: mtank_pri
LocalOffset: -213,128,171, -213,-256,171
FireDelay: 15
AttackFrontal:
AutoTarget:
InitialStance: Defend
Explodes:
Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed
Selectable:
Class: missiletank
SpawnActorOnDeath:
Actor: missile_tank.husk
AttractsWorms:
Intensity: 600
sonic_tank:
Inherits: ^Vehicle
Buildable:
Queue: Armor
BuildPaletteOrder: 100
Prerequisites: ~heavy.atreides, research_centre, ~techlevel.high
Valued:
Cost: 1250
Tooltip:
Name: Sonic Tank
Description: Fires sonic shocks\n Strong vs Infantry, Vehicles\n Weak vs Artillery, Aircraft
Health:
HP: 3000
Armor:
Type: light
Mobile:
ROT: 3
Speed: 74
RevealsShroud:
Range: 6c0
Armament:
Weapon: Sound
LocalOffset: 640,0,427
AttackFrontal:
AutoTarget:
Explodes:
Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath:
Actor: sonic_tank.husk
AttractsWorms:
Intensity: 600
devastator:
Inherits: ^Tank
Buildable:
Queue: Armor
BuildPaletteOrder: 100
Prerequisites: ~heavy.harkonnen, research_centre, ~techlevel.high
Valued:
Cost: 1200
Tooltip:
Name: Devastator
Description: Super Heavy Tank\n Strong vs Tanks\n Weak vs Artillery, Aircraft
Health:
HP: 5000
Armor:
Type: heavy
Mobile:
ROT: 3
Speed: 42
Crushes: crate, infantry
RevealsShroud:
Range: 7c0
Armament:
Weapon: DevBullet
LocalOffset: 640,0,32
MuzzleSequence: muzzle
AttackFrontal:
WithMuzzleFlash:
IgnoreOffset: true
AutoTarget:
Explodes:
Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath:
Actor: devastator.husk
AttractsWorms:
Intensity: 700
SelectionDecorations:
VisualBounds: 44,38,0,0
raider:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 10
Prerequisites: ~light.ordos
Valued:
Cost: 300
Tooltip:
Name: Raider Trike
Description: Improved Scout\n Strong vs Infantry, Light Vehicles
Health:
HP: 1000
Armor:
Type: wood
Mobile:
ROT: 10
Speed: 149
RevealsShroud:
Range: 7c0
WithMuzzleFlash:
Armament@damage:
Weapon: HMGo
LocalOffset: 170,0,0
Armament@muzzle:
Weapon: HMGo_muzzle
LocalOffset: 170,0,0
MuzzleSequence: muzzle
AttackFrontal:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
AttractsWorms:
Intensity: 420
stealth_raider:
Inherits: raider
Buildable:
Prerequisites: ~light.ordos, upgrade.light, high_tech_factory, ~techlevel.medium
BuildPaletteOrder: 30
Valued:
Cost: 400
Tooltip:
Name: Stealth Raider Trike
Description: Invisible Raider Trike\n Strong vs Infantry, Light Vehicles
Cloak:
InitialDelay: 45
CloakDelay: 90
CloakSound: STEALTH1.WAV
UncloakSound: STEALTH2.WAV
IsPlayerPalette: true
AutoTarget:
InitialStance: HoldFire
-MustBeDestroyed:
deviator:
Inherits: ^Tank
Valued:
Cost: 1000
Tooltip:
Name: Deviator
Description: Fires a warhead which changes\nthe allegiance of enemy vehicles
Buildable:
Queue: Armor
BuildPaletteOrder: 50
Prerequisites: ~heavy.ordos, research_centre, ~techlevel.high
Mobile:
ROT: 3
Speed: 64
Health:
HP: 1100
Armor:
Type: wood
RevealsShroud:
Range: 5c0
Armament:
Weapon: DeviatorMissile
LocalOffset: -299,0,85
AttackFrontal:
AutoTarget:
InitialStance: Defend
Explodes:
Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath:
Actor: deviator.husk
AttractsWorms:
Intensity: 600
^combat_tank:
Inherits: ^Tank
Buildable:
Queue: Armor
BuildPaletteOrder: 40
Valued:
Cost: 700
Tooltip:
Name: Combat Tank
Description: Main Battle Tank\n Strong vs Tanks\n Weak vs Infantry, Aircraft\n \n Atreides: +Range\n Harkonnen: +Health\n Ordos: +Speed
Health:
HP: 2100
Armor:
Type: heavy
Mobile:
Speed: 64
ROT: 6
Crushes: crate, infantry
RevealsShroud:
Range: 8c0
Turreted:
ROT: 6
RealignDelay: 0
Armament:
Weapon: 80mm_A
Recoil: 128
RecoilRecovery: 32
LocalOffset: 256,0,0
MuzzleSequence: muzzle
AttackTurreted:
WithMuzzleFlash:
WithTurret:
AutoTarget:
Explodes:
Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed
Selectable:
Class: combat
AttractsWorms:
Intensity: 520
combat_tank_a:
Inherits: ^combat_tank
Buildable:
Prerequisites: ~heavy.atreides
Armament:
Weapon: 80mm_A
SpawnActorOnDeath:
Actor: combat_tank_a.husk
combat_tank_h:
Inherits: ^combat_tank
Buildable:
Prerequisites: ~heavy.harkonnen
Armament:
Weapon: 80mm_H
Mobile:
Speed: 53
ROT: 4
Turreted:
ROT: 5
RevealsShroud:
Range: 7c0
Health:
HP: 2700
SpawnActorOnDeath:
Actor: combat_tank_h.husk
combat_tank_o:
Inherits: ^combat_tank
Buildable:
Prerequisites: ~heavy.ordos
Turreted:
ROT: 8
Armament:
Weapon: 80mm_O
Mobile:
Speed: 96
ROT: 8
Crushes: crate, infantry
Health:
HP: 1800
SpawnActorOnDeath:
Actor: combat_tank_o.husk