Headlights
-
Odd subject i know, but a little problem i’ve come across while making my elite ship pack has been that standard FL headlights are too big. So i decided i needed a smaller headlight.
Don’t know if anyone has bothered altering the sizes of these before but after i looked into it, turns out a trained monkey could make one…
Open up light_equip.ini
Add this line if you want a headlight, half the size of the original
[Light]
nickname = SmallWhiteSpecial
glow_color = 255, 255, 255
color = 155, 155, 155
bulb_size = 0.35
glow_size = 2
flare_cone = 30, 0From this it’s easy to make different coloured headlights and have them all different sizes.
May help someone
-
you’d rather explain the lines.
bulb_size and glow_size are the values to change. while bulb is the very light, that you can see from any direction, the glow is the flare in the rear view
flare_cone are the thresholds where the flare is visible entirely. both value in degrees, the first is the outter border and the second the inner (?). -
I didn’t explan the values as they seem obvious to me but you’re right on nearly all of it.
The values are not degrees but RGB colour values, so 255, 255, 255 is white and 0,0,0 is black. First value is the outer glow colour, second is the inner core colour.