> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-vintage-aircraft/flying.md).

# Flying

How players board, start, fly, land and leave a CAS Vintage Aircraft, with the full controls, the cockpit gauges and the crash reasons.

## Getting an aircraft

1. Buy it from the dealer, **Frontier Aero Co.** The showroom aircraft turns with the mouse, and the page shows the front, side, rear, cockpit and engine views, the numbers and the price.
2. Walk to the **hangar keeper** next door and take it out. He rolls it onto the field.
3. Walk up to it and press **E** to board. Only the owner flies it.

When you are done, put it away with the hangar keeper, even from the far side of the map.

## Controls

| Key          | Action               |
| ------------ | -------------------- |
| G            | Engine on and off    |
| Shift / Ctrl | Throttle up and down |
| W / S        | Pitch                |
| A / D        | Roll                 |
| Q / E        | Rudder               |
| Space        | Brake                |
| V            | Camera               |
| Mouse wheel  | Zoom                 |
| F            | Get out              |

The controls are shown on screen while you fly.

## The cockpit

The gauges are live: rpm, airspeed, altimeter and compass, and the stick and the pilot's hands move with your input. Outside the cockpit a small dial shows speed, height, throttle and a stall warning.

## Take off and landing

You get a message at lift-off and at touchdown, with your touchdown speed. If you stall, lower the nose and add throttle.

## Crashes

A flight ends in a crash when you:

* touch down nose first (keep the nose level or a little up)
* sink too fast at touchdown
* touch down banked (level the wings before landing)
* fly into rising ground
* hit something in the way
* touch water

After a crash the engine does not start again. Press **F** to get out once the wreck has come to rest; the hangar keeper can collect it.
