Walk Marker
First and foremost this is (again) a proof of concept little program for low
level "Walk" editing in a map-rpk these constructs define the surfaces
which the Pedestrians can use to walk on.
The viewport can be navigated with the mouse:
-Holding down the middle button and dragging will pan the camera.
-Holding down the left button and dragging will rotate the camera.
-Holding down the left ctrl button on the keyboard and
panning will move the camera slower.
-Holding down left shift will move the camera up/down
Moving the camera also moves the "Marker"
(little circle in the centre of the viewport)
The marker selects the current Walk.
-There are three basic types of Walks:
-SplineWalk
Defines a curved surface. (as a Hermite patch as far as I can tell)
-FlatWalk
Defines a flat surface with four edges
-FlatTriangleWalk
Defines a flat surface with three edges
!THESE KINDS OF WALKS CAN NOT BE ADDED WITH THIS PROGRAM (I deemed them unneeded)
More walks can be joined together by neighbouring edges to form more complex surfaces
the Peds can use, though there are strict limitations to defining these surfaces;
a SplineWalk can only be joined to a non-SplineWalk, the facing of the Walks
needs to be upward meaning that the order of the vertices is important,
in practice:
1: KEEP THE SPIKE ON THE FIRST VERTEX POINTING UPWARD!
2: A SEGMENT WITH A SPIKE CAN ONLY BE JOINED TO ANOTHER SPIKED SEGMENT
The height of the segments in the walks have struct limitations but these
are enforced by the program (FLATWalk is flat) the normals of the SplineWalks
can't be too extreme, the app will try to enforce this but by moving the vertices
one can achieve too steep slopes: not following these restrictions will lead to
the Peds "leaking" through the bounds/edges of the surface.
Buttons on the UI:
-Render: Opens a file dialog and will load the POLY data from the selected RPK,
this RPK will be the target for the generated game objects.
-AddRender: Opens a file dialog and adds the POLY data from the selected RPK.
-BakeWalks: Will save the walks to the selected rpk.
-SpatialMargin: Margin on the spatial bound of the generated game objects used
when pushing them down to the spatial structure of the rpk.
-AddSimpleNode: Will create a new FlatWalk.
-AddSplineNode: Will create a new SplineWalk.
-DelNode: Will delete the currently highlighted Walk.
-ShowSpatial: Will show the spatial strcuture of the rpk related to the current
position.
-HideSpatial:~
-LockSelection: Locks the currently selected Walk (no new Walk can be selected
with the marker, it can move freely)
-ClearSelection: Clears any selection made
Buttons for SimpleSegment editing:
-Snap: Will snap the current edge to the closest aligned other edge
(both vertices need to be fairly close)
-BrakeSnap: Break current snapping of the segment
-MoveSrc: The marker will move the Source position of the segment.
-MoveTarget: The marker will move the Target position
Buttons for SplineSegment editing:
-MoveSrcNormal: The marker will move the normal of the Source point.
-MoveTargetNormal:~
-InsertSegment: Will insert a new segment into the surface definition.
-DelSelected: Delete the currently selected(in the listbox) segment.
-MovePos: The marker will move the positon of the currently
selected(in the listbox) segment.
-MoveNormal:~
Download from GoogleDrive
If you have feedback please use this forum : LINK