How to use it
1
Fit the power unit
Put an Underglow Power Unit in the vehicle’s Underglow Module slot. A vehicle without the slot takes it with Install, see Which vehicles.
2
Give it power
Start the engine, or put a 9V battery in the power unit to run it with the engine off.
3
Switch it on from the driver's seat
Sitting in the driver’s seat, press
J (Underglow: On / Off) to switch it on or off.4
Pick a colour
Press
Left Shift + J (Underglow: Next Colour) to step to the next colour.Colours
Each use of the colour action steps through, in this order: Aqua → Red → Green → Blue → White → Purple → Pink → Orange → Rainbow, then back to Aqua. Rainbow sweeps smoothly through every colour, round the whole colour wheel in about 5.6 seconds.Power
- It only switches on while it can get power: with a 9V battery fitted or the engine running
- A flat 9V battery still lets the driver switch it on, but it stays dark until the engine runs
- Taking the power unit off the vehicle switches it off
- A ruined power unit never lights
Which vehicles
Paid CZ Autoz vehicles have the Underglow Module slot, except the HEMTT, LAPV, M1114 Humvee, MRAP Cougar, MRAP Punisher, Mercedes Zetros and BTR-4E. The free Golf MK4 and GT-R 2015 have the slot too. It works on them on a server that runs Vehicles Core. Vanilla and other mods’ cars and motorbikes have no slot. While Core features on other mods’ cars is on, the power unit fits them with Install, held in your hands at the vehicle, or from your inventory with empty hands. It goes into the vehicle’s cargo as (fitted) and works from there; Remove with empty hands takes it out. The paid vehicles without the slot (above) use the same route. It never fits boats or aircraft.What others see
Every player sees whether it is on, and which colour or rainbow it is set to. The glow shows day and night. On vehicles built with underglow points in their model, the two lights sit along those points; on others, one light sits on each side under a car, or one front and one back under a motorbike. There is no admin setting for the underglow.The underglow’s on/off state and colour are saved with the power unit, so after a server restart it comes back as it was.
The item
types.xml and traders
The power unit is already in Vehicles Core’sInfo\types.xml, with the other add-on items. Merge that file into your types.xml. Its entry is:
These are example values. Adjust
nominal, min and lifetime to suit your economy, or leave it out of types.xml and sell it at a trader instead.