Add IdleSpeed to aircraft trait.
This commit is contained in:
@@ -56,8 +56,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Turn speed to apply when aircraft flies in circles while idle. Defaults to TurnSpeed if undefined.")]
|
||||
public readonly WAngle? IdleTurnSpeed = null;
|
||||
|
||||
[Desc("Maximum flight speed")]
|
||||
public readonly int Speed = 1;
|
||||
|
||||
[Desc("If non-negative, force the aircraft to move in circles at this speed when idle (a speed of 0 means don't move), ignoring CanHover.")]
|
||||
public readonly int IdleSpeed = -1;
|
||||
|
||||
[Desc("Body pitch when flying forwards. Only relevant for voxel aircraft.")]
|
||||
public readonly WAngle Pitch = WAngle.Zero;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user