Seamhainn Posted January 12, 2008 Share Posted January 12, 2008 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 More sharing options...
DarthJebus05 Posted January 12, 2008 Share Posted January 12, 2008 Waypoints are basically a script telling the NPC to walk to this place. Link to comment Share on other sites More sharing options...
stoffe Posted January 12, 2008 Share Posted January 12, 2008 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 More sharing options...
Seamhainn Posted January 12, 2008 Author Share Posted January 12, 2008 Thanks! 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? Take care Link to comment Share on other sites More sharing options...
Marius Fett Posted January 12, 2008 Share Posted January 12, 2008 The Blueprint files in a .RIM are the files used in that module. Blueprint, Character Blueprint, Items All the blueprints in a .ROM are the ones from that module. Link to comment Share on other sites More sharing options...
Seamhainn Posted January 12, 2008 Author Share Posted January 12, 2008 @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 More sharing options...
Marius Fett Posted January 12, 2008 Share Posted January 12, 2008 Maybe some of them got deleted? I'm no expert though, i'd ask stoffe... She'd know. Then again what doesnt stoffe know about modding? Link to comment Share on other sites More sharing options...
stoffe Posted January 12, 2008 Share Posted January 12, 2008 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 More sharing options...
Darth InSidious Posted January 13, 2008 Share Posted January 13, 2008 A waypoint basically acts as an invisible marker. You can use them to spawn things at a specific location, or to move your character to a specific location when loading a module, or to have someone walk to a specific location, or even as a map note, depending on how you configure them. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.