Jump to content

Home

Waypoints questions


Seamhainn

Recommended Posts

Hello!

 

I am restoring the third Vulkar Base level, and am working on the map right now.

 

I looked up the existing waypoints for the map entries. All the existing ones are pretty much useless for the map.

 

My question is, what do waypoints do?

 

What effects have added waypoints to the game / gameplay?

 

Can I add waypoints without much thought?

 

Thanks and take care

Link to comment
Share on other sites

I looked up the existing waypoints for the map entries. All the existing ones are pretty much useless for the map.

 

My question is, what do waypoints do?

 

Normal waypoints on their own do not do anything. They are just objects that mark a position in the area that can be accessed via their tag. The waypoints can then be used from a script to get those positions. They are typically used to mark out locations NPCs should stand at or walk to in cutscenes, mark patrol routes for NPCs walking around or to mark locations where objects or creatures should be spawned.

 

The advantage of using waypoints instead of coordinates directly, aside from just having to keep track of a tag instead of a bunch of numbers, is that you can make generic scripts that work in any area where a waypoint with the proper tag is located, regardless of its actual position. The generic "leave area" scripts for example move a character to a waypoint with the tag SW_EXIT before destroying them.

 

There is a special variant of waypoints that do have a purpose on their own (these have the HasMapNote and MapNoteEnabled fields set to 1 in the GIT file). Map Marker waypoints are placed at locations within the area you want to draw the player's attention to, and the text associated with them (in the MapNote field in the GIT file) is displayed on the area map as a point of interest.

Link to comment
Share on other sites

@DarthDingDong: I don't get that, sorry. There are more waypoints in the .git file then in the Blueprint, Waypoint list. Thats what confuses me. Maybe you or stoffe can enlighten me...

 

Nevertheless I am done with the map. The only problem to solve for me is why the main panel doesn't work for me.

 

Thanks and take care

Link to comment
Share on other sites

Just for curiosities sake. I know what the waypoints in the .git file are for. But what do Blueprint, Waypoints in the rim file do?

 

The UTW files are templates for pre-defined waypoint types. The GIT data is created from those when you place a waypoint in the area in the toolset. (Since we don't have access to the toolset for Kotor modding though they aren't much use, unless KotorTool's module editor uses them as well.)

 

The UTW files are linked to by the TemplateResRef field in the WaypointList in the GIT file, but I don't think the game itself uses it for anything since all the data from the template copied to the instance in the GIT file when the waypoint is placed.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...