Jump to content

Home

Pathing Question


beancounter

Recommended Posts

Posted

In all of Biowares modules there is a paths(.pth) file. I assume this is used to generate the NPC pathing, but how do you actually get a NPC to follow the pathing? Any help would be appreciated.

Posted

In modules where Non-party NPCs move around, they are following paths created by Waypoints. These are specified by placing references to .utw files in the module's .git file.

 

I know less about the .pth file used in modules, but they appear to have nodes that are placed at key locations that form a network to allow the party NPCs to find their way around the module. In the next release of Koyor Tool, there is an option to view the network specified by the .pth file.

Posted

Thanks for the information. How do I get a non-party NPC to follow a walkways? I am sure it has something to do with the spawn in script. Here is what I have done so far. I created a new creature called wasteland_wraid. I also added three new waypoints called WP_waistland_wraid01, WP_waistland_wraid02, and WP_waistland_wraid03. I set GN_SetSpawnInCondition of the wraids to SW_FLAG_WAYPOINT_WALK_CIRCULAR. The wraids move to the first waypoint and then stop. I can not get them to move to any other waypoints. I am hoping that someone knows what I am doing wrong.

Posted

Thanks again Darth. That is what I thought you were supposed to do and it is. It is very irritating that a simple syntax error caused by scripts to fail, even though they compiled. My creature was called wasteland_wraid and I set my waypoints as WAIST( :mad: ) land_wraid. The sad thing is I even typed the same error into my post here on the forums. BTW, if anyone is interested you do not need to worry about the Spawn in condition. Just set your creatures spawn script to k_def_spawn01

  • 3 months later...
Posted

The tag format should be:

 

wp_NPCTAG : This should be the location the NPC spawns at

wp_NPCTAG_01: The location the NPC moves too

wp_NPCTAG_0X: The next location the NPC moves too

 

The tempresref should be NPCTAG

 

I am not sure how many NPCs you can have following a tag, but I had 5.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...