Skip to content

Commit

Permalink
Adapt official mods to ActionsOnIdle
Browse files Browse the repository at this point in the history
Ran update rules on them first and then cleaned up.
  • Loading branch information
reaperrr committed Dec 2, 2018
1 parent 1f95538 commit c420e8d
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion mods/cnc/rules/aircraft.yaml
Expand Up @@ -10,11 +10,11 @@ TRAN:
Queue: Aircraft.GDI, Aircraft.Nod
Description: Fast Infantry Transport Helicopter.\n Unarmed
Aircraft:
LandWhenIdle: true
TurnSpeed: 5
Speed: 150
LandableTerrainTypes: Clear,Rough,Road,Ore,Beach,Tiberium,BlueTiberium
AltitudeVelocity: 0c100
ActionsOnIdle: Land, Hover
Health:
HP: 9000
Armor:
Expand Down
4 changes: 2 additions & 2 deletions mods/cnc/rules/defaults.yaml
Expand Up @@ -310,13 +310,13 @@
Repairable:
RepairBuildings: hpad
Aircraft:
LandWhenIdle: false
AirborneCondition: airborne
CruisingCondition: cruising
CanHover: True
TakeOffOnResupply: true
VTOL: true
InitialFacing: 224
ActionsOnIdle: Hover
HiddenUnderFog:
Type: GroundPosition
ActorLostNotification:
Expand Down Expand Up @@ -640,10 +640,10 @@
Offset: 43, 128, 0
ZOffset: -129
WithFacingSpriteBody:
FlyAwayOnIdle:
RejectsOrders:
Aircraft:
CruiseAltitude: 2560
ActionsOnIdle: LeaveMap
MapEditorData:
Categories: Aircraft

Expand Down
5 changes: 3 additions & 2 deletions mods/d2k/rules/aircraft.yaml
Expand Up @@ -16,11 +16,11 @@ carryall.reinforce:
TurnSpeed: 4
LandableTerrainTypes: Sand, Rock, Transition, Spice, SpiceSand, Dune, Concrete
Repulsable: False
LandWhenIdle: False
AirborneCondition: airborne
CanHover: True
VTOL: true
IdleTurnSpeed: 1
ActionsOnIdle: Hover
Targetable@GROUND:
TargetTypes: Ground, Vehicle
RequiresCondition: !airborne
Expand Down Expand Up @@ -57,6 +57,7 @@ carryall:
LocalOffset: 0, 0, -128
Aircraft:
MinAirborneAltitude: 400
ActionsOnIdle: Circle
RevealsShroud@lifting_low:
Range: 2c512
Type: GroundPosition
Expand All @@ -82,11 +83,11 @@ frigate:
Repulsable: False
MaximumPitch: 20
CruiseAltitude: 2048
ActionsOnIdle: LeaveMap
-AppearsOnRadar:
Cargo:
MaxWeight: 20
PipCount: 10
FlyAwayOnIdle:
RejectsOrders:

