--> Join My Discord Here <-- This is now fixed please check for new updates on your purchased scripts! Crashing Soda Scripts

Trains

Trains Trains Trains
  • Trains
  • Trains
  • Trains

This item is free.

Add to Basket

**🚂 CS Trains **

Bring passenger rail to your **VORP RedM** server with **CS Trains**. Buy your own steam train, take tickets at the station, and load the luggage before calling **All aboard**. Run the line on your own or invite a crew and build a railroad company around a shared fleet.

Passengers can still catch an NPC train while conductors are off duty. The station clerk shows arrival estimates for both lines, so players can buy a ticket and see when their train is due.

---

⭐ Features

✔ **74 train configurations** with named locomotives and consist descriptions

✔ Parked, non-drivable previews at open depots

✔ Player-owned trains with physical Train Keys and moving map blips

✔ Brass Cab with speed gauges, throttle, cruise, braking, reverse, and whistle controls

✔ Track switching with direction signs at upcoming junctions

✔ Destination-based ticket fares, physical luggage loading, and passenger stop counts

✔ Independent NPC service across **15 passenger stations** on the Main Line and New Austin

✔ Railroad companies with shared trains, crew ranks, ticket income, and a Train Ledger

✔ Operator-only VORP train storage with configurable capacity by model

✔ Fuel and repair animations with configurable supplies and wear rates

✔ Configurable fare-evasion alerts for law jobs or a custom police resource

---

🚂 Own and Drive Your Train

Browse the depot catalog, preview the full train on a clear track, and buy one of each model. Take an owned train out through **Your fleet**. It spawns stopped and puts a Train Key in your inventory. Board the engineer’s seat to open **Brass Cab** and use **Tab** to switch between the controls and looking around.

Set your target speed, brake for platforms, and select your route at upcoming junctions. From the engineer’s seat, open the locomotive’s VORP storage while stopped. When the train needs service, use the cab to refuel or repair with the configured items.

---

🎟️ Tickets, Luggage and Station Stops

Buy a ticket from the clerk and choose a destination. Default fares increase with distance, and passengers keep the ticket in VORP Inventory until they get off.

The conductor checks tickets beside the stopped locomotive, carries accepted luggage from the platform pile, and loads it before departure. Reopen the check if a passenger was missed. The passenger stop board shows where to stop and how many riders need to get off. Passengers recover their luggage automatically at their destination.

---

🚉 Public Rail Service

The **Main Line** and **New Austin** each run NPC passenger service when there is no player train out on that line. Each public train has a moving map blip, checks passenger tickets, and stops for at least one minute at each station by default.

When a conductor spawns a train on the same line, the NPC closes boarding, finishes its current or next station stop, and clears the track after riders get off. The other line continues its own service.

---

📒 Run a Railroad Company

Conductors at **grade 3 or higher** can claim a Train Ledger. Use it to invite crew, assign company ranks, share stored locomotives, and keep notes on passenger runs. The ledger shows company ticket income, the treasury balance, and shared train status.

Invited players can use **/cscompanyaccept **to join as Crew and switch to the VORP conductor job. Existing conductors keep their grade. Authorized crew can take shared trains out from **Depot → Your fleet**.

---

⚙️ Configuration

**config/general.lua **controls fares, company access, fuel and repair supplies, cab settings, permissions, and law alerts.

**config/stations.lua **controls station clerks, platform luggage, rail spawns, and depot hours.

**config/trains.lua **controls catalog names, prices, availability, and storage capacity.

**config/junctions.lua **controls switch ranges, route names, and direction signs.

**`config/public_rail.lua` **controls NPC train models, speed, and time at platforms.

---

📦 Installation

1. Place `cs_trains` in your server’s resources folder.

2. Import the base schema and the Train Key, Ticket, and Train Ledger item SQL into your VORP database.

3. Copy the three included PNGs into `vorp_inventory/html/img/items/`.

4. Configure your conductor job and optional service items using the README.

5. Add `ensure cs_trains` after its dependencies and restart the server.

---

📦 Dependencies

- RedM with OneSync

- VORP Core

- VORP Inventory

- oxmysql

Cab service uses the **CS Oil** drum items and **CS Mining** Machine Parts by default. Set your own VORP item IDs or disable fuel and condition in the configuration.

---

✅ Perfect For

- Player-run railroads and conductor jobs

- Passenger travel with station schedules and ticket checks

- Shared fleets and company roleplay

- Frontier economies that use trains for travel and freight storage

---

📖 Documentation Included

Includes **CS Trains 1.0.0**, installation SQL, three transparent VORP inventory PNGs, and a README covering setup, configuration, operations, and law integration. The gallery includes Brass Cab and Train Ledger UI previews with sample data.

Back to category