Files
OpenRA/mods/d2k/rules/defaults.yaml
2016-09-03 14:24:33 +02:00

320 lines
6.1 KiB
YAML

^ExistsInWorld:
AppearsOnRadar:
UpdatesPlayerStatistics:
CombatDebugOverlay:
GivesExperience:
PlayerExperienceModifier: 1
ScriptTriggers:
UpgradeManager:
RenderDebugState:
^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, 115, 125
DamageMultiplier@EXPERIENCE:
UpgradeTypes: damage
Modifier: 96, 92, 88, 80
SpeedMultiplier@EXPERIENCE:
UpgradeTypes: speed
Modifier: 105, 110, 115, 125
ReloadDelayMultiplier@EXPERIENCE:
UpgradeTypes: reload
Modifier: 96, 92, 88, 80
InaccuracyMultiplier@EXPERIENCE:
UpgradeTypes: inaccuracy
Modifier: 90, 80, 70, 50
SelfHealing@ELITE:
Step: 0
PercentageStep: 4
Delay: 125
HealIfBelow: 100
DamageCooldown: 125
UpgradeTypes: selfheal
UpgradeMinEnabledLevel: 1
WithRankDecoration:
Image: rank
Sequence: rank
Palette: effect
ReferencePoint: Bottom, Right
UpgradeTypes: rank
ZOffset: 256
UpgradeMinEnabledLevel: 1
UpgradeMaxAcceptedLevel: 4
^Vehicle:
Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor
Huntable:
Mobile:
UpgradeTypes: notmobile
UpgradeMaxEnabledLevel: 0
Crushes: crate, spicebloom
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 50
TurnSpeed: 5
SelectionDecorations:
WithSpriteControlGroupDecoration:
Selectable:
Bounds: 32,32
Targetable:
TargetTypes: Ground, Vehicle, C4
Passenger:
CargoType: Vehicle
AttackMove:
DrawLineToTarget:
HiddenUnderFog:
ActorLostNotification:
Repairable:
RepairBuildings: repair_pad
Guard:
Voice: Guard
Guardable:
WithFacingSpriteBody:
Demolishable:
TemporaryOwnerManager:
MustBeDestroyed:
Voiced:
VoiceSet: VehicleVoice
AutoCarryable:
CarryableUpgrades: notmobile
WithDecorationCarryable:
Image: pips
Sequence: pickup-indicator
Offset: -12, -12
^Tank:
Inherits: ^Vehicle
Mobile:
Crushes: crate, infantry, spicebloom
^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, SpiceSand, SpiceBlobs, Dune
Burns:
Interval: 4
Targetable:
TargetTypes: Ground, Vehicle
RequiresForceFire: true
DisabledOverlay:
Explodes:
Weapon: UnitExplodeMed
EmptyWeapon: UnitExplodeMed
^AircraftHusk:
Inherits: ^Husk
WithShadow:
FallsToEarth:
Spins: False
Moves: True
Explosion: UnitExplodeLarge
^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
Huntable:
Health:
Shape: Circle
Radius: 96
Armor:
Type: none
RevealsShroud:
Range: 3c768
Mobile:
Crushes: crate, spicebloom
SharesCell: true
TerrainSpeeds:
Sand: 100
Rock: 100
Transition: 100
Concrete: 100
SpiceSand: 100
Spice: 100
SpiceBlobs: 100
Dune: 80
Rough: 80
SelectionDecorations:
WithSpriteControlGroupDecoration:
Selectable:
Bounds: 12,20,0,-4
Targetable:
TargetTypes: Ground, Infantry
QuantizeFacingsFromSequence:
Sequence: stand
WithInfantryBody:
IdleSequences: idle1, idle2
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:
DetectCloaked:
Range: 1c384
DeathSounds:
DeathTypes: ExplosionDeath, SoundDeath, SmallExplosionDeath, BulletDeath
MustBeDestroyed:
TerrainModifiesDamage:
TerrainModifier:
Rough: 80
Voiced:
VoiceSet: InfantryVoice
^Plane:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Huntable:
AppearsOnRadar:
UseLocation: true
HiddenUnderFog:
Type: CenterPosition
AlwaysVisibleStances: None
ActorLostNotification:
AttackMove:
DrawLineToTarget:
WithFacingSpriteBody:
WithShadow:
^Building:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Huntable:
SelectionDecorations:
WithSpriteControlGroupDecoration:
Selectable:
Priority: 2
RevealsShroud:
VisibilityType: CenterPosition
Targetable:
TargetTypes: Ground, C4, Structure
Building:
Dimensions: 1,1
Footprint: x
TerrainTypes: Rock, Concrete
BuildSounds: BUILD1.WAV
Adjacent: 3
GivesBuildableArea:
Capturable:
CaptureThreshold: 100
SoundOnDamageTransition:
DamagedSounds: EXPLSML1.WAV
DestroyedSounds: EXPLHG1.WAV
WithSpriteBody:
WithBuildingExplosion:
Sequences: building, self_destruct, large_explosion
RepairableBuilding:
PlayerExperience: 25
EmitInfantryOnSell:
ActorTypes: light_inf
MustBeDestroyed:
RequiredForShortGame: true
FrozenUnderFog:
CaptureNotification:
ActorLostNotification:
Notification: BuildingLost
ShakeOnDeath:
Sellable:
SellSounds: BUILD1.WAV
Guardable:
Range: 3c0
WithCrumbleOverlay:
Demolishable:
DamagedByTerrain:
Damage: 10
DamageInterval: 100
Terrain: Rock
DamageThreshold: 50
StartOnThreshold: true
ThrowsShrapnel:
Weapons: Debris, Debris2, Debris3, Debris4
Pieces: 2, 5
Range: 1c512, 4c0
WithMakeAnimation:
^Defense:
Inherits: ^Building
WithSpriteTurret:
AttackTurreted:
AutoTarget:
RenderRangeCircle:
-GivesBuildableArea:
-WithMakeAnimation:
-WithSpriteBody:
WithWallSpriteBody:
LineBuildNode:
Types: turret
ThrowsShrapnel:
Weapons: Debris, Debris3
Pieces: 2, 2
Range: 2c0, 4c0
MustBeDestroyed:
RequiredForShortGame: false