Upgrade rule for setting VTOL to true for CanHover actors
This commit is contained in:
committed by
Matthias Mailänder
parent
3b01da737c
commit
28ffcfea3c
@@ -967,6 +967,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
||||
Console.WriteLine("Please check if your aircraft behave as intended or need manual adjustments.");
|
||||
node.Value.Nodes.Add(new MiniYamlNode("TakeOffOnResupply", "true"));
|
||||
}
|
||||
|
||||
// Upgrade rule for setting VTOL to true for CanHover actors
|
||||
if (isHeli)
|
||||
node.Value.Nodes.Add(new MiniYamlNode("VTOL", "true"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -273,6 +273,7 @@
|
||||
CruisingCondition: cruising
|
||||
CanHover: True
|
||||
TakeOffOnResupply: true
|
||||
VTOL: true
|
||||
HiddenUnderFog:
|
||||
Type: GroundPosition
|
||||
ActorLostNotification:
|
||||
@@ -944,6 +945,7 @@
|
||||
ZOffset: -129
|
||||
Aircraft:
|
||||
CanHover: True
|
||||
VTOL: true
|
||||
FallsToEarth:
|
||||
Spins: True
|
||||
Moves: False
|
||||
|
||||
@@ -26,7 +26,7 @@ carryall.reinforce:
|
||||
frigate:
|
||||
Aircraft:
|
||||
LandableTerrainTypes: Sand, Rock, Transition, Spice, SpiceSand, Dune, Concrete
|
||||
CanHover: true # The frigate would teleport to land otherwise
|
||||
VTOL: true # The frigate would teleport to land otherwise
|
||||
|
||||
barracks.harkonnen:
|
||||
Inherits: barracks
|
||||
|
||||
@@ -18,6 +18,7 @@ carryall.reinforce:
|
||||
LandWhenIdle: False
|
||||
AirborneCondition: airborne
|
||||
CanHover: True
|
||||
VTOL: true
|
||||
Targetable@GROUND:
|
||||
TargetTypes: Ground, Vehicle
|
||||
RequiresCondition: !airborne
|
||||
@@ -86,6 +87,7 @@ ornithopter:
|
||||
Repulsable: False
|
||||
CanHover: True
|
||||
CruiseAltitude: 1920
|
||||
VTOL: true
|
||||
AmmoPool:
|
||||
Ammo: 5
|
||||
Tooltip:
|
||||
@@ -113,5 +115,6 @@ carryall.husk:
|
||||
TurnSpeed: 4
|
||||
Speed: 144
|
||||
CanHover: True
|
||||
VTOL: true
|
||||
RenderSprites:
|
||||
Image: carryall
|
||||
|
||||
@@ -549,6 +549,7 @@
|
||||
CruisingCondition: cruising
|
||||
WaitDistanceFromResupplyBase: 4c0
|
||||
TakeOffOnResupply: true
|
||||
VTOL: true
|
||||
GpsDot:
|
||||
String: Helicopter
|
||||
Hovers@CRUISING:
|
||||
@@ -913,6 +914,7 @@
|
||||
GenericName: Destroyed Helicopter
|
||||
Aircraft:
|
||||
CanHover: True
|
||||
VTOL: true
|
||||
FallsToEarth:
|
||||
BodyOrientation:
|
||||
UseClassicFacingFudge: True
|
||||
|
||||
@@ -345,6 +345,7 @@ HUNTER:
|
||||
CruiseAltitude: 256
|
||||
CanHover: True
|
||||
CruisingCondition: cruising
|
||||
VTOL: true
|
||||
Targetable:
|
||||
TargetTypes: Ground, Vehicle
|
||||
HiddenUnderFog:
|
||||
|
||||
@@ -821,6 +821,7 @@
|
||||
CanHover: True
|
||||
CruisingCondition: cruising
|
||||
TakeOffOnResupply: true
|
||||
VTOL: true
|
||||
Hovers@CRUISING:
|
||||
RequiresCondition: cruising
|
||||
|
||||
|
||||
@@ -168,6 +168,7 @@ JUMPJET.Husk:
|
||||
Aircraft:
|
||||
Speed: 186
|
||||
CanHover: True
|
||||
VTOL: true
|
||||
RenderSprites:
|
||||
Image: jumpjet
|
||||
AutoSelectionSize:
|
||||
|
||||
Reference in New Issue
Block a user