Community Forum

How to get the sky to open from mod map

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created11.11.2016 17:55


William Rowe (Bonger76) 11.11.2016 18:12

Need help making 4x map and need to make the sky bigger ,opened sky from farm17 exported coped hail rain and mist took out $data on the map01_environment have the skyShader.xml in my shaders file took out the ../ from the skyUS_day_night.i3d so it looks like this

<Files>
<File fileId="2" filename="shaders/skyShader.xml" relativePath="true"/>
<File fileId="7" filename="day_skyUS_SIDE.png" relativePath="true"/>
<File fileId="1" filename="day_skyUS_TOP.png" relativePath="true"/>
<File fileId="9" filename="night_skyUS_SIDE.png" relativePath="true"/>
<File fileId="4" filename="night_skyUS_TOP.png" relativePath="true"/>
<File fileId="11" filename="overcast_sky_SIDE.png" relativePath="true"/>
<File fileId="6" filename="overcast_sky_TOP.png" relativePath="true"/>
<File fileId="10" filename="sunrise_skyUS_SIDE.png" relativePath="true"/>
<File fileId="5" filename="sunrise_skyUS_TOP.png" relativePath="true"/>
<File fileId="8" filename="sunset_skyUS_SIDE.png" relativePath="true"/>
<File fileId="3" filename="sunset_skyUS_TOP.png" relativePath="true"/>
</Files>

the map01_environment path looks like this
<environment filename="sky/skyUS_day_night.i3d" dayNightCycle="true" startHour="8" allowRain="true" autoRain="true" sunHeightAngle="-70">

the hail mist and rain i3d.s load but get error on the sky this is the error

Warning (Script): Unknown entity id 0 in method 'getChildAt'.
LUA call stack:
=dataS/scripts/environment/Environment.lua (0) : getChildAt
=dataS/scripts/missions/mission00.lua (0) : new
=dataS/scripts/missions/mission00.lua (0) : loadEnvironment
=dataS/scripts/FSBaseMission.lua (0) : load
=dataS/scripts/gui/MPLoadingScreen.lua (0) : onConnectionRequestAcceptedLoad
=dataS/scripts/gui/elements/Gui.lua (0) : update
=dataS/scripts/main.lua (0) : update
data/sky/rain.i3d (2.10) ms
data/sky/hail.i3d (1.10) ms
data/sky/dust.i3d (1.09) ms

then i get another error and this is all from just tring to open the sky from my mod map

Warning (LUA): 'setShaderParameter': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (604): expectedType == Value::VoidType
LUA call stack:
=dataS/scripts/environment/Environment.lua (0) : setShaderParameter
=dataS/scripts/BaseMission.lua (0) : update
=dataS/scripts/FSBaseMission.lua (0) : update
=dataS/scripts/missions/mission00.lua (0) : update
=dataS/scripts/main.lua (0) : update

can the sky not be opened from my mod map or is my file path wrong
if anyone knows thanks

Bill,

Marco Iliffe (Muetze01) 05.05.2017 20:53
To get an answer?



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