Let's see. You want a rectangle walkmesh
Let's take a rectangle walkmesh
, like one which is used for beds on telos station. Those beds are placeables and has walkmeshes and most important are rectangles.
So, start KotorTools and locate BIFs=>models.bif=>Praceable Object Walkmesh=>plc_bed1.pwk
Doubleclick on that. By doubleclicking you will start PWK/DWK Editor
Hit File menu and select Save as ASCII...
A small window will prompt you for a custom file name
but there just hit OK button.
Now start GMax (sorry, all tests are made under 3dsmax but shoud be the same for gmax), and under NWmax panel select plc_bed1.pwk (to see that file you need to select "All Files (*.*)" on "Files of type:")
Now look at This picture.
I've marked with 1,2,3,4,5 and 6 the intrested areas.
One reclangle plane will be imported. Select that one(1) and in modify panel(2) hit "Build WOK Data" button(3). Some values will show up in "Boxes".
Lick on first row with values ans some infos will appear(5). Bring again PWK/DWK Editor and have a look to values on "Verts" section(6).
As you see on PWK Editor there are 3 columns. Focus on first two columns.
There are 4 values: 2 positive and 2 negative (6)
Also in gmax there are 4 values (5) pretty much like those from PWK Editor.
On "Editable mesh"
select vertex and move to another possition.
Hit again on AuroraWalkmesh, hit "BuildWOK Data", select first values row from "Boxes" and read the new values showed on "BL:" and "TR:".
Open plc_bed1.pwk with notepad and go to "verts 4". Under that there ar 4 lines with floating values (originals) which need to be replaced with the new values (in my example I replace -1.46323 with -2.2788).
Save the file opened with notepad.
Open again PWK/PDK Editor window by doubleclicking plc_bed1.pwk (under KT).
Now in file menu select "Open ASCII PWK...", select the one which was edited with notepad and again in same menu select "Save as Binary".
Now there just 2 more important steps:
1 rename pwk file to have same name with your placeable model
2 put renamed pwk in override directory (folder).
That is all.
I case you want to know what is relation between placeable and walkmesh import plc_bed1.mdl
in same gmax session.