Xonotic Forums
Waypoints Help - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Editing and Concept Art (https://forums.xonotic.org/forumdisplay.php?fid=11)
+--- Thread: Waypoints Help (/showthread.php?tid=7761)



Waypoints Help - TapX - 07-10-2018

Okay so when I waypoint a map and I see it in the data maps folder <map>.waypoint.cache  but the bots are still stuck and wont move unles the get a pickup. What can I do to fix this?


RE: Waypoints Help - It'sMe - 07-11-2018

You have to add waypoints using the waypoint editor.
Check e.g. https://forums.xonotic.org/showthread.php?tid=4861 for reference.


RE: Waypoints Help - TapX - 07-12-2018

(07-11-2018, 04:06 AM)It\sMe Wrote: You have to add waypoints using the waypoint editor.
Check e.g. https://forums.xonotic.org/showthread.php?tid=4861 for reference.

Yea, I used that one already. And i Waypointed the map four map four times. And i see the map.waypoints.cache file, but whenever i spectate the bots hey still dont go anywhere or they stand on the pickups. So i have no idea on how to get it to work. 

Also do I change the waypoint.cache to a regular waypont file and if so how do i do it?


RE: Waypoints Help - Mario - 07-13-2018

You use the console command g_waypointeditor_saveall to create the .waypoints file.


Edit: fixed command, as pointed out by It'sMe.


RE: Waypoints Help - TapX - 07-13-2018

(07-13-2018, 01:47 AM)Mario Wrote: You use the console command g_waypointsprite_saveall to create the .waypoints file.

I tried the command four times, and all it says is unknown command so idk.


RE: Waypoints Help - It'sMe - 07-13-2018

the correct command is g_waypointeditor_saveall


RE: Waypoints Help - TapX - 07-14-2018

(07-13-2018, 12:59 PM)It\sMe Wrote: the correct command is g_waypointeditor_saveall

Yea, Thats the original one i used from the tutorial thread. And i get a waypoint.cache file. Then whdnever i reload the map the bots are still the same. So do i have to do something else??


RE: Waypoints Help - It'sMe - 07-15-2018

In short:
1) Start your map: chmap afterslime
2) Use g_waypointeditor 1 to enter waypoint editing mode.
3) Run trough your map and spawn bot waypoints using g_waypointeditor_spawn
4) When your map is "full" of waypoints use g_waypointeditor_saveall to save the map.waypoints.cache and map.waypoints file.
Code:
]g_waypointeditor_saveall
saved 13 waypoint links to maps/afterslime.waypoints.cache
saved 3 waypoints to maps/afterslime.waypoints


The waypoints you manually spawned are indicated by those white balls:

[Image: M8vAyJj.jpg]


RE: Waypoints Help - _para - 07-16-2018

Ok assuming you did create them and saved them correctly... so when reopening the map and enabling the waypointeditor you should see the waypoints and connection from you to your nearest waypointss(probably).

First thing you could try is that ...g_waypointeditor_relinkall (something with _relinkall ... or try command: "search relinkall" and it will list it) command.

Next thing could be the logic the bots are following your waypoints with. They are not really smart but they will generally find their way.
So if their hp is low they could camp a healthpickup if theres no spawned elsewhere (each pickup(also jumppads and portals) generate their own waypoint).

Just create waypoints rather generously I'd suggest like when having a door at least one on each side or 2 on each side for the corners. At the start of a staircase and right when the staircase ends and your new point still sees the last point.

Also try not to spawn them midair(falling/jumping) it's a pain getting rid of them and bots won't care about them anyways.


Lastly maybe post a screenshot showing your waypoint layout.


RE: Waypoints Help - TapX - 07-17-2018

(07-16-2018, 02:43 PM)_para Wrote: Ok assuming you did create them and saved them correctly... so when reopening the map and enabling the waypointeditor you should see the waypoints and connection from you to your nearest waypointss(probably).

First thing you could try is that ...g_waypointeditor_relinkall (something with _relinkall ... or try command: "search relinkall" and it will list it) command.

Next thing could be the logic the bots are following your waypoints with. They are not really smart but they will generally find their way.
So if their hp is low they could camp a healthpickup if theres no spawned elsewhere (each pickup(also jumppads and portals) generate their own waypoint).

Just create waypoints rather generously I'd suggest like when having a door at least one on each side or 2 on each side for the corners. At the start of a staircase and right when the staircase ends and your new point still sees the last point.

Also try not to spawn them midair(falling/jumping) it's a pain getting rid of them and bots won't care about them anyways.


Lastly maybe post a screenshot showing your waypoint layout.

Yes, Still doesn’t work. All it does is make a waypoints.cache. No waypoint file. And I have to waypoint the map every single time cause it doesn’t  show the ones I did I.


RE: Waypoints Help - TapX - 08-07-2018

Does anyone know why nothing happens after I enter g_waypointeditor_saveall?? Ive looked at the Guide and I add them and yes they are all on the ground none in mid air, But I still cant generate a waypoint file. sometimes it doesn't even update the current waypoint.cache file.