Author Topic: Simple Modelling Question - PWKs  (Read 413 times)

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Simple Modelling Question - PWKs
« on: February 17, 2014, 08:57:46 pm »


               I'm nibbling at the edges of modelling again, and I've a basic question.  In NWmax, how do you create a PWK for a placeable?  I've created a plane, moved the vertices to just beyond the edges of the placeable, added an AuroraPlaceable modifier and selected PWK, attached the plane to the model, and exported the model.  No PWK file appears though.  '<img'>

So, what am I doing wrong?
               
               

               
            

Legacy_T0r0

  • Sr. Member
  • ****
  • Posts: 380
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #1 on: February 17, 2014, 09:51:58 pm »


               export classification maybe ? Sure it's linked ?  I got nothing ............
               
               

               


                     Modifié par T0r0, 17 février 2014 - 09:57 .
                     
                  


            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #2 on: February 17, 2014, 09:58:22 pm »


               The export classification is set to Character.
               
               

               
            

Legacy_Michael DarkAngel

  • Hero Member
  • *****
  • Posts: 627
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #3 on: February 17, 2014, 10:01:18 pm »


               

3RavensMore wrote...

I'm nibbling at the edges of modelling again, and I've a basic question.  In NWmax, how do you create a PWK for a placeable?  I've created a plane, moved the vertices to just beyond the edges of the placeable, added an AuroraPlaceable modifier and selected PWK, attached the plane to the model, and exported the model.  No PWK file appears though.  '<img'>

So, what am I doing wrong?


You need to create a "dummy" node, named [your_model_name]_pwk
Apply an "AuroraPlaceable" modifier to the dummy node and select "Placeable [PWK]" for its type.

Create your placeable walkmesh, I usually name this "pwk"
Convert to "Editable Mesh", apply an "AuroraWalkmesh" modifier to it.

Your placeable walkmesh gets linked to the dummy node.
The dummy node gets linked to the model base.

Hope that helps.

'Image
 MDA
               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #4 on: February 17, 2014, 10:10:36 pm »


               Works perfectly!  Thanks!
               
               

               
            

Legacy_Michael DarkAngel

  • Hero Member
  • *****
  • Posts: 627
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #5 on: February 17, 2014, 10:40:41 pm »


               Glad to help.

Forgot to mention, all faces of your placeable walkmesh should be set to "7 - NoWalk".  That is what blocks characters from being able to walk through your placeable.

'Image
 MDA
               
               

               
            

Legacy_NWN_baba yaga

  • Hero Member
  • *****
  • Posts: 1944
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #6 on: February 17, 2014, 10:44:24 pm »


               I´m confused MDK. For a pwk you dont have to apply a material ID to the faces. They should just prevent the player from walking trough. Thats how it works for me.
               
               

               
            

Legacy_Michael DarkAngel

  • Hero Member
  • *****
  • Posts: 627
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #7 on: February 17, 2014, 10:47:44 pm »


               

NWN_baba yaga wrote...

I´m confused MDK. For a pwk you dont have to apply a material ID to the faces. They should just prevent the player from walking trough. Thats how it works for me.


You're probably right.  It's just something I do out of habit, that apparently doesn't need to be done '<img'>

'Image
 MDA
               
               

               
            

Legacy_Valthrendir

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #8 on: February 18, 2014, 10:19:22 am »


               

NWN_baba yaga wrote...

I´m confused MDK. For a pwk you dont have to apply a material ID to the faces. They should just prevent the player from walking trough. Thats how it works for me.


It is indeed not necessary to apply a material ID to a .pwk plane since it defines a ''no walk'' area. On the contrary, application of material ID's to .wok walkmeshes is necessary to define where you are able to walk on custom made tiles and what ''stepsound'' will be generated by the surface of that tile.
               
               

               
            

Legacy_Lord Sullivan

  • Hero Member
  • *****
  • Posts: 671
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #9 on: February 18, 2014, 10:43:33 am »


               I need to clarify once again, the default walkmesh surface ID for PWKs is "Obscuring" without any
input from the user.

*No walk" = just that
"Obscuring" = No walk + Obscuring

Else if it was "No Walk", any placeable object big enough and high enough would not prevent NPCs
from seeing through objects such as a "Tree". That's what obscuring is for.

If I'm wrong and "No Walk" is the default(in case I forgot) , then for any object that should obstruct
the view of NPCs from the PC if said object is between, then a proper PWK must be created and
the surface ID must be set to "Obscuring" where it is needed. making flat PWKs for everything is
just plain lazy and renders said placeable disfunctional per game mechanics.
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #10 on: February 18, 2014, 02:33:39 pm »


               Apparently there is this 'old school' group of folks that seriously intend for this issue to constantly be raised as they refuse to change away from their lazy habits!  This issue has been discussed and thrown against the barn wall so many times it is not even remotely funny any more.

Oh well Sully, you and I both know from past painful issues, that there is a really HUGE difference between the two settings.  Why folks can't remember to just use type=2 instead of type=7 is something I just can't figure out.  It is a single number.  What makes it sooo hard to remember?
               
               

               
            

Legacy_NWN_baba yaga

  • Hero Member
  • *****
  • Posts: 1944
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #11 on: February 18, 2014, 07:13:39 pm »


               Ok. I´m more confused about pwk´s now as i was before this thread was created '<img'>
A chair with a simple pwk plane is just a "no walk" area for anyone. No obsucuring what so ever. If anything is behind it you see it. So that must be a simple "no walk trough" ID. So by default a pwk is just a "no walk" area like I said. It´s is not a walkmesh, only a pwk. It exports as a pwk...not as a walkmesh only if you want to use a complex pwk where you can move along the z-axis.

Valthrendir:

I know what you are saying. I did tons of tiles and placeables... but thanks for the hint;)
               
               

               
            

Legacy_Lord Sullivan

  • Hero Member
  • *****
  • Posts: 671
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #12 on: February 18, 2014, 09:47:06 pm »


               I hear you Banner!

@Baba
It's a question of good judgment, if it's a wide open small chair, then a flat plane is fine,
but if it's a throne like big closed chair with a back that goes over a PC's head when sitting,
a hostile Archer standing behind shouldn't be able to shoot arrows through it to hit the PC.
Thus a PWK with the proper shape and height should be created.

EDIT: I can confirm that in 3D Max 5 + MDLSuite, "Obscuring" is the default surface ID when
           applying the MDL Walmesh modifier to a BOX shaped object and not editing the faces
           surface ID.
               
               

               


                     Modifié par Lord Sullivan, 18 février 2014 - 10:21 .
                     
                  


            

Legacy_NWN_baba yaga

  • Hero Member
  • *****
  • Posts: 1944
  • Karma: +0/-0
Simple Modelling Question - PWKs
« Reply #13 on: February 20, 2014, 08:45:26 pm »


               @Lord Sullivan
Good example with the throne, makes perfect sense to me. I´ll be more carefull when working on placeables next time. Never thought about that... '<img'>