Initial commit: OpenRA game engine
Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
537
mods/ts/rules/aircraft.yaml
Normal file
537
mods/ts/rules/aircraft.yaml
Normal file
@@ -0,0 +1,537 @@
|
||||
DPOD:
|
||||
Inherits: ^Aircraft
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Inherits@CARGOPIPS: ^CargoPips
|
||||
Valued:
|
||||
Cost: 10
|
||||
Tooltip:
|
||||
Name: actor-dpod-name
|
||||
Aircraft:
|
||||
IdleBehavior: Land
|
||||
Pitch: 0
|
||||
Roll: 0
|
||||
TurnSpeed: 20
|
||||
Speed: 149
|
||||
Health:
|
||||
HP: 6000
|
||||
Armor:
|
||||
Type: Light
|
||||
Cargo:
|
||||
Types: Infantry
|
||||
MaxWeight: 1
|
||||
UnloadVoice: Move
|
||||
EjectOnDeath: true
|
||||
Armament:
|
||||
Weapon: Vulcan2
|
||||
AttackAircraft:
|
||||
Voice: Attack
|
||||
AmmoPool:
|
||||
Ammo: 5
|
||||
-SpawnActorOnDeath:
|
||||
WithAmmoPipsDecoration:
|
||||
Position: BottomLeft
|
||||
RequiresSelection: true
|
||||
Margin: 4, 5
|
||||
FullSequence: pip-ammo
|
||||
EmptySequence: pip-ammoempty
|
||||
Palette: pips
|
||||
|
||||
DPOD2:
|
||||
Inherits@2: ^ExistsInWorld
|
||||
Valued:
|
||||
Cost: 10
|
||||
Tooltip:
|
||||
Name: actor-dpod2-name
|
||||
Health:
|
||||
HP: 6000
|
||||
Armor:
|
||||
Type: Light
|
||||
Aircraft:
|
||||
TurnSpeed: 20
|
||||
Speed: 300
|
||||
CruiseAltitude: 16c0
|
||||
MaximumPitch: 110
|
||||
LandableTerrainTypes: Clear, Road, Rail, DirtRoad, Rough
|
||||
HiddenUnderFog:
|
||||
Type: CenterPosition
|
||||
BodyOrientation:
|
||||
UseClassicPerspectiveFudge: False
|
||||
RenderSprites:
|
||||
Image: pod
|
||||
WithFacingSpriteBody:
|
||||
QuantizeFacingsFromSequence:
|
||||
HitShape:
|
||||
Interactable:
|
||||
WithShadow:
|
||||
LeavesTrails:
|
||||
Image: largesmoke
|
||||
MovingInterval: 3
|
||||
SpawnAtLastPosition: False
|
||||
Type: CenterPosition
|
||||
FallsToEarth:
|
||||
Explosion: DropPodExplode
|
||||
Moves: true
|
||||
Velocity: 768
|
||||
MaximumSpinSpeed: 0
|
||||
|
||||
DPOD2E1:
|
||||
Inherits: DPOD2
|
||||
SpawnActorOnDeath:
|
||||
Actor: E1R3
|
||||
|
||||
DPOD2E2:
|
||||
Inherits: DPOD2
|
||||
SpawnActorOnDeath:
|
||||
Actor: E2R3
|
||||
|
||||
DSHP:
|
||||
Inherits: ^Aircraft
|
||||
Inherits@CARGOPIPS: ^CargoPips
|
||||
Valued:
|
||||
Cost: 1000
|
||||
Tooltip:
|
||||
Name: actor-dshp-name
|
||||
UpdatesPlayerStatistics:
|
||||
AddToArmyValue: true
|
||||
Aircraft:
|
||||
IdleBehavior: Land
|
||||
Pitch: 0
|
||||
Roll: 0
|
||||
TurnSpeed: 20
|
||||
Speed: 168
|
||||
TakeoffSounds: dropup1.aud
|
||||
LandingSounds: dropdwn1.aud
|
||||
IdealSeparation: 1275
|
||||
CruiseAltitude: 12c512
|
||||
AltitudeVelocity: 256
|
||||
MoveIntoShroud: true
|
||||
Health:
|
||||
HP: 20000
|
||||
Armor:
|
||||
Type: Heavy
|
||||
RevealsShroud:
|
||||
Range: 3c0
|
||||
Type: CenterPosition
|
||||
Cargo:
|
||||
Types: Infantry
|
||||
MaxWeight: 5
|
||||
UnloadVoice: Move
|
||||
EjectOnDeath: true
|
||||
SpawnActorOnDeath:
|
||||
Actor: DSHP.Husk
|
||||
|
||||
ORCA:
|
||||
Inherits: ^EMPableAircraft
|
||||
Inherits@EXPERIENCE: ^GainsExperience
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Valued:
|
||||
Cost: 1000
|
||||
Tooltip:
|
||||
Name: actor-orca.name
|
||||
UpdatesPlayerStatistics:
|
||||
AddToArmyValue: true
|
||||
Buildable:
|
||||
Queue: Air
|
||||
BuildPaletteOrder: 10
|
||||
Prerequisites: ~gahpad
|
||||
Description: actor-orca.description
|
||||
Selectable:
|
||||
Bounds: 905, 1448
|
||||
Aircraft:
|
||||
TurnSpeed: 20
|
||||
Speed: 186
|
||||
TakeoffSounds: orcaup1.aud
|
||||
LandingSounds: orcadwn1.aud
|
||||
AltitudeVelocity: 128
|
||||
CanSlide: false
|
||||
TakeOffOnResupply: true
|
||||
Health:
|
||||
HP: 20000
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 2c0
|
||||
Type: CenterPosition
|
||||
Armament:
|
||||
Weapon: Hellfire
|
||||
PauseOnCondition: !ammo
|
||||
AttackAircraft:
|
||||
FacingTolerance: 80
|
||||
PersistentTargeting: false
|
||||
Voice: Attack
|
||||
PauseOnCondition: empdisable
|
||||
AttackType: Hover
|
||||
AmmoPool:
|
||||
Ammo: 5
|
||||
AmmoCondition: ammo
|
||||
RenderSprites:
|
||||
SpawnActorOnDeath:
|
||||
Actor: ORCA.Husk
|
||||
RequiresCondition: !empdisable
|
||||
SpawnActorOnDeath@EMP:
|
||||
Actor: ORCA.Husk.EMP
|
||||
RequiresCondition: empdisable
|
||||
Rearmable:
|
||||
RearmActors: gahpad, nahpad
|
||||
WithAmmoPipsDecoration:
|
||||
Position: BottomLeft
|
||||
RequiresSelection: true
|
||||
Margin: 4, 5
|
||||
FullSequence: pip-ammo
|
||||
EmptySequence: pip-ammoempty
|
||||
Palette: pips
|
||||
|
||||
ORCAB:
|
||||
Inherits: ^EMPableAircraft
|
||||
Inherits@EXPERIENCE: ^GainsExperience
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Valued:
|
||||
Cost: 1600
|
||||
Tooltip:
|
||||
Name: actor-orcab.name
|
||||
UpdatesPlayerStatistics:
|
||||
AddToArmyValue: true
|
||||
Buildable:
|
||||
Queue: Air
|
||||
BuildPaletteOrder: 30
|
||||
Prerequisites: ~gahpad, gatech
|
||||
Description: actor-orcab.description
|
||||
Selectable:
|
||||
Bounds: 905, 1448
|
||||
Aircraft:
|
||||
CruiseAltitude: 5c512
|
||||
TurnSpeed: 12
|
||||
IdleTurnSpeed: 4
|
||||
Speed: 96
|
||||
IdleSpeed: 72
|
||||
CruisingCondition: cruising
|
||||
TakeoffSounds: orcaup1.aud
|
||||
LandingSounds: orcadwn1.aud
|
||||
CanHover: false
|
||||
CanSlide: false
|
||||
Health:
|
||||
HP: 26000
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 2c0
|
||||
Type: CenterPosition
|
||||
Armament:
|
||||
Weapon: Bomb
|
||||
PauseOnCondition: !ammo
|
||||
AttackAircraft:
|
||||
Voice: Attack
|
||||
FacingTolerance: 80
|
||||
PersistentTargeting: false
|
||||
PauseOnCondition: empdisable
|
||||
AmmoPool:
|
||||
Ammo: 10
|
||||
ReloadCount: 5
|
||||
ReloadDelay: 200
|
||||
AmmoCondition: ammo
|
||||
RenderSprites:
|
||||
Hovers@CRUISING:
|
||||
RequiresCondition: cruising
|
||||
SpawnActorOnDeath:
|
||||
Actor: ORCAB.Husk
|
||||
RequiresCondition: !empdisable
|
||||
SpawnActorOnDeath@EMP:
|
||||
Actor: ORCAB.Husk.EMP
|
||||
RequiresCondition: empdisable
|
||||
Rearmable:
|
||||
RearmActors: gahpad, nahpad
|
||||
WithAmmoPipsDecoration:
|
||||
Position: BottomLeft
|
||||
RequiresSelection: true
|
||||
Margin: 4, 5
|
||||
PipCount: 2
|
||||
FullSequence: pip-ammo
|
||||
EmptySequence: pip-ammoempty
|
||||
Palette: pips
|
||||
AppearsOnRadar:
|
||||
ValidRelationships: Ally
|
||||
AppearsOnRadar@ENEMY:
|
||||
UseLocation: true
|
||||
ValidRelationships: Neutral, Enemy
|
||||
RequiresCondition: !rank-elite
|
||||
|
||||
ORCATRAN:
|
||||
Inherits: ^EMPableAircraft
|
||||
Inherits@CARGOPIPS: ^CargoPips
|
||||
Valued:
|
||||
Cost: 1200
|
||||
Tooltip:
|
||||
Name: actor-orcatran-name
|
||||
UpdatesPlayerStatistics:
|
||||
AddToArmyValue: true
|
||||
Buildable:
|
||||
Queue: Air
|
||||
BuildPaletteOrder: 50
|
||||
Prerequisites: ~disabled
|
||||
RenderSprites:
|
||||
Aircraft:
|
||||
TurnSpeed: 20
|
||||
Speed: 84
|
||||
LandableTerrainTypes: Clear, Road, Rail, DirtRoad, Rough, Tiberium, BlueTiberium, Veins
|
||||
Crushes: crate, infantry
|
||||
TakeoffSounds: orcaup1.aud
|
||||
LandingSounds: orcadwn1.aud
|
||||
IdealSeparation: 1275
|
||||
Health:
|
||||
HP: 20000
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 2c0
|
||||
Type: CenterPosition
|
||||
Cargo:
|
||||
Types: Infantry
|
||||
MaxWeight: 5
|
||||
UnloadVoice: Move
|
||||
EjectOnDeath: true
|
||||
AfterUnloadDelay: 40
|
||||
SpawnActorOnDeath:
|
||||
Actor: ORCATRAN.Husk
|
||||
RequiresCondition: !empdisable
|
||||
SpawnActorOnDeath@EMP:
|
||||
Actor: ORCATRAN.Husk.EMP
|
||||
RequiresCondition: empdisable
|
||||
WithAircraftLandingEffect:
|
||||
Image: dropland
|
||||
|
||||
TRNSPORT:
|
||||
Inherits: ^EMPableAircraft
|
||||
Valued:
|
||||
Cost: 750
|
||||
Tooltip:
|
||||
Name: actor-trnsport.name
|
||||
UpdatesPlayerStatistics:
|
||||
AddToArmyValue: true
|
||||
Buildable:
|
||||
Queue: Air
|
||||
BuildPaletteOrder: 60
|
||||
Prerequisites: ~gahpad, gadept
|
||||
Description: actor-trnsport.description
|
||||
Aircraft:
|
||||
TurnSpeed: 20
|
||||
Speed: 149
|
||||
Pitch: 0
|
||||
Roll: 0
|
||||
TakeoffSounds: dropup1.aud
|
||||
LandingSounds: dropdwn1.aud
|
||||
Carryall:
|
||||
Voice: Move
|
||||
LocalOffset: 0,0,-317
|
||||
BeforeLoadDelay: 10
|
||||
BeforeUnloadDelay: 10
|
||||
Health:
|
||||
HP: 17500
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 2c0
|
||||
Type: CenterPosition
|
||||
RenderSprites:
|
||||
Selectable:
|
||||
Bounds: 1327, 1930, 0, -482
|
||||
SpawnActorOnDeath:
|
||||
Actor: TRNSPORT.Husk
|
||||
RequiresCondition: !empdisable
|
||||
SpawnActorOnDeath@EMP:
|
||||
Actor: TRNSPORT.Husk.EMP
|
||||
RequiresCondition: empdisable
|
||||
WithAircraftLandingEffect:
|
||||
Image: caryland
|
||||
|
||||
SCRIN:
|
||||
Inherits: ^EMPableAircraft
|
||||
Inherits@EXPERIENCE: ^GainsExperience
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Valued:
|
||||
Cost: 1500
|
||||
Tooltip:
|
||||
Name: actor-scrin.name
|
||||
UpdatesPlayerStatistics:
|
||||
AddToArmyValue: true
|
||||
Buildable:
|
||||
Queue: Air
|
||||
BuildPaletteOrder: 40
|
||||
Prerequisites: ~nahpad, natech
|
||||
Description: actor-scrin.description
|
||||
Selectable:
|
||||
Bounds: 905, 1448
|
||||
Voiced:
|
||||
VoiceSet: Scrin
|
||||
Aircraft:
|
||||
CruiseAltitude: 5c0
|
||||
TurnSpeed: 15
|
||||
Speed: 200
|
||||
IdleTurnSpeed: 6
|
||||
IdleSpeed: 100
|
||||
TakeoffSounds: dropup1.aud
|
||||
LandingSounds: dropdwn1.aud
|
||||
CanHover: false
|
||||
CanSlide: false
|
||||
Health:
|
||||
HP: 28000
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 2c0
|
||||
Type: CenterPosition
|
||||
Armament:
|
||||
Weapon: Proton
|
||||
PauseOnCondition: !ammo
|
||||
AttackAircraft:
|
||||
Voice: Attack
|
||||
FacingTolerance: 80
|
||||
PersistentTargeting: false
|
||||
PauseOnCondition: empdisable
|
||||
AmmoPool:
|
||||
Ammo: 15
|
||||
ReloadCount: 5
|
||||
AmmoCondition: ammo
|
||||
RenderSprites:
|
||||
DeathSounds:
|
||||
SpawnActorOnDeath:
|
||||
Actor: SCRIN.Husk
|
||||
RequiresCondition: !empdisable
|
||||
SpawnActorOnDeath@EMP:
|
||||
Actor: SCRIN.Husk.EMP
|
||||
RequiresCondition: empdisable
|
||||
Rearmable:
|
||||
RearmActors: gahpad, nahpad
|
||||
WithAmmoPipsDecoration:
|
||||
Position: BottomLeft
|
||||
RequiresSelection: true
|
||||
Margin: 4, 5
|
||||
PipCount: 3
|
||||
FullSequence: pip-ammo
|
||||
EmptySequence: pip-ammoempty
|
||||
Palette: pips
|
||||
AppearsOnRadar:
|
||||
ValidRelationships: Ally
|
||||
AppearsOnRadar@ENEMY:
|
||||
UseLocation: true
|
||||
ValidRelationships: Neutral, Enemy
|
||||
RequiresCondition: !rank-elite
|
||||
|
||||
APACHE:
|
||||
Inherits: ^EMPableAircraft
|
||||
Inherits@EXPERIENCE: ^GainsExperience
|
||||
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
|
||||
Valued:
|
||||
Cost: 1000
|
||||
Tooltip:
|
||||
Name: actor-apache.name
|
||||
UpdatesPlayerStatistics:
|
||||
AddToArmyValue: true
|
||||
Buildable:
|
||||
Queue: Air
|
||||
BuildPaletteOrder: 20
|
||||
Prerequisites: ~nahpad
|
||||
Description: actor-apache.description
|
||||
Selectable:
|
||||
Bounds: 905, 1448
|
||||
Aircraft:
|
||||
Pitch: -32
|
||||
PitchSpeed: 8
|
||||
Roll: 16
|
||||
RollSpeed: 8
|
||||
TurnSpeed: 20
|
||||
Speed: 130
|
||||
CanSlide: false
|
||||
TakeOffOnResupply: true
|
||||
Health:
|
||||
HP: 22500
|
||||
Armor:
|
||||
Type: Light
|
||||
RevealsShroud:
|
||||
Range: 2c0
|
||||
Type: CenterPosition
|
||||
Armament:
|
||||
Weapon: HarpyClaw
|
||||
PauseOnCondition: !ammo
|
||||
AttackAircraft:
|
||||
FacingTolerance: 80
|
||||
PersistentTargeting: false
|
||||
Voice: Attack
|
||||
PauseOnCondition: empdisable
|
||||
AttackType: Hover
|
||||
AmmoPool:
|
||||
Ammo: 12
|
||||
AmmoCondition: ammo
|
||||
WithIdleOverlay@ROTORAIR:
|
||||
Offset: 85,0,598
|
||||
Sequence: rotor
|
||||
RequiresCondition: airborne
|
||||
WithIdleOverlay@ROTORGROUND:
|
||||
Offset: 85,0,598
|
||||
Sequence: slow-rotor
|
||||
RequiresCondition: !airborne
|
||||
RenderSprites:
|
||||
SpawnActorOnDeath:
|
||||
Actor: APACHE.Husk
|
||||
RequiresCondition: !empdisable
|
||||
SpawnActorOnDeath@EMP:
|
||||
Actor: APACHE.Husk.EMP
|
||||
RequiresCondition: empdisable
|
||||
Rearmable:
|
||||
RearmActors: gahpad, nahpad
|
||||
WithAmmoPipsDecoration:
|
||||
Position: BottomLeft
|
||||
RequiresSelection: true
|
||||
Margin: 4, 5
|
||||
PipCount: 4
|
||||
FullSequence: pip-ammo
|
||||
EmptySequence: pip-ammoempty
|
||||
Palette: pips
|
||||
WithShadow:
|
||||
WithVoxelBody:
|
||||
ShowShadow: False
|
||||
|
||||
HUNTER:
|
||||
Inherits@2: ^ExistsInWorld
|
||||
Valued:
|
||||
Cost: 1000
|
||||
Tooltip:
|
||||
Name: actor-hunter-name
|
||||
Health:
|
||||
HP: 50000
|
||||
Armor:
|
||||
Type: Light
|
||||
Aircraft:
|
||||
TurnSpeed: 64
|
||||
Speed: 355
|
||||
Pitch: 0
|
||||
Roll: 0
|
||||
CruiseAltitude: 3c128
|
||||
CruisingCondition: cruising
|
||||
MoveIntoShroud: true
|
||||
AttackAircraft:
|
||||
FacingTolerance: 512
|
||||
AttackType: Hover
|
||||
Armament@PRIMARY:
|
||||
Weapon: SuicideBomb
|
||||
GrantConditionOnAttack:
|
||||
Condition: triggered
|
||||
KillsSelf:
|
||||
RequiresCondition: triggered
|
||||
Targetable:
|
||||
TargetTypes: Ground, Vehicle
|
||||
HiddenUnderFog:
|
||||
Type: CenterPosition
|
||||
BodyOrientation:
|
||||
UseClassicPerspectiveFudge: False
|
||||
RenderSprites:
|
||||
Image: GGHUNT
|
||||
WithFacingSpriteBody:
|
||||
Hovers@CRUISING:
|
||||
RequiresCondition: cruising
|
||||
QuantizeFacingsFromSequence:
|
||||
AppearsOnRadar:
|
||||
UseLocation: true
|
||||
Interactable:
|
||||
HitShape:
|
||||
MapEditorData:
|
||||
Categories: System
|
||||
Reference in New Issue
Block a user