AircraftClass
classlabel: "aircraft"
Class Tree: Entity->GameObject->Craft->Aircraft
Supported Animations:
Description:
Aircraft Class is a flying unit that is not effected by Gravity, and depending on physics settings, can spin/tilt any direction. It flies similar to a flight simulator. It starts out Undeployed (landed), and can use the Deploy function to takeoff/land.
Aircraft Class has 3 movement states: Low, Medium, and High. Low is used when pressing the Reverse key. Medium is neutral, neither pressing Forward or Reverse. High is used when pressing the Forward.
Recommmended AI Process:
ODF Properties:
Class Tree: Entity->GameObject->Craft->Aircraft
Supported Animations:
-
Forward
-
Neutral
-
Reverse
- Deploy
Description:
Aircraft Class is a flying unit that is not effected by Gravity, and depending on physics settings, can spin/tilt any direction. It flies similar to a flight simulator. It starts out Undeployed (landed), and can use the Deploy function to takeoff/land.
Aircraft Class has 3 movement states: Low, Medium, and High. Low is used when pressing the Reverse key. Medium is neutral, neither pressing Forward or Reverse. High is used when pressing the Forward.
Recommmended AI Process:
aiName = "AirCraftFriend"
aiName2 = "AirCraftEnemy"
ODF Properties:
-
[AirCraftClass]
velocSet(L) = 10.0f
velocSet(M) = 30.0f
velocSet(H) = 100.0f
accelThrust = 10.0f
accelBrake = 20.0f
accelDrag = 30.0f
omegaSteer(L) = 1.0f
omegaSteer(M) = 1.5f
omegaSteer(H) = 2.0f
omegaStrafe(L) = 2.0f
omegaStrafe(M) = 3.0f
omegaStrafe(H) = 4.0f
alphaSteer = 3.0f
alphaStrafe = 5.0f
minAltitude = 10.0f
maxAltitude = 100.0f
alphaLevel = 10.0f
alphaDamp = 5.0f
pitchPitch = 1.0f
rollStrafe = 0.0f
rollSteer = 0.2f
timeDeploy = 5.0f
timeUndeploy = 5.0f
aiAltitude = minAltitude + ((maxAltitude - minAltitude) * 0.25f);
LiftSpring = Gravity Setting.
AILiftSpring = 2.0f
flameName1 .. flameName16 = "flame_1" .. "flame_16" flameTextureName1 .. flameTextureName16 = "trail.tga" flameSpriteName1 .. flameSpriteName16 = "splash.0"
soundThrust = "engthrst.wav"
soundBrake = "wmflame.wav"
soundDeploy = "wmflame.wav"
soundUndeploy = "wmflame.wav"
OverWaterFlying = true
OverWaterLanded = true
AlwaysDeployed = false
AlwaysUndeployed = false
AltitudeLookahead = 2.0f
MaxTakeoffSpeed = 5.0f