Deployable light
Removable emergency light for civilian vehicles – usage, position and all options.
Usage
| Action | How |
|---|---|
| Place | Use the item or /elsbeacon with an optional color red, blue or orange, as the driver |
| Switch on | Normal emergency light key |
| Remove | /elsremovelight as the driver, the item is returned |
| Move | /els → Deployable light → Adjust position or /elsbeaconposition |
With the light attached the car is a normal ELS vehicle with the profile beacon. The light is saved per plate and comes back after garage or restart as soon as someone drives the vehicle; it then starts switched off. Below the engine health brokenBelowEngineHealth it stays dark.
Not possible on vehicles with their own emergency lights, on helicopters and on blocked classes or models.
Items
The wiki has the ox_inventory entries. The item is only removed once the animation has finished and the server has checked the vehicle.
Adjusting the position as driver
| Key | Function |
|---|---|
| Arrow left / right | Left / right |
| Arrow up / down | Forward / back |
| Page up / down | Height |
| Shift | Larger steps |
| V | Switch view |
| Enter | Save |
| Esc | Cancel |
The offset applies per plate to all players and is kept after removing the light. For fixed positions per vehicle model an admin uses the position editor.
Options
Key in Config.Beacon | Default | Description |
|---|---|---|
item.enabled | true | Use items |
item.default | 'deployable_light' | Item with the color of the vehicle entry |
item.colors | red, blue, orange | Items with a fixed color |
rotationSpeed | 1.15 | Turns per second |
drawDistance | 120.0 | Viewing distance of the light in metres |
optimizeMode | false | Only the closest light casts light cones |
brokenBelowEngineHealth | 100.0 | Below this the light stays dark |
blacklist.classes | 8, 13, 14, 15, 16, 21, 22 | Blocked vehicle classes |
blacklist.models | adder | Blocked models |
colors | red, blue, orange | Prop, color value, reach, brightness, blink time |
animations | default, front_window, quad | Animations when placing and removing |
Vehicles | default, baller, blazer2, burrito4, zorrusso | Position, rotation, animation, color, behaviour (rotating or blinking), profile |
editor | 0.0025 / 0.25 | Step sizes of the admin editor (position, rotation) |
adjust.maxOffset | vec3(1.0, 2.0, 1.0) | Largest offset per axis in metres |
adjust.step / fastStep | 0.01 / 0.05 | Metres per step |
adjust.saveCooldown | 3 | Seconds between two saves |
adjust.cameraDistance | 2.0 | Camera distance while adjusting |
adjust.cameraHeight / cameraFov | 0.8 / 50.0 | Camera height and field of view |
The props are in lumina_els/stream/ and are loaded from there.