Aller au contenu

Photo

Walkmesh helper additions


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

#1
rjshae

rjshae
  • Members
  • 4 485 messages
Hello,

Please could somebody tell me if there is a procedure or writeup somewhere that would help me figure out how to make a domed walkmesh helper? (I.e. a 120 degree horizontal slice off a sphere.) All I've found is the MDB file layout description and some indirect references. I'm assuming I'd need to use Blender to make the mesh, but then I'm not sure how to convert that into the WALK component of the MDB file.

Thank you.

Modifié par rjshae, 12 novembre 2013 - 04:06 .


#2
Tchos

Tchos
  • Members
  • 5 042 messages
I don't know, but I checked the placeable walkmesh helper object properties, and tried replacing the meshes with a domed one.  When I brought it into the toolset, there was a grey box (texture not assigned), but the C2 and C3 was there, so I tried baking, and I got a partial dome walkmesh, with the rest being that white square around it, which usually indicates too many placeables.  Maybe too many faces in the walkmesh.

https://dl.dropboxus...N2/walkdome.jpg

#3
rjshae

rjshae
  • Members
  • 4 485 messages
Interesting. I wonder if simplifying the mesh would help? I wouldn't think it needs to have more than a couple of dozen faces.

#4
Hellfire_RWS

Hellfire_RWS
  • Members
  • 623 messages
I have/had a walkable dome I used for flying and levitating. simply sfollow the standard WM helper tut and you should be fine

#5
rjshae

rjshae
  • Members
  • 4 485 messages
Okay, well that's what I came here to find. Please can you give me a hint of where to look? None of the tutorials seemed to be about making a new walkmesh helper.

Modifié par rjshae, 18 octobre 2013 - 03:16 .


#6
Morbane

Morbane
  • Members
  • 1 883 messages
somewhere on their site maybe?

http://www.rwscreations.com/

or try to modify a flat one with 3dsmax8 and the mdb plugin??

Modifié par Morbane, 18 octobre 2013 - 08:03 .


#7
Morbane

Morbane
  • Members
  • 1 883 messages
you could - in theory - make a pseudo-dome with multiple ramps sized just right
                                                                                                                                                

Modifié par Morbane, 18 octobre 2013 - 08:13 .


#8
rjshae

rjshae
  • Members
  • 4 485 messages

Morbane wrote...

somewhere on their site maybe?

http://www.rwscreations.com/

or try to modify a flat one with 3dsmax8 and the mdb plugin??


I did look there. The closest I found was the placeable conversion tutorial, which assumes you have 3DS. All I have is Blender, unfortunately.

#9
Hellfire_RWS

Hellfire_RWS
  • Members
  • 623 messages
Placeable Tut
Don't make a visible object, just make the Walkmesh, C1 and C2 mesh.. If you do add a model flag is as invisible (not rendered). I have no blender tutorials

Modifié par Hellfire_RWS, 19 octobre 2013 - 03:10 .


#10
rjshae

rjshae
  • Members
  • 4 485 messages
Thank you. Wish I had 3DS... :)

#11
rjshae

rjshae
  • Members
  • 4 485 messages
Okay I think I've cracked the code on this one:

Posted Image

Ta-da! :) A floaty platform, both baked in the toolset (left) and in the game (right).

The secret seems to be in how the extreme negative Z values are handled. The bottom ones along the sides are set to the special value z = -1000000. However, if you sub-divide the mesh in the model then you end up with some vertices at, say, z = -500000. When the model is loaded into the game, the -500000 value gets treated like a real coordinate, so bakes fail. But if you massage the sides so that all the vertices with deep negative z-coordinates all extend down to -1000000, then the bake works. (I trim the extra meshes along the sides to just a single layer of triangles, then extend them down to the required value.)

Now I just need to figure out how to simplify the upper part of the mesh...

Modifié par rjshae, 10 novembre 2013 - 07:47 .


#12
Happycrow

Happycrow
  • Members
  • 612 messages
