Community Forum

Light states (vehicles)

Forum Overview >> Farming Simulator 22

CategoryFarming Simulator 22
Created24.01.2022 17:55


Fox Doyle (FoxNextDoor) 24.01.2022 17:55
I've been trying to find what each light type does, such as in the code for my vehicle:

<states>
<state lightTypes="0"/>
<state lightTypes="0 1 "/>
<state lightTypes="0 1 2"/>
</states>

It has 0 1 2 light types, however in the realLights block, there is another lightType, 3.

I have checked all of the base vehicles, they all have 3, but never in the states block. Is there an explanation on what lightType 3 does, or is that user definable?

Fox Doyle (FoxNextDoor) 24.01.2022 17:56
I apologize for the duplicate post. I refreshed the browser and it seems to have made another post.

lagweezle 23.04.2022 02:57
Went digging in my notes from ages ago. Keep in mind this is from FS19, but what I was able to find was...

The light types are as follows:
0 -- driving lights
1 -- front work lights
2 -- rear work lights
3 -- high beam

A note of caution, and this drives me insane, front and rear work lights are reversed in some cases. In a Dummies book for Farm Sim 19 mods, it lists rear work lights as 1 and front work lights as 2. I do wish I'd added a bit more to my notes on the front vs rear work lights.

Bryan Boulding (SlashDoggy) 29.04.2022 10:43
<states>
<state lightTypes="0"/>
<state lightTypes="0 1 "/>
<state lightTypes="0 1 2"/>
</states>

These are basically just key presses with names. If you want a light to come on at the first press, you set its type to 0.Second press=1 etc. You could have your highbeams come on at the first key press but that would be silly. I don't know how many states you could add but anything after 4 becomes a real pain in the butt to use


Note: Log in to post. Create a new account here.