Files
OpenRA/mods/cnc/rules/ships.yaml
2020-07-19 10:41:05 +02:00

88 lines
1.7 KiB
YAML

BOAT:
Inherits: ^Ship
Inherits@EXPERIENCE: ^GainsExperience
Inherits@AUTOTARGET: ^AutoTargetAll
Valued:
Cost: 300
Tooltip:
Name: Gunboat
UpdatesPlayerStatistics:
AddToArmyValue: true
Health:
HP: 70000
Armor:
Type: Heavy
TDGunboat:
Speed: 28
RevealsShroud:
Range: 7c0
Type: CenterPosition
Turreted:
TurnSpeed: 20
Offset: 0,896,171
Armament:
Weapon: BoatMissile
LocalOffset: 85,-85,0, 85,85,0
AttackTDGunboatTurreted:
-QuantizeFacingsFromSequence:
BodyOrientation:
QuantizedFacings: 2
WithGunboatBody:
Sequence: left # Just a work-around to avoid crash
Selectable:
Bounds: 42,24
DecorationBounds: 42,24
AutoTarget:
AllowMovement: false
RejectsOrders:
GrantConditionOnDamageState@HEAVY:
Condition: heavy-damage
ValidDamageStates: Heavy
GrantConditionOnDamageState@CRITICAL:
Condition: critical-damage
ValidDamageStates: Critical
SpeedMultiplier@HEAVYDAMAGE:
RequiresCondition: heavy-damage
Modifier: 75
SpeedMultiplier@CRITICALDAMAGE:
RequiresCondition: critical-damage
Modifier: 50
LST:
Inherits: ^Ship
Inherits@TRANSPORT: ^Transport
Valued:
Cost: 300
Tooltip:
Name: Landing Craft
Buildable:
Queue: Vehicle.GDI
BuildPaletteOrder: 1000
Prerequisites: ~disabled
Mobile:
Locomotor: lcraft
InitialFacing: 0
TurnSpeed: 16
Speed: 142
PauseOnCondition: notmobile
Health:
HP: 40000
Armor:
Type: Heavy
RevealsShroud:
Range: 7c0
-BodyOrientation:
ClassicFacingBodyOrientation:
WithFacingSpriteBody:
Selectable:
Bounds: 48,48
WithRoof:
WithCargo:
DisplayTypes: Infantry, Vehicle
LocalOffset: 390,-256,0, 390,256,0, 0,0,0, -390,-256,0, -390,256,0
Cargo:
Types: Infantry, Vehicle
MaxWeight: 5
PassengerFacing: 0
LoadingCondition: notmobile