Code: Select all
// Initialize jet engines
if cf = 1.0 then begin
SetLight('emitter_main-engine1', False);
SetLight('emitter_jet2', True);
end;
BlinkLight('nav_light', 3.0, 0.0, 999.0);
BlinkLight('emitter_tail_nav', 1.0, 0.0, 999.0);
BlinkLight('emitter_blue_tailigh', 2.0, 0.0, 999.0);
Look; // Keep craft in view
Accelerate(py, 46.0, 1.0, 25.0); //start going
TimeDecelerate(py, 20.0, 45.0); // slowdown
Yaw(-90.0, 23.0, 38.0); // and turn
Zoom(1.7, 1.0, 36.0);
Zoom(1.0/1.7, 36.0, 50.0);
// Turn on main engine
if sec = 45.0 then
SetLight('emitter_main-engine1', True);
Accelerate(py, 400.0, 50.0, 55.0); // full takeoff
Pitch(25.0, 55.0, 58.0); // nose up
// Lets have a closer look at the craft
Zoom(6.0, 57.0, 60.0);
// come back
Roll(45.0, 56.0, 62.0);
Pitch(180.0, 56.0, 66.0);
Yaw(85.0, 56.0, 62.0);
// go back horizontal and keep watching
Roll(-90.0, 62.0, 67.0);
// Nose down a bit while we watch
Pitch(-55.0, 66.0, 68.0);
// do a 360.0 roll
Roll(360.0, 68.0, 70.0);
// Watch it leave
Pitch(90.0, 70.0, 75.0);
// Zoom back out
Zoom(1.0/4.0, 70.0, 72.0);
// Now zoom way in
Zoom(8.0, 73.0, 75.0);