User Tools

Site Tools


features:sinfar_supporter_housing:walkwaypoints

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

features:sinfar_supporter_housing:walkwaypoints [2019/05/28 21:59] (current)
LockOn created
Line 1: Line 1:
 +====== Walk Waypoints ======
  
 +Once you know how to make creatures and assign their tags properly, walk waypoints are actually reasonably simple.
 +
 +Do note, this page will cover how to make creatures move around in Sinfar homes, but a deeper discussion of waypoints and their possibilities is beyond the scope of this document. ​ Waypoint basics can be found [[https://​nwn.fandom.com/​wiki/​Waypoints_used_with_walkwaypoints|here]]. ​ Please note, the system is capable of significant behavior simulation, up to and including making NPC's do one thing during the day and then going home at night and getting into bed and sleeping. ​ Users are encouraged to experiment, and then come back here and record your results so we can all learn from it.
 +
 +Once you have a creature established in the game, right click on them and select create waypoint.
 +{{:​features:​sinfar_supporter_housing:​walkwaypoints_20190528-215731.png}}
 +
 +This will create a waypoint on the ground that you can then move to the spot you want the creature to move to.  Upon creation the waypoint will have the following tag:
 +{{:​features:​sinfar_supporter_housing:​walkwaypoints_20190528-215754.png}}
 +
 +Waypoint tags are broken down as such:  WP_ (for the waypoint); _P_A3F7_Test_MAN ​ is the tag of the creature; _01 is the number assigned to the waypoint at creation time.  DO NOT edit or alter this tag.  Doing so will break the waypoint. ​ Now, let's go to the Sinfar Resource page for your home.
 +{{:​features:​sinfar_supporter_housing:​walkwaypoints_20190528-215815.png}}
 +
 +Save the waypoint as you saved the name of the creature and add the numerical digit of the waypoint in question. ​ Inside the webpage settings for the tag, save the name of the waypoint tag from the Toolset into the tag and name fields of the waypoint.
 +{{:​features:​sinfar_supporter_housing:​walkwaypoints_20190528-215837.png}}
 +
 +After you save the waypoint, the WP_ will drop off the end of the tag as shown above. ​ This may be a bug or a feature but it does not impede the creation of the waypoint.
 +
 +Create any additional waypoints you wish for your creature and then make sure the upload blueprints box is checked when you go to upload the house.
 +{{:​features:​sinfar_supporter_housing:​walkwaypoints_20190528-215855.png}}
 +
 +Additionally,​ if you want to change the direction a creature faces as it reaches a waypoint, and enforce the direction the waypoint is pointing in, set the following variable on the waypoint.
 +{{:​features:​sinfar_supporter_housing:​walkwaypoints_20190528-215913.png}}
 +
 +P_X2_L_WAYPOINT_SETFACING is an int and set it to 1.  This will enforce the facing of the waypoint on the creature as opposed to it defaulting to the facing it uses as it moves to the waypoint.  ​
 +
 +Once you're done your connected waypoints should have a small white line between them that appears when you click on your creature.
 +{{:​features:​sinfar_supporter_housing:​walkwaypoints_20190528-215933.png}}
 +
 +This will indicate the intended walking path of the creature. ​ As per normal, when a creature reaches its final waypoint, it will return to the first one and start the pathing all over again.
 +
 +Additional behaviors such as pausing at waypoints or interacting with placables at waypoints are beyond the current scope of this document, but users who learn those secrets are encouraged to share, here.
features/sinfar_supporter_housing/walkwaypoints.txt ยท Last modified: 2019/05/28 21:59 by LockOn