Aircraft Takeoff & Landing Sounds (Fixed-Wing)
Added Takeoff & Landing sounds to planes. Changed Aircraft Trait, TakeoffSounds & LandingSounds are now arrays & accept a list of sound files & it will randomly select one to play. Changed/fixed take off & landing sounds to originate from the aircraft location, rather than play a global sound.
This commit is contained in:
@@ -96,11 +96,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("How fast this actor ascends or descends when using vertical take off/landing.")]
|
||||
public readonly WDist AltitudeVelocity = new WDist(43);
|
||||
|
||||
[Desc("Sound to play when the actor is taking off.")]
|
||||
public readonly string TakeoffSound = null;
|
||||
[Desc("Sounds to play when the actor is taking off.")]
|
||||
public readonly string[] TakeoffSounds = { };
|
||||
|
||||
[Desc("Sound to play when the actor is landing.")]
|
||||
public readonly string LandingSound = null;
|
||||
[Desc("Sounds to play when the actor is landing.")]
|
||||
public readonly string[] LandingSounds = { };
|
||||
|
||||
[Desc("The distance of the resupply base that the aircraft will wait for its turn.")]
|
||||
public readonly WDist WaitDistanceFromResupplyBase = new WDist(3072);
|
||||
|
||||
Reference in New Issue
Block a user