Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: mylesblasonato on August 12, 2009, 02:28:46 AM
-
Hi guys...again :)
I have another problem and this time it's with the "blk_" naming convention for blocked regions. I have named the mesh in the middle of the following pic "blk_flower" but for some reason the character still treats it like its not there (not named properly)
(http://img193.imageshack.us/img193/3329/77741393.jpg) (http://img193.imageshack.us/i/77741393.jpg/)
Anyone know why it's doing that?
Cheers ::beer
Myles Blasonato.
-
If you use "Find path using 2D elements only" the blk_ in geometry only works for stencil shadows, not as blocked region.
You have to set a blocked region by creating it in SceneEdit.
-
Hi there,
Ok so what if I untick the "Find path using 2D elements only" box, will it work then?
I want to have it so that when the character walks behind it and infront of it, the character appears and dissapears accordingly.
Cheers ::beer
Myles Blasonato.
-
Sorry, with "Find path using 2D elements only" the blk_ also hides the actors :P
Yes if you untick it the actor should not be able to go trough the blk_.
Also you need a .geometry file as written in documentation.
Obviously if you untick "Find path using 2D elements only" you have to put waypoints in the 3DS of the scene.
-
Hi man,
I tried that and it still doesn't work. I have no idea WTH! is going on. I even looked at the 3D source that i downloaded from here, sorry to the creator for not remembering your name. It has a couch in one of the scenes that acts the way i want the flower orniment in our game to act but i looked in his 3ds file and it has blk_sofa_none for the name so i even changed mine to that but it still didn't work and i even copied his settings for the scene and nothing happens. Is the shadow file needed and if so what for?
Cheers ::beer
Myles Blasonato.
-
Do you have a .geometry file with the same name of the 3ds in the scene's folder?
-
Yeah, I created one and put the stuff from the WME doc in there and still nothing. Any ideas?
Cheers ::beer
Myles Blasonato.
-
You shouldn't rely on the hidden geometry to mask the actors for you. It only works for stencil shadows and it's bit of a side effect. Scene layering should be done using the good old 2D way, as described in Scene creation tutorial in the docs.
-
Thanks for the answer Mnemonic,
I guess i'll stick the old fashioned way.
Cheers ::beer
Myles Blasonato.