Files
OpenRA/mods/ra-classic/rules/defaults.yaml
Paul Chote 0167bbfbaa Move weapon/turret definitions out of AttackBase.
Weapons are now defined with the Armament trait
and turret parameters live in Turreted.
This has the side effect of allowing any number
and distribution of weapons and turrets.
2013-03-24 11:58:45 +13:00

320 lines
5.2 KiB
YAML

^Vehicle:
AppearsOnRadar:
Mobile:
Crushes: atmine, crate, apmine
TerrainSpeeds:
Clear: 80
Rough: 40
Road: 100
Ore: 70
Beach: 40
ROT: 5
SelectionDecorations:
Selectable:
Voice: VehicleVoice
TargetableUnit:
TargetTypes: Ground
Repairable:
Chronoshiftable:
Passenger:
CargoType: Vehicle
IronCurtainable:
AttackMove:
ActorLostNotification:
Notification: unitlst1.aud
ProximityCaptor:
Types:Vehicle
GpsDot:
String:Vehicle
WithSmoke:
UpdatesPlayerStatistics:
^Tank:
AppearsOnRadar:
Mobile:
Crushes: wall, atmine, crate, apmine
TerrainSpeeds:
Clear: 80
Rough: 70
Road: 100
Ore: 70
Beach: 70
ROT: 5
SelectionDecorations:
Selectable:
Voice: VehicleVoice
TargetableUnit:
TargetTypes: Ground
Repairable:
Chronoshiftable:
Passenger:
CargoType: Vehicle
IronCurtainable:
AttackMove:
ActorLostNotification:
Notification: unitlst1.aud
ProximityCaptor:
Types:Tank
GpsDot:
String:Vehicle
WithSmoke:
UpdatesPlayerStatistics:
^Infantry:
AppearsOnRadar:
Health:
Radius: 3
Armor:
Type: None
RevealsShroud:
Range: 4
Mobile:
Crushes: apmine, crate
SharesCell: true
TerrainSpeeds:
Clear: 90
Rough: 80
Road: 100
Ore: 80
Beach: 80
SelectionDecorations:
Selectable:
Voice: GenericVoice
TargetableUnit:
TargetTypes: Ground
RenderInfantry:
AutoTarget:
AttackMove:
Passenger:
CargoType: Infantry
TeslaInstantKills:
ActorLostNotification:
Notification: unitlst1.aud
ProximityCaptor:
Types:Infantry
GpsDot:
String:Infantry
ParachuteAttachment:
Offset: 0,-10
CrushableInfantry:
CrushSound: squishy2.aud
UpdatesPlayerStatistics:
^Ship:
AppearsOnRadar:
Mobile:
Crushes: crate
TerrainSpeeds:
Water: 100
SelectionDecorations:
Selectable:
Voice: ShipVoice
TargetableUnit:
TargetTypes: Ground, Water
DetectCloaked:
Range: 3
AttackMove:
ActorLostNotification:
Notification: navylst1.aud
ProximityCaptor:
Types:Ship
GpsDot:
String:Ship
WithSmoke:
UpdatesPlayerStatistics:
^Plane:
AppearsOnRadar:
UseLocation: yes
SelectionDecorations:
Selectable:
Voice: GenericVoice
TargetableAircraft:
TargetTypes: Air
GroundedTargetTypes: Ground
HiddenUnderFog:
ActorLostNotification:
Notification: aunitl1.aud
DebugAircraftFacing:
DebugAircraftSubPxX:
DebugAircraftSubPxY:
DebugAircraftAltitude:
ProximityCaptor:
Types:Plane
EjectOnDeath:
PilotActor: E1
SuccessRate: 50
GpsDot:
String:Plane
UpdatesPlayerStatistics:
^Helicopter:
Inherits: ^Plane
GpsDot:
String:Helicopter
^Building:
AppearsOnRadar:
SelectionDecorations:
Selectable:
Priority: 3
TargetableBuilding:
TargetTypes: Ground
Building:
Dimensions: 1,1
Footprint: x
TerrainTypes: Clear,Road
GivesBuildableArea:
Capturable:
CaptureCompleteTime: 0
CapturableBar:
SoundOnDamageTransition:
DamagedSound: kaboom1.aud
DestroyedSound: kaboom22.aud
RenderBuilding:
WithBuildingExplosion:
RepairableBuilding:
EngineerRepairable:
EmitInfantryOnSell:
ActorTypes: e1,e1,e1,c1,c2,e6
MustBeDestroyed:
CaptureNotification:
Notification: strucap1.aud
EditorAppearance:
RelativeToTopLeft: yes
ShakeOnDeath:
ProximityCaptor:
Types:Building
Sellable:
^Wall:
AppearsOnRadar:
Building:
Dimensions: 1,1
Footprint: x
BuildSounds: placbldg.aud
Adjacent: 7
TerrainTypes: Clear,Road
SoundOnDamageTransition:
DamagedSound: sandbag2.aud
DestroyedSound: sandbag2.aud
Wall:
CrushClasses: wall
SelectionDecorations:
Selectable:
Priority: 1
TargetableBuilding:
TargetTypes: Ground
RenderBuildingWall:
HasMakeAnimation: false
Palette: terrain
GivesExperience:
EditorAppearance:
RelativeToTopLeft: yes
UseTerrainPalette: true
AutoTargetIgnore:
ProximityCaptor:
Types:Wall
Sellable:
^TechBuilding:
Inherits: ^Building
-RepairableBuilding:
-EngineerRepairable:
Health:
HP: 400
Armor:
Type: Wood
Tooltip:
Name: Civilian Building
ProximityCaptor:
Types:CivilianBuilding
-GivesBuildableArea:
-Sellable:
-Capturable:
-CapturableBar:
^CivInfantry:
Inherits: ^Infantry
Selectable:
Voice: CivilianMaleVoice
Bounds: 12,17,0,-9
Valued:
Cost: 70
Tooltip:
Name: Civilian
Health:
HP: 20
Mobile:
Speed: 4
RevealsShroud:
Range: 2
Armament:
Weapon: Pistol
AttackFrontal:
ProximityCaptor:
Types:CivilianInfantry
-RenderInfantry:
RenderInfantryPanic:
ScaredyCat:
^CivBuilding:
Inherits: ^TechBuilding
RenderBuilding:
Palette: terrain
EditorAppearance:
UseTerrainPalette: true
^CivField:
Inherits: ^CivBuilding
-Selectable:
Tooltip:
Name: Field
-ProximityCaptor:
ProximityCaptor:
Types:CivilianField
^Tree:
Tooltip:
Name: Tree
RenderBuilding:
Palette: terrain
Building:
Footprint: x
Dimensions: 1,1
AppearsOnRadar:
RadarColorFromTerrain:
Terrain: Tree
EditorAppearance:
RelativeToTopLeft: yes
UseTerrainPalette: true
ProximityCaptor:
Types:Tree
^Husk:
Husk:
RenderUnit:
Health:
HP: 140
Armor:
Type: Heavy
HiddenUnderFog:
AppearsOnRadar:
Burns:
ProximityCaptor:
Types:Husk
^Bridge:
Tooltip:
Name: Bridge
BelowUnits:
TargetableBuilding:
TargetTypes: Ground, Water
Building:
Footprint: ____ ____
Dimensions: 4,2
Health:
HP: 1000
ProximityCaptor:
Types:Bridge
AutoTargetIgnore: