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.");
|
Console.WriteLine("Please check if your aircraft behave as intended or need manual adjustments.");
|
||||||
node.Value.Nodes.Add(new MiniYamlNode("TakeOffOnResupply", "true"));
|
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
|
CruisingCondition: cruising
|
||||||
CanHover: True
|
CanHover: True
|
||||||
TakeOffOnResupply: true
|
TakeOffOnResupply: true
|
||||||
|
VTOL: true
|
||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
Type: GroundPosition
|
Type: GroundPosition
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
@@ -944,6 +945,7 @@
|
|||||||
ZOffset: -129
|
ZOffset: -129
|
||||||
Aircraft:
|
Aircraft:
|
||||||
CanHover: True
|
CanHover: True
|
||||||
|
VTOL: true
|
||||||
FallsToEarth:
|
FallsToEarth:
|
||||||
Spins: True
|
Spins: True
|
||||||
Moves: False
|
Moves: False
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ carryall.reinforce:
|
|||||||
frigate:
|
frigate:
|
||||||
Aircraft:
|
Aircraft:
|
||||||
LandableTerrainTypes: Sand, Rock, Transition, Spice, SpiceSand, Dune, Concrete
|
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:
|
barracks.harkonnen:
|
||||||
Inherits: barracks
|
Inherits: barracks
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ carryall.reinforce:
|
|||||||
LandWhenIdle: False
|
LandWhenIdle: False
|
||||||
AirborneCondition: airborne
|
AirborneCondition: airborne
|
||||||
CanHover: True
|
CanHover: True
|
||||||
|
VTOL: true
|
||||||
Targetable@GROUND:
|
Targetable@GROUND:
|
||||||
TargetTypes: Ground, Vehicle
|
TargetTypes: Ground, Vehicle
|
||||||
RequiresCondition: !airborne
|
RequiresCondition: !airborne
|
||||||
@@ -86,6 +87,7 @@ ornithopter:
|
|||||||
Repulsable: False
|
Repulsable: False
|
||||||
CanHover: True
|
CanHover: True
|
||||||
CruiseAltitude: 1920
|
CruiseAltitude: 1920
|
||||||
|
VTOL: true
|
||||||
AmmoPool:
|
AmmoPool:
|
||||||
Ammo: 5
|
Ammo: 5
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -113,5 +115,6 @@ carryall.husk:
|
|||||||
TurnSpeed: 4
|
TurnSpeed: 4
|
||||||
Speed: 144
|
Speed: 144
|
||||||
CanHover: True
|
CanHover: True
|
||||||
|
VTOL: true
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: carryall
|
Image: carryall
|
||||||
|
|||||||
@@ -549,6 +549,7 @@
|
|||||||
CruisingCondition: cruising
|
CruisingCondition: cruising
|
||||||
WaitDistanceFromResupplyBase: 4c0
|
WaitDistanceFromResupplyBase: 4c0
|
||||||
TakeOffOnResupply: true
|
TakeOffOnResupply: true
|
||||||
|
VTOL: true
|
||||||
GpsDot:
|
GpsDot:
|
||||||
String: Helicopter
|
String: Helicopter
|
||||||
Hovers@CRUISING:
|
Hovers@CRUISING:
|
||||||
@@ -913,6 +914,7 @@
|
|||||||
GenericName: Destroyed Helicopter
|
GenericName: Destroyed Helicopter
|
||||||
Aircraft:
|
Aircraft:
|
||||||
CanHover: True
|
CanHover: True
|
||||||
|
VTOL: true
|
||||||
FallsToEarth:
|
FallsToEarth:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UseClassicFacingFudge: True
|
UseClassicFacingFudge: True
|
||||||
|
|||||||
@@ -345,6 +345,7 @@ HUNTER:
|
|||||||
CruiseAltitude: 256
|
CruiseAltitude: 256
|
||||||
CanHover: True
|
CanHover: True
|
||||||
CruisingCondition: cruising
|
CruisingCondition: cruising
|
||||||
|
VTOL: true
|
||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Ground, Vehicle
|
TargetTypes: Ground, Vehicle
|
||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
|
|||||||
@@ -821,6 +821,7 @@
|
|||||||
CanHover: True
|
CanHover: True
|
||||||
CruisingCondition: cruising
|
CruisingCondition: cruising
|
||||||
TakeOffOnResupply: true
|
TakeOffOnResupply: true
|
||||||
|
VTOL: true
|
||||||
Hovers@CRUISING:
|
Hovers@CRUISING:
|
||||||
RequiresCondition: cruising
|
RequiresCondition: cruising
|
||||||
|
|
||||||
|
|||||||
@@ -168,6 +168,7 @@ JUMPJET.Husk:
|
|||||||
Aircraft:
|
Aircraft:
|
||||||
Speed: 186
|
Speed: 186
|
||||||
CanHover: True
|
CanHover: True
|
||||||
|
VTOL: true
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: jumpjet
|
Image: jumpjet
|
||||||
AutoSelectionSize:
|
AutoSelectionSize:
|
||||||
|
|||||||
Reference in New Issue
Block a user