That's GREAT. Not sure I understand the z= negative one million part, but having tried and failed a dozen times in 3dsmax, I gotta say I'm thrilled somebody figured this one out.

#13
Morbane

Morbane
  • Members
  • 1 883 messages
good work rjshae!

it is sizeable as well?

#14
rjshae

rjshae
  • Members
  • 4 485 messages
Yep, it's sizeable. Baking can be a bit of an adventure, but it works. Thus far I have a platform and an arch working for both stone and wood.

Anybody have a basic shape they'd like for a walkmesh helper? Simple shapes with a low mesh count seem to work best.

Happycrow wrote...

That's GREAT. Not sure I understand the z= negative one million part, but having tried and failed a dozen times in 3dsmax, I gotta say I'm thrilled somebody figured this one out.


Thanks. There's a writeup on the MDB Format page that describes it.

#15
Happycrow

Happycrow
  • Members
  • 612 messages
I was trying to alter the "ramp" style walkmesh helper that nobody seems to use, but I do actually have a very specific use for a dome and for ramps which are concave/convex. My wildest dream would be the ability to assign a texture to that, counter-intuitive though that is, but all of this is great.

#16
rjshae

rjshae
  • Members
  • 4 485 messages
Do you mean a cylindrical concavity/convexity? How much curvature is needed?

#17
Happycrow

Happycrow
  • Members
  • 612 messages
Yes, that's exactly what I mean. Wouldn't need to be a whole lot, just enough to distinguish it from the already-existing purely "diagonal" ramp. Basically I can play with dimensioning to get the rest going.

#18
Morbane

Morbane
  • Members
  • 1 883 messages
WOW.

rjshae, a walkmesh helper pack!

it has indeed been a really good day!

Happycrow - the best use i got out of the ramp was in the cave tileset corner tile with the hole in it - i used the ramp to spawn sahaguin in the hole then appear to climb out of the water - i actually managed this with the flat one together with the ramp - yes i know - doesnt seem possible since WMs are so tricky - but it worked :)

#19
rjshae

rjshae
  • Members
  • 4 485 messages
A problem I'm finding with the platform is that the point you click on is relative to the floor underneath, rather than the projected platform top. That makes it unusually difficult to navigate. Perhaps it would work better if I build the helper with a plain top surface but no sides? That way it could be made to work with placeables by putting the surface just below the placeable top. Maybe a semi-transparent, tintable, random noise surface? I'll have to do some experimenting.

I'm tempted to do a Blender tutorial on WALK meshes... once I master this thing a little better. :)

#20
rjshae

rjshae
  • Members
  • 4 485 messages
As an experiment, I created a flat, L-shaped walkmesh helper and used it to build a matching dock with a pair of walkable ships along the sides. It worked!

Posted Image

Modifié par rjshae, 12 novembre 2013 - 04:28 .


#21
rjshae

rjshae
  • Members
  • 4 485 messages
Dome-shaped walkmesh complete and functioning. :)

Posted Image

#22
PJ156

PJ156
  • Members
  • 2 982 messages
Good work RJ, that tutorial would be useful if you get to it.

Do the dome work on a tile set interior?

PJ

#23
rjshae

rjshae
  • Members
  • 4 485 messages
It should work on an interior tile set, but I'll give it a test. Thanks.

#24
kamal_

kamal_
  • Members
  • 5 240 messages

rjshae wrote...

It should work on an interior tile set, but I'll give it a test. Thanks.

It will. Walkmesh helpers have priority over the tile walkmesh. You can even use them to walk through solid tile walls (I did in Crimmor) and above the ceiling.

#25
rjshae

rjshae
  • Members
  • 4 485 messages

Happycrow wrote...

Yes, that's exactly what I mean. Wouldn't need to be a whole lot, just enough to distinguish it from the already-existing purely "diagonal" ramp. Basically I can play with dimensioning to get the rest going.


Is this about what you're looking for?

Convex ramp

Hopefully you can see the mesh okay.