bspc and q3map2

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

bspc and q3map2

Postby Cinquero » Thu Jul 27, 2006 5:00 pm

What are the exact steps to add bot support to a map? I've got that ctf_greatwall_rev2 map and the bots just don't want to take the flag.

I'm using bspc version 2.1h and gtkradiant release 95 (recent 1.5.0 pre-release).

Could it be that the bots don't know how to cross the "great wall"?

I'm creating the bsp file using q3map2, and then run bspc on it by entering

bspc -bsp2aas ctf_greatwall_rev2.bsp
Cinquero
Advanced member
 
Posts: 91
Joined: Wed Jul 19, 2006 11:13 pm

Postby Shoe » Thu Jul 27, 2006 5:13 pm

There's an in-game waypoint editor that is what is used to make sure the bots know where to go, but I don't know the specifics of it off the top of my head.
Shoe
Keyboard killer
 
Posts: 517
Joined: Wed Mar 08, 2006 2:18 am

Postby KadaverJack » Thu Jul 27, 2006 5:21 pm

Nexuiz bots need waypoints to navigate the maps.
You can create waypoints fairly easy ingame:
create a new file Nexuiz/data/autoexec.cfg and copy the following lines in there:
Code: Select all
bind i g_waypointeditor_spawn
bind o g_waypointeditor_remove
bind l g_waypointeditor_relinkall
bind k g_waypointeditor_saveall


Now start Nexuiz and load the map. Open the console (shift+esc) and enter
Code: Select all
g_waypointeditor 1
Just run around and press "i" to add waypoints, if you want to delete one, aim at it and press "o". If you think some waypoints are not connected properly (can happen sometimes), press "l". When you're done, press "k" to save all waypoints.
All waypoints will be saved to Nexuiz/data/data/<mapname>.waypoints (Windows) or ~/.nexuiz/data/data/<mapname>.waypoints (Linux/MacOS).
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Shoe » Thu Jul 27, 2006 9:32 pm

I might go ahead and do that myself and release the waypoint file in the map's thread, since I'm the original author :P
Shoe
Keyboard killer
 
Posts: 517
Joined: Wed Mar 08, 2006 2:18 am

Postby Cinquero » Thu Jul 27, 2006 10:34 pm

That would be great.

By the way, I have created a few ebuilds for Nexuiz (just in case someone is running Gentoo Linux here):

https://stier.dynu.com/~moinmoin/MarksW ... uizEbuilds
Cinquero
Advanced member
 
Posts: 91
Joined: Wed Jul 19, 2006 11:13 pm

Postby Cinquero » Thu Jul 27, 2006 11:22 pm

ok, I tried that with ctf_dismal. It works. But on that map, the bots just don't want to jump off of the central platform. They always take the teleporters. When one removes the waypoints to the teleporters, they get stuck on the platform: the waypoints between the different platforms don't get linked. Is there a way to force a link between points or to set up special jump waypoints?

A first waypoint file version for ctf_greatwalls_rev2 is here:

https://stier.dynu.com/~moinmoin/MarksW ... mes/Nexuiz
Cinquero
Advanced member
 
Posts: 91
Joined: Wed Jul 19, 2006 11:13 pm

Postby KadaverJack » Fri Jul 28, 2006 12:49 am

Bots don't know how to jump, they can only walk around and use jumppads/teleporters atm.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron