> 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/cas-vintage-aircraft.md).

# CAS Vintage Aircraft

CAS Vintage Aircraft for RedM: four flyable early aircraft with a plane dealer, a hangar keeper, a live cockpit and a flight model per aircraft, for VORP and RSG.

**Four flyable early aircraft for RedM: a plane dealer with a 3D showroom, a hangar keeper who rolls your aircraft out onto the field, a full cockpit with live gauges and a flight model of its own for every aircraft.**

{% hint style="success" %}
Works on VORP Core and RSG Core, picked automatically. Needs OneSync and oxmysql.
{% endhint %}

## Highlights

* Four aircraft: Sopwith Camel, Van Hoorn Karmijn, Halberg Kessler Rautenfalke and Vautrin Fleche d'Or
* Each one has its own top speed, climb, turn, roll and stall
* Frontier Aero Co. dealer with a showroom aircraft you turn with the mouse, five camera views and the numbers on the page
* Bought with the framework's cash; a failed sale gives the money back
* A hangar keeper who rolls your aircraft out and puts it away, even from the far side of the map
* Board with E, only the owner flies it
* Cockpit with live rpm, airspeed, altimeter and compass, and a small flight dial with a stall warning
* Crash reasons, and the hangar keeper collects the wreck
* Synced for every player, with engine sound the others hear
* A server limit on how many aircraft may be out at once
* Supports all languages: English and Turkish included, one locale file for any other

## At a glance

|                          |                                                                                                      |
| ------------------------ | ---------------------------------------------------------------------------------------------------- |
| Resources                | `vintage_aircraft_art`, `vintage_aircraft_core`, `vintage_aircraft_audio`, `vintage_aircraft_hangar` |
| Framework                | VORP Core or RSG Core (auto)                                                                         |
| Requires                 | OneSync, oxmysql                                                                                     |
| Database                 | 2 tables, created on start                                                                           |
| Open in the Escrow build | the config files, `locales/*.lua` and `vintage_aircraft_hangar/server/bridge.lua`                    |

## Where to start

| Page                                                                             | What it covers                                              |
| -------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [Installation](/script-documentation/cas-vintage-aircraft/installation.md)       | Adding the four resources and setting up the dealer in game |
| [The aircraft](/script-documentation/cas-vintage-aircraft/aircraft.md)           | The four aircraft, their engines, prices and how they fly   |
| [Flying](/script-documentation/cas-vintage-aircraft/flying.md)                   | Boarding, the controls, the cockpit, landing and crashes    |
| [Configuration](/script-documentation/cas-vintage-aircraft/configuration.md)     | Prices, language, framework, limits, NPCs and sound         |
| [Commands](/script-documentation/cas-vintage-aircraft/commands.md)               | The admin commands and permissions                          |
| [Troubleshooting](/script-documentation/cas-vintage-aircraft/troubleshooting.md) | The usual questions                                         |

## Get the script

* [CAS Vintage Aircraft](https://codeaftersex.com/script/vintage-aircraft)
* [Support Discord](https://discord.gg/codeaftersex)
