Community Forum

Change sky mod map [FS17]

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created11.11.2016 12:05


Nicolas Joppart (NikkoYou) 11.11.2016 12:05
Bonjour a tous!

Je me dirige cette fois vers vous afin de résoudre un petit problème de mapping, alors voilà grosso modo je confectionne actuellement une map x16 (64km²), la partie mapping pur et dur ce passe bien, mais le petit soucis qui se pose à moi ce situe au niveau du ciel, j'ai bien évidemment essayé de remplacer le ciel d'origine (car trop petit) par un autre de la bonne taille, tout comme je pouvais le faire sous Fs15, en changeant évidemment le chemin du i3d dans map01environnement.xml, ainsi que le chemin menant vers le skyshader (dans sky_day_night.i3d). :)

Seulement voilà dans cette édition, le log n'apprécie visiblement pas et me donne ceci ;

Error: Render device Error: Unknown.
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

Donc je me disais que quelqu'un aurait peut-être déjà rencontré ce problème.. :-) merci d'avance!


Google traduct ;

Hello everyone!

I head this time to you to solve a small mapping problem, then that's roughly I currently builds a map x16 (64km²), the hard-mapping party goes well, but the little problem that arises in me that at the level of the sky, I obviously tried to replace the original sky (because too small) with one of the right size, just like I could do under FS15, obviously changing the way in i3d map01environnement .xml, and the path leading to the skyshader (in sky_day_night.i3d). :)

Except that in this edition, the log does not clearly appreciates and gives me this;

Error: Render device Error: Unknown.
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

So I thought that someone might have already encountered this problem .. :-) thank you in advance!


Thomas A. (Unknown) 29.12.2016 22:59
Hi, I have the same problem, I indicate my own sky in folder maps, but show the problem, How must indicate the route?

William Rowe (Bonger76) 30.12.2016 02:58
same problem ask last month no reply the sky and the train can not load from map I think that it has be be the way the environnement and the train LUA loads it has to load some thing from thier end an can not load them from the map someone that knows how to writes scripts is going to have to make one that we can put in the map to load the sky and the train from the map. I did for now was open in the data/sky folder the sky i3d. edited it
changed the name left it thier and put the new name in my maps map01_environment.xml and it opens it no errors,so thier is some thing that makes it so that it has to be opened from the $datd/sky folder, the train was the same way edited the woodchips car to carry woodchips changed the name and in the map01_trainSystem01.xml <vehicle xmlFile="$data/vehicles/train/wagonWoodChips_2.xml" /> and it loads and work with my edit ahd to make the new xml for the edited wagonWoodChips_2 i3d.

Thomas A. (Unknown) 31.12.2016 13:08
I use this routes for sky:

filename="maps/sky/sky_day_night_4Fach.i3d"

filename="sky/sky_day_night_4Fach.i3d"

but no load this i3d, always show issues. If we can't use our sky, please include a parameter to scale it to the size of the map.

Thomas A. (Unknown) 11.01.2017 16:21
We need help....

Jeffery Lind (Procobator) 12.01.2017 15:00
My guess based on the errors the log is throwing is that it has something to do with the field missions. I have not dug deeper into it as of yet.

Mngrazy Grazy (Unknown) 15.01.2017 11:02
https://gdn.giants-software.com/thread.php?categoryId=4&threadId=4349


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