Files
OpenRA/mods/d2k/rules/defaults.yaml
2015-09-06 02:37:28 +02:00

315 lines
5.9 KiB
YAML

^ExistsInWorld:
AppearsOnRadar:
UpdatesPlayerStatistics:
CombatDebugOverlay:
GivesExperience:
ScriptTriggers:
UpgradeManager:
Huntable:
^SpriteActor:
BodyOrientation:
QuantizeFacingsFromSequence:
AutoSelectionSize:
RenderSprites:
^GainsExperience:
GainsExperience:
Upgrades:
200: firepower, damage, speed, reload, inaccuracy, rank
400: firepower, damage, speed, reload, inaccuracy, rank
800: firepower, damage, speed, reload, inaccuracy, rank
1600: firepower, damage, speed, reload, inaccuracy, rank, eliteweapon, selfheal
FirepowerMultiplier@EXPERIENCE:
UpgradeTypes: firepower
Modifier: 105, 110, 120, 130
DamageMultiplier@EXPERIENCE:
UpgradeTypes: damage
Modifier: 95, 90, 85, 75
SpeedMultiplier@EXPERIENCE:
UpgradeTypes: speed
Modifier: 105, 110, 120, 140
ReloadDelayMultiplier@EXPERIENCE:
UpgradeTypes: reload
Modifier: 95, 90, 85, 75
InaccuracyMultiplier@EXPERIENCE:
UpgradeTypes: inaccuracy
Modifier: 90, 80, 70, 50
SelfHealing@ELITE:
Step: 2
Ticks: 100
HealIfBelow: 1
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
WithRankDecoration:
Image: rank
Sequence: rank
Palette: effect
ReferencePoint: Bottom, Right
Offset: 2, 2
UpgradeTypes: rank
ZOffset: 256
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 4
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Mobile:
Crushes: crate
TerrainSpeeds:
Sand: 90
Rock: 100
Transition: 95
Concrete: 100
Spice: 80
SpiceBlobs: 80
Dune: 60
ROT: 5
SelectionDecorations:
Selectable:
Bounds: 32,32
Targetable:
TargetTypes: Ground, Vehicle, C4
Passenger:
CargoType: Vehicle
AttackMove:
DrawLineToTarget:
HiddenUnderFog:
ActorLostNotification:
Repairable:
RepairBuildings: repair
Guard:
Voice: Guard
Guardable:
WithFacingSpriteBody:
Demolishable:
TemporaryOwnerManager:
MustBeDestroyed:
Voiced:
VoiceSet: VehicleVoice
Carryable:
WithDecorationCarryable:
Image: pips
Sequence: pickup-indicator
Offset: -12, -12
^Tank:
Inherits: ^Vehicle
Mobile:
Crushes: crate, infantry
TerrainSpeeds:
Sand: 85
Rock: 100
Transition: 92
Concrete: 100
Spice: 80
SpiceBlobs: 80
Dune: 70
^Husk:
Inherits@1: ^SpriteActor
Health:
HP: 75
Armor:
Type: Light
HiddenUnderFog:
Type: CenterPosition
Tooltip:
Name: Wreck
AutoTargetIgnore:
ScriptTriggers:
WithFacingSpriteBody:
^VehicleHusk:
Inherits: ^Husk
Husk:
AllowedTerrain: Sand, Rock, Transition, Concrete, Spice, SpiceBlobs, Dune
Burns:
Interval: 4
Targetable:
TargetTypes: Ground, Vehicle
RequiresForceFire: yes
Capturable:
Type: husk
AllowAllies: yes
CaptureThreshold: 1.0
TransformOnCapture:
ForceHealthPercentage: 25
DisabledOverlay:
^AircraftHusk:
Inherits: ^Husk
WithShadow:
FallsToEarth:
Spins: False
Moves: True
Explosion: UnitExplodeScale
^TowerHusk:
Health:
HP: 125
Armor:
Type: Concrete
Husk:
AppearsOnRadar:
HiddenUnderFog:
Burns:
Interval: 2
Tooltip:
Name: Destroyed Tower
ScriptTriggers:
^Infantry:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Health:
Radius: 96
Armor:
Type: None
RevealsShroud:
Range: 6c0
Mobile:
Crushes: crate
SharesCell: true
TerrainSpeeds:
Sand: 80
Rock: 100
Transition: 90
Concrete: 100
Spice: 80
SpiceBlobs: 80
Dune: 60
Rough: 70
SelectionDecorations:
Selectable:
Bounds: 12,18,0,-6
Targetable:
TargetTypes: Ground, Infantry
UpgradeTypes: parachute
UpgradeMaxEnabledLevel: 0
QuantizeFacingsFromSequence:
Sequence: stand
WithInfantryBody:
TakeCover:
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
WithDeathAnimation:
DeathTypes:
ExplosionDeath: 1
SoundDeath: 2
SmallExplosionDeath: 3
BulletDeath: 4
CrushedSequence: die-crushed
AutoTarget:
AttackMove:
DrawLineToTarget:
Passenger:
CargoType: Infantry
PipType: Green
HiddenUnderFog:
ActorLostNotification:
Crushable:
CrushSound: CRUSH1.WAV
Guard:
Voice: Guard
Guardable:
DeathSounds:
DeathTypes: ExplosionDeath, SoundDeath, SmallExplosionDeath, BulletDeath
Parachutable:
FallRate: 130
MustBeDestroyed:
TerrainModifiesDamage:
TerrainModifier:
Rough: 80
Voiced:
VoiceSet: InfantryVoice
WithParachute:
UpgradeTypes: parachute
UpgradeMinEnabledLevel: 1
ShadowImage: parach-shadow
ShadowSequence: idle
^Plane:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
AppearsOnRadar:
UseLocation: yes
HiddenUnderFog:
Type: CenterPosition
AlwaysVisibleStances: None
ActorLostNotification:
AttackMove:
DrawLineToTarget:
Voiced:
VoiceSet: GenericVoice
WithFacingSpriteBody:
WithShadow:
^Building:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
SelectionDecorations:
Selectable:
Priority: 2
Targetable:
TargetTypes: Ground, C4, Structure
Building:
Dimensions: 1,1
Footprint: x
TerrainTypes: Rock, Concrete
BuildSounds: BUILD1.WAV
Adjacent: 3
GivesBuildableArea:
ExternalCapturable:
ExternalCapturableBar:
SoundOnDamageTransition:
DamagedSounds: EXPLSML1.WAV
DestroyedSounds: EXPLHG1.WAV
WithSpriteBody:
WithBuildingExplosion:
RepairableBuilding:
EmitInfantryOnSell:
ActorTypes: rifle,rifle,rifle,rifle,rifle,bazooka,bazooka,bazooka,engineer
MustBeDestroyed:
RequiredForShortGame: true
FrozenUnderFog:
CaptureNotification:
ActorLostNotification:
Notification: BuildingLost
ShakeOnDeath:
Sellable:
SellSounds: BUILD1.WAV
Guardable:
Range: 3
WithCrumbleOverlay:
Demolishable:
DamagedWithoutFoundation:
ThrowsShrapnel:
Weapons: shrapnel
Pieces: 3, 7
Range: 2c0, 5c0
WithMakeAnimation:
^Defense:
Inherits: ^Building
WithTurret:
AttackTurreted:
AutoTarget:
RenderRangeCircle:
RenderDetectionCircle:
-GivesBuildableArea:
-WithCrumbleOverlay:
-WithMakeAnimation:
-WithSpriteBody:
WithWallSpriteBody:
LineBuildNode:
Types: turret
MustBeDestroyed:
RequiredForShortGame: false