Ramps/Trailers
Commands
Commands
Players don't need any command: they use the items, the rings and the eye (Usage). Everything here is for admins, and works only from in game, not from the server console.
Who is an admin
The server checks the ACE in adminAce (config/trailer.lua, default admin):
add_ace group.admin admin allow
Anyone else gets «Ese comando es solo para administradores».
Admin commands
| Command | What it does |
|---|---|
/rampasghost |
Editor for the ramps of the pickup next to you. What you save applies to that pickup model across the server |
/rampasghostbike |
The same for the bike ramps |
/colocarrampas |
Puts the saved ramps on the pickup, without using the kit |
/colocarrampamoto |
The same for the bike ramps |
/quitarrampas |
Removes your ramps |
/rampascoords |
Copies the positions and rotations of your last confirmed layout to the clipboard, to write into Config.Pickups |
/ajustaratv (or /ajustarcarga) |
Moves or turns a vehicle that's already loaded, and saves its place for that truck and that vehicle model |
/ajustarjetski |
Moves a jetski on the trailer and sets the bow eye, saved for that jetski model |
When an admin uses the Kit de rampas, the same menu also has these tools: Admin · Ghost: colocar / ajustar, Admin · Ghost: rampas de motos, Admin · Copiar última colocación and Admin · Ajustar posición de la carga.
Setting up a new pickup
Each pickup model needs its pair of ramps once.
- Park the pickup and get out. Stand next to it and run
/rampasghost. The tailgate opens and the editor starts. - Move each ramp until its top end rests on the open tailgate and its feet touch the ground.
- Right-click and pick Confirmar ambas rampas. It's saved in
data/ramp_profiles.jsonfor everyone.
The bike ramps use the same layout, so /rampasghostbike is only needed if you want them placed differently.
Editor keys
The keys are shown in a bar at the bottom right. /rampasghost, /rampasghostbike and /ajustaratv all use them.
| Key | Action |
|---|---|
| W | Move |
| R | Turn |
| L | Switch between the model's own axes and the world's |
| Left click (drag) | Drag an axis |
| Right click | Open the menu. Dragging turns the camera |
| Shift + right click (drag) | Move the camera |
| Q / E | Zoom |
| Esc | Cancel |
In the ramp editor, the menu has Cambiar de rampa, Centrar cámara, Confirmar ambas rampas and Cancelar ajuste.
Adjusting a loaded vehicle
Load the vehicle with E, get off, stand within 4.5 m of it and run /ajustaratv. With several loaded, a list asks which one. Use the editor above, then pick Guardar para esta pickup y este ATV from the right-click menu. It's saved in data/cargo_profiles.json for that spot, truck model and vehicle model.
Fitting an addon jetski
An addon jetski whose vehicles.meta doesn't flag it as one goes in jetskiModels first (Configuration). If its hull is different from the Seashark's, load it, stand next to the trailer and run /ajustarjetski.
| Key | Action |
|---|---|
| Arrows | Move forward, back and sideways |
| Page Up / Page Down | Move up and down |
| Shift | Fine moves |
| Tab | Switch between moving the jetski and the bow eye |
| G | The model has its own bow eye: don't add the trailer's |
| X | Back to that model's default |
| Enter | Save for that model, for everyone |
| Backspace or Esc | Cancel |
Test commands
These exist only with debug = true in config/trailer.lua, and only for admins. Leave debug off on a live server.
| Command | What it does |
|---|---|
/creartrailer [5x8 | 7x16 | jetski] |
Creates a trailer without an item (the 5x8 if left out). An admin can store it with the eye and keep its item |
/jetskiprueba |
Puts a Seashark on the ground behind the nearest jetski trailer |
/rampasreporte |
Copies everything around you to F8 and the clipboard, for a bug report |
/trailerinfo |
Prints the state of the nearest trailer in F8 |
/rampasdiagnostico |
Copies wheel measurements of the last load or unload to the clipboard |
/trailermedida |
Prints in F8 how high the coupler and the nearest ball are |
/trailer |
Opens or closes the gate of the nearest trailer |
/enganchartrailer |
Hitches or unhitches the nearest trailer |
/trailerlibre |
Forces the nearest trailer's physics back on and prints its state in F8 |
/jalartrailer, /engancharlo, /soltartrailer |
Grab, hitch and drop a trailer without the rings |
/abrircompuerta, /cerrarcompuerta |
Lower and lift the gate without the rings |
