Community Forum

WaterPlanes help please

Forum Overview >> Editor

Created29.06.2015 13:02

James Biddulph (Unknown) 29.06.2015 13:11
I am trying to create multiple waterplanes for my map and have come up against a problem......

I made a small waterplane to create a pond in my farm area but when I have it on it's own the trigger covers the whole map even though the plane is small, I thought okay I will put in a full size waterplane lower it and have that as the first waterplane in the scengraph, I added the script callback "Environment.onCreateWater" to the first waterplane in the scengraph (the full size one) and indeed it does become foggy and is triggerable (drowns the tractors) the small plane I have added no callback to is unfortunately not showing as foggy and not triggered (tractor just drives through it), I have tried to do it the same way as the default map but just cannot get the small waterplane to act the same as the main plane, in other words the first waterplane is not acting as the trigger for the small on as it does in the default. Is there something else I need to do with the small waterplane to make it foggy and triggerable.

I am under the impression that the engine uses the first waterplanes user-attributes for all the waterplanes in the map, correct me if I am wrong please.

Any help would be appreciated, I have plugged on with this for about 3 days.

Emil Drefers (Unknown) 30.06.2015 07:42

in the default map (Bjornholm) the objects 'waterPlaneMain' and 'waterPlaneLumberyard' are on the same height.

That's why they both work as a trigger for drowning vehicles and that's also the reason why they appear foggy.
The problem with the fog is that it is limited by a heigth value, namly the height of the plane which uses the onCreateWater.

So, currently it seems that we do not support a 'fog in a box', that's what you would need for 'a small lake in the mountains'.

Sorry that I can't help more.

One thing you could try is to use an older shader from an earlier version of FS which might give a better result in your desired case.
But you would have to adjust the shader to FS15 ;)


James Biddulph (Unknown) 30.06.2015 09:12
Thanks Emil, at least I now know why it does not work. I will give the old shader a try if I can figure out what changes to make, to make it 2015 compatible. Meanwhile I have raised the rest of my map so I can use the main waterplane, bit of a pain but I suppose thats map making :)

Signo Andrea (andrea98) 03.07.2015 13:22
how to export water plane farming simulator 2013 to farming simulator 2015?

James Biddulph (Unknown) 06.07.2015 10:17
I am not sure about this but if I am wrong I am sure I will be corrected, but you select the waterplane you want to export then chose the "Export Selection With Files" option from the 'Files' Menu, create a name for your new waterplane and click export (make sure it says i3d in the dropdown menu below that and NOY Obj) now go to the folder you exported the files to and change the 'oceanShader' to the new 2015 one, which can be found in the "maps/shaders" folder in the game directory. Then it is simply a case of importing and placing on your map.

Hope this is correct and hope it helps.

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