Aller au contenu

Photo

What is the correct way to bake a dock over water?


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
ColorsFade

ColorsFade
  • Members
  • 1 271 messages

I'm having trouble getting dock pieces to mesh together when baking to make a completely walkable surface. At this point in time I'm not sure what I am doing wrong. 

 

Here's a screenshot and a description: 

 

[14038120401_7610462586_c.jpg

 

Here's what I have: 

 

The picture shows two dock pieces slapped up against each other, with their edges overlapping slightly. 

 

The green piece is a single walkmesh helper covering both docks. 

 

In the middle you can see the unwalkable area that didn't bake as desired, so you cannot walk out to the second half of the dock. 

 

I've tried this with both docks as placeables, and as environmental objects, with the same result. Right now they are environmental objects; my hope was that the walkmesh helper would be the only thing necessary, but so far it's not working. 

 

What settings do I need on the docks? What settings on the walkmesh helper? Why isn't the walkmesh making this work? 



#2
kamal_

kamal_
  • Members
  • 5 258 messages

There's a couple of ways you can do it:

1. Multiple walkmesh helpers that intersect. As you have noticed, they can be finicky.

2. One large walkmesh helper covering the whole dock area you want walkable, with walkmesh cutters to define where the player can't walk. Will work reliably but the rest of the terrain may not always be amenable to doing this.

3. Terrain dock, using placeables to define the edge of the dock. Paint the terrain there with the wood textures. Will work reliably since it's regular terrain, but may not look the way you wish.

4. There are some additional walkmesh helpers that were made by rjshae, they may fit your shape.

5. Duplicate the area and make a terrain dock to give you a working walkmesh in the duplicate.  Use tools to copy the desired walkmesh into your area. Explanation. Works reliably and lets you do all kinds of interesting things, but it's the most technically complicated solution. If you want to make any walkmesh changes after doing this, you have to go through the process again.


  • PJ156 et Rolo Kipp aiment ceci

#3
PJ156

PJ156
  • Members
  • 2 986 messages
Kamal has the right of it but the other thing you might consider is creating your dock using raised terrain as kamal noted. Build you whole area to a point where it in complete. Make the very last thing you do as flatten the terrain below the water. It must be pre-coloured and textured. Don't bake the area again.

It will be okay in game and look the part just done bake it or you will have to start again.

PJ

#4
rjshae

rjshae
  • Members
  • 4 505 messages

Sometimes I get weird bake anomalies depending on how the parts are located with respect to the underlying mesh. A small move may sometimes fix it. Also, you might try the L-shaped helper and cover all three dock pieces (set to environmental objects).

 

If you absolutely need the dock positions canted like that, I could build a custom walk mesh. It doesn't take too long to do, but you'll have to send me an overhead shot so I can see the layout, or a copy of the area with just the dock pieces.



#5
ColorsFade

ColorsFade
  • Members
  • 1 271 messages

Option #2 ended up working the best. I expanded one huge walkmesh helper to cover the area and then carefully created cutters. 

 

There was a really weird anomaly (that I wish I had taken a screenshot for) which caused the baked walk area to jut way up into the air, sharply, for no apparent reason. It took a lot of reshaping of the nearby hillside to make it mostly go away. Really odd. 

 

The bake algorithm... leaves a lot to be desired. 

 

Anyway, it's almost all done. I have two ramps left that go up the hillside; of course, one tiny slice between a ramp and a flat spot isn't baking. I'll get it worked out. 

 

It's an incredibly cool area, and I can't wait to populate it, but boy it's been a task to make it work... 

 

Unfinished Screenshot (still decorating and some lighting to do)

 

14028176446_20a3eaeaec_c.jpg


  • Rolo Kipp aime ceci

#6
Morbane

Morbane
  • Members
  • 1 883 messages

CF, is that the pirate's cove you've been sharing tidbits of every now and again?



#7
ColorsFade

ColorsFade
  • Members
  • 1 271 messages

It is Morbane