Community Forum

How do I add a sun into the game?

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created26.07.2017 21:11

Ola Svensson (Unknown) 26.07.2017 21:11
As the title says how do I add a sun into the game (inside of a map)

Emil Drefers (Unknown) 27.07.2017 06:47

well, the movement of the sun and its light properties are set by a script.

What you need to have in your map to let the script identify the "sun" is a "directional light" source.
This light source must have a user attribute of
type: scriptCallback
name: onCreate
value: Environment.onCreateSunLight


Ola Svensson (Unknown) 30.07.2017 13:01
I'll see if I understand how to do it, thanks :)

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