ornithopter:
Expand Down
8 changes: 4 additions & 4 deletions mods/ra/rules/aircraft.yaml
Expand Up @@ -115,13 +115,13 @@ MIG:
Speed: 223
RepulsionSpeed: 40
MaximumPitch: 56
ActionsOnIdle: ReturnToBase
AutoTarget:
InitialStance: HoldFire
InitialStanceAI: HoldFire
AmmoPool:
Ammo: 8
AmmoCondition: ammo
ReturnOnIdle:
Selectable:
Bounds: 36,28,0,2
DecorationBounds: 40,29,0,1
Expand Down Expand Up @@ -182,6 +182,7 @@ YAK:
Speed: 178
RepulsionSpeed: 40
MaximumPitch: 56
ActionsOnIdle: ReturnToBase
AutoTarget:
InitialStance: HoldFire
InitialStanceAI: HoldFire
Expand All @@ -190,7 +191,6 @@ YAK:
PipCount: 6
ReloadDelay: 11
AmmoCondition: ammo
ReturnOnIdle:
SelectionDecorations:
WithMuzzleOverlay:
Contrail:
Expand Down Expand Up @@ -293,9 +293,9 @@ HELI:
AttackAircraft:
FacingTolerance: 20
Aircraft:
LandWhenIdle: false
TurnSpeed: 4
Speed: 149
ActionsOnIdle: Hover
AutoTarget:
InitialStance: HoldFire
InitialStanceAI: HoldFire
Expand Down Expand Up @@ -358,9 +358,9 @@ HIND:
AttackAircraft:
FacingTolerance: 20
Aircraft:
LandWhenIdle: false
TurnSpeed: 4
Speed: 112
ActionsOnIdle: Hover
AutoTarget:
InitialStance: HoldFire
InitialStanceAI: HoldFire
Expand Down
1 change: 1 addition & 0 deletions mods/ra/rules/defaults.yaml
Expand Up @@ -610,6 +610,7 @@
TakeOffOnResupply: true
VTOL: true
InitialFacing: 224
ActionsOnIdle: Land, Hover
GpsDot:
String: Helicopter
Hovers@CRUISING:
Expand Down
10 changes: 4 additions & 6 deletions mods/ts/rules/aircraft.yaml
Expand Up @@ -6,7 +6,6 @@ DPOD:
Tooltip:
Name: Drop Pod
Aircraft:
LandWhenIdle: true
TurnSpeed: 5
Speed: 149
InitialFacing: 0
Expand Down Expand Up @@ -39,7 +38,6 @@ DSHP:
Tooltip:
Name: Dropship
Aircraft:
LandWhenIdle: true
TurnSpeed: 5
Speed: 168
InitialFacing: 0
Expand Down Expand Up @@ -85,6 +83,7 @@ ORCA:
MoveIntoShroud: false
TakeoffSounds: orcaup1.aud
LandingSounds: orcadwn1.aud
ActionsOnIdle: Hover
Health:
HP: 20000
Armor:
Expand Down Expand Up @@ -136,7 +135,7 @@ ORCAB:
MoveIntoShroud: false
TakeoffSounds: orcaup1.aud
LandingSounds: orcadwn1.aud
ReturnOnIdle:
ActionsOnIdle: ReturnToBase
Health:
HP: 26000
Armor:
Expand Down Expand Up @@ -179,7 +178,6 @@ ORCATRAN:
Prerequisites: ~disabled
RenderSprites:
Aircraft:
LandWhenIdle: true
TurnSpeed: 5
Speed: 84
InitialFacing: 0
Expand Down Expand Up @@ -215,7 +213,6 @@ TRNSPORT:
Prerequisites: ~gahpad, gadept
Description: VTOL aircraft capable of lifting\nand transporting vehicles.\n Unarmed
Aircraft:
LandWhenIdle: true
TurnSpeed: 5
Speed: 149
InitialFacing: 0
Expand Down Expand Up @@ -267,7 +264,7 @@ SCRIN:
MoveIntoShroud: false
TakeoffSounds: dropup1.aud
LandingSounds: dropdwn1.aud
ReturnOnIdle:
ActionsOnIdle: ReturnToBase
Health:
HP: 28000
Armor:
Expand Down Expand Up @@ -316,6 +313,7 @@ APACHE:
TurnSpeed: 5
Speed: 130
MoveIntoShroud: false
ActionsOnIdle: Hover
Health:
HP: 22500
Armor:
Expand Down
3 changes: 2 additions & 1 deletion mods/ts/rules/defaults.yaml
Expand Up @@ -844,9 +844,9 @@
Voice: Move
Aircraft:
AirborneCondition: airborne
LandWhenIdle: false
Voice: Move
IdealSeparation: 853
ActionsOnIdle: Hover, Circle
Voiced:
VoiceSet: Heli
HiddenUnderFog:
Expand Down Expand Up @@ -879,6 +879,7 @@
CruisingCondition: cruising
TakeOffOnResupply: true
VTOL: true
ActionsOnIdle: Land, Hover
Hovers@CRUISING:
RequiresCondition: cruising

Expand Down
1 change: 0 additions & 1 deletion mods/ts/rules/gdi-infantry.yaml
Expand Up @@ -158,7 +158,6 @@ JUMPJET.Husk:
RenderSprites:
BodyOrientation:
QuantizedFacings: 1
Aircraft:
HiddenUnderFog:
Type: GroundPosition
ScriptTriggers:
Expand Down

0 comments on commit c420e8d

Please sign in to comment.