WaterPlane - Environment.onCreateWater

Your forum for all discussions around Modding.
User avatar
Richard-023
Posts: 26
Joined: Tue Nov 08, 2016 4:42 pm
Location: Netherlands

WaterPlane - Environment.onCreateWater

Post by Richard-023 »

Hello,

I need to fix my Waterplanes before Giants can approve my map. The problem is i got small pieces of water in the map like this,

Image

But now you can drive trough/under it without the ''Dont drive to deep'' message, but this is something thats required to approve my map.
But when i add the Environment.onCreateWater on the waterplanes then you got the problem when you come at a lower point than the waterplanes you will float like this,


Image

So you can swim in the map because of the Environment.onCreateWater script he thinks you are in the water.
Does the Environment.onCreateWater script watches only the Y coordinates and uses it across the whole map? And not the actual waterplane shape?

I am using small waterplanes with the same ObjectMask like the GCV Map.

Image

I hope someone can help.

Kind regards, Richard
Richard - NLD Farmers
User avatar
mcatalyst
Posts: 336
Joined: Tue Sep 22, 2015 6:19 am

Re: WaterPlane - Environment.onCreateWater

Post by mcatalyst »

On gold crest valley there are two water planes. One for the lake and one for the power station. You might be able to find the difference between the two there. I've only used a single water plane and lowered the terrain in multiple places.
Myrithis - Catalyzer Industries
Inkslinger98
Posts: 130
Joined: Sun Jun 11, 2017 5:04 pm

Re: WaterPlane - Environment.onCreateWater

Post by Inkslinger98 »

From what ive read the oncreate water sets the depth map wide. U should be able to submit it without it cause old streams has fake water
User avatar
Mobias
Posts: 678
Joined: Mon Dec 12, 2016 9:43 pm

Re: WaterPlane - Environment.onCreateWater

Post by Mobias »

Hi. I'm having the same issue with my map. Does anyone know how you fix this? My water plane is map wide even though I've only created a small pond where its visible.

I'm using the small square water plane texture.
Procobator
Posts: 337
Joined: Tue Aug 02, 2016 2:39 pm

Re: WaterPlane - Environment.onCreateWater

Post by Procobator »

That's the way it works. The water plane is map wide. You cannot have more than one. The second "water plane" on the GoldCrest map referenced above has a collision near it so you can't access the water.
Post Reply