Welcome Guest ( Log In | Register )

Rating 5
 | Category: Toolset
entry Mar 15 2007, 06:04 PM
Zarathustra217’s Placeable Walkmesh Helper

Scott Everts, Designer Extrodinaire, checked out the Placeable Walkmesh Helper made by Zarathustra217. Since ScottE checked it out we did make a couple changes to the object and are including it in the 1.05 Update to the game. This is what ScottE had to say about the Walkmesh Helper:

Zarathustra217 has created a wonderful placeable element in the form of a solid invisible square that cuts out the walkmesh. I was asked to check it out and I’m very happy to say it works great and makes complex walkmesh issues much easier to deal with. It also allows you to make flat placeables walkable that weren’t originally intended to be!

I’m going to show an example of a complex walkmesh issue in the editor that this placeable made much easier to deal with.



In this example we have a bridge in three parts. Two ends and a plank connecting them. Normally this would be a problem of mind bending complexity!

First Turn on “C2 Data” under the Collision pull down menu so you can see it.

After making sure both bridge ends are the exact same height I put down one of the new Walkmesh helpers.



Using the Scale option in the Placeable Properties I adjusted the length and width until I got it to match up with the top of the bridge. I then raised it up just a hair above the bridge sections. Use the green selection box as a guide since all those boxes can get confusing!



One issue you need to be careful of is the walkmesh helper will completely override the terrain walkmesh. So the edge of the bridge should be flush with the terrain or as close as possible. If the terrain slopes over the bridge end your character will walk into the terrain until they leave the helper’s area.

Now that we have our rectangle sized, placed, and positioned we have to deal with that joining plank in the middle. Currently we have two issues to deal with. The plank is above the bridge level and the open air on either side is walkable. To deal with the first issue lets place another Walkmesh Helper. This one we will size to the plank and raise/rotate to match.



The nice thing about the helper is you can stack them on top of each other. Your character will snap up to the highest one so works well for uneven terrain. Though you should take care not to go nuts with these. If you layer a ton of these the pathing might not work well and might not bake correctly.

Our next problem is the open sides. This is easily taken care of by placing Walkmesh Cutters. These are listed in the Triggers section under “Empty”. You place them like a trigger and they will etch out the walkmesh exactly like they are shaped. They always override all other walkmesh cutting so they are good for your final fine tuning.



Getting these lined up will take a few tries since triggers conform to the ground terrain while your bridge is way up in the air. I did a few quick level bakes to fine tune them.

So we appear to be done and a quick bake and jump in the game shows all is working great! But there appears to be a few issues.

The bridge sides are open to the terrain below so our character walks off the sides and pops down to the chasm below! Ops! Easy enough to fix. Just put some Walkmesh Cutters on either side of the bridge to block it off.



Also the bridge sections have their own walkmesh which we replaced but is still cutting out and doing strange things. So I flagged the two bridge ends and plank as Environmental Objects so only our Walkmesh Helper & Walkmesh Cutters are doing all the work. No sense making the engine more confused!

Here’s our level walkmesh after being baked.



A quick jump into the game shows that my character walks perfectly from land to bridge. And properly walks up the plank. Not bad and pretty fast to layout.

« Next Oldest · Neverwinter Nights 2 Blog · Next Newest »

Comments

post Mar 15 2007, 09:14 PM
Comment #1


(0) Nub


Group: Members
Posts: 0
Joined: 26-January 07
From: Milan, IT
Member No.: 20,704



That's a real great thing. Really! wink.gif

But now that you stated to implement custom content, you could add also a good waterfall effect, not? original.gif


--------------------
Go to the top of the page
post Apr 18 2007, 06:28 PM
Comment #2


(0) Nub


Group: Members
Posts: 0
Joined: 26-January 07
From: Milan, IT
Member No.: 20,704



It doesn't work if it doesn't touch ground.
Example: I tryied to use near stairs PLC and the bake doesn't links them.
We need something that links walkable PLCs each other... or better to upgrade the bake system to support that.


--------------------
Go to the top of the page
post Apr 19 2007, 01:10 PM
Comment #3


(0) Nub


Group: Members
Posts: 0
Joined: 26-January 07
From: Milan, IT
Member No.: 20,704



Could be possible to add wedge-shaped versions in next patch(es)?
So would be easier to link a side with the ground...

However the need to be able to link various "stand-alone"* (or not) walkable PLC will be yet valid!
Expecially to link more Walkmesh Helper, if you include wedge-shaped versions.

* for stand-alone I mean that don't touch the ground as walkpath surface.

This post has been edited by Patcha: Apr 19 2007, 01:12 PM


--------------------
Go to the top of the page
post Apr 21 2007, 04:30 AM
Comment #4


(2) Evoker


Group: Members
Posts: 98
Joined: 17-August 05
Member No.: 14,503



I'v tried the Wlakmesh Helper in a couple of rather simple places and found that it works pretty well, and ha saved me a lot of frustration with trying to make a simple dock a walkable area. I'm going to give it a try on a few other things as well to see just what I can get away with.
Go to the top of the page

 
« Next Oldest · Neverwinter Nights 2 Blog · Next Newest »
 
SMTWTFS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30





4 user(s) viewing
4 guest(s)
0 member(s)
0 anonymous member(s)