Commit graph

117 commits

Author SHA1 Message Date
Bill Currie
a8fab74a2c Get fbxa compiling with -Wall 2010-12-16 21:24:53 +09:00
Bill Currie
f169db62b1 Add some notes.
The call tree of the bot, and the meaning of some cvars.
2010-08-24 10:02:07 +09:00
Bill Currie
a8aed356d0 fix getState and toggleState as suggested by Deek 2010-08-23 14:08:37 +09:00
Bill Currie
9f859a53e4 clean out some bitrot 2010-08-23 14:07:54 +09:00
Bill Currie
b2819cad3c Use -Cvector-calls when building the built-in waypoint files
The number of globals used in map_dm1.o dropped by about 50%, though I guess
the code probably trippled in size.
2010-01-13 08:24:06 +00:00
Bill Currie
2a78bfb98c use Qreadstring to read the whole file rather than reading it one line at a
time, reducing memory requirements.
2007-06-28 22:06:43 +00:00
Bill Currie
0909b381cf use pkg-config to work out where to install the header and lib 2007-04-09 01:07:40 +00:00
Bill Currie
0300910166 format of origin string was wrong 2006-12-20 12:16:16 +00:00
Bill Currie
0a1864a583 waypoint saving works (wrong place, but oh well) 2006-12-20 12:09:31 +00:00
Bill Currie
aa731990e2 waypoint creation/deletion and linking seems to be working 2006-12-20 11:41:11 +00:00
Bill Currie
9bbdc67fbf ai flags seem to work (both menus) 2006-12-20 10:51:16 +00:00
Bill Currie
07969da2a0 cancel edit mode on (owner) player disconnect 2006-12-20 09:53:32 +00:00
Bill Currie
cc4429d1fe waypoint info now works 2006-12-20 08:46:36 +00:00
Bill Currie
efde0e8ab1 fix the waylist menu layout/numbering 2006-12-19 14:23:03 +00:00
Bill Currie
88e3253543 the editor is starting to work. lots of bugs left 2006-12-19 14:17:58 +00:00
Bill Currie
43c9295fc5 echo bot chat to the server console (must remember about this for nq) 2006-12-17 11:25:03 +00:00
Bill Currie
dbcb664ab4 get stuff that was supposed to be called for the player called again 2006-12-17 11:15:19 +00:00
Bill Currie
c115d935c5 most of the work to get the waypoint editor working. not quite there yet,
though
2006-12-16 14:42:55 +00:00
Bill Currie
9cd6038423 waypoint loading. currently done by hand. while it's safe to load waypoints
with bots already in the game, re-loading doesn't seem to be a good idea.
waypoint file must be in the quake fs.
2006-12-11 10:39:43 +00:00
Bill Currie
3450ccb016 various cleanups and some name changes for ease of reading 2006-12-10 06:31:39 +00:00
Bill Currie
25f6b353f7 make sure client number converting doesn't become an infinite loop 2005-01-02 14:27:26 +00:00
Bill Currie
93aa9812f6 set the ping etc /after/ setting b_skill and update the diff 2004-05-12 03:36:38 +00:00
Bill Currie
8070348d8a update to match Ruamoko's entities.h 2004-05-12 03:24:29 +00:00
Bill Currie
1e503e2b3d don't need csqc now 2004-04-06 20:21:53 +00:00
Bill Currie
f75528ced1 use the correct selector in clearMyRoute 2004-03-03 02:21:20 +00:00
Bill Currie
c045f27f43 bit manip cleanup 2004-02-08 05:11:49 +00:00
Bill Currie
d352e0529f fix for Array going from free to dealloc 2004-02-04 07:57:48 +00:00
Bill Currie
14bd241c8e fix some warnings 2004-01-31 08:24:03 +00:00
Bill Currie
bd4b8f5647 update for qfcc's --advanced 2004-01-21 21:24:37 +00:00
Bill Currie
508d7da410 check targets[0] before sending it messages 2003-09-18 22:34:30 +00:00
Bill Currie
8935fc4c84 bot_ai.qc bot_way.qc:
test classname `properly' (ie, with -classname)
bot_move.qc:
	re-implement the lost obstruction detection code in a way suitable for
	the new physics handling. Probably needs tuning.
bot_qw.qc libfrikbot.h:
	Break and itos for debugging
waypoint.r:
	implement -realorigin. oops. that caused how long a wild goose chase?
2003-09-04 07:44:47 +00:00
Bill Currie
8b784f2ede bot_qw.qc:
make all bots "lose" a player that disconnects
waypoint.r:
	make sure all waypoint data structs get initialized
2003-09-02 06:25:03 +00:00
Bill Currie
19fef1890c get -preThink called and call -AI at the right time. things slowly getting
better
2003-08-31 07:11:04 +00:00
Bill Currie
63c835333e add bot_add and bot_kick server console commands :) 2003-08-31 06:18:37 +00:00
Bill Currie
78e1059007 bot kicking now works 2003-08-25 05:12:41 +00:00
Bill Currie
1049ca1ac3 patch for gettinf frikbot into our qw :) 2003-08-25 01:19:09 +00:00
Bill Currie
a13dad4b08 can't get the bots to do any exploring, but oh well (probably because I
don't really grok waypoints yet)
2003-08-25 01:13:25 +00:00
Bill Currie
ae00d10d15 don't bother with the NIL first entry 2003-08-24 20:36:22 +00:00
Bill Currie
61f3d32eae get closer to working waypoints 2003-08-24 08:18:50 +00:00
Bill Currie
1c48b8a977 don't access Waypoint.b_sound directly (one less place to fix when I come
up with a better name:)
2003-08-24 07:27:44 +00:00
Bill Currie
b5e1597081 replace some missing {}s 2003-08-24 07:21:49 +00:00
Bill Currie
29f0c3bb6e mention self -> @self 2003-08-22 20:14:04 +00:00
Bill Currie
1408ef7253 update instructions for adding bot 2003-08-22 19:57:44 +00:00
Bill Currie
c0a7b045f4 kill some magic numbers 2003-08-22 19:49:40 +00:00
Bill Currie
53f32aa3b8 don't target self 2003-08-22 16:19:42 +00:00
Bill Currie
44929b99e3 move sendMove from Bot (Phys) to Bot (move) 2003-08-22 14:52:34 +00:00
Bill Currie
88df663ce7 make sisible more generic (still ick) and make lookForCrap look for
waypoints, too.
2003-08-22 06:56:31 +00:00
Bill Currie
f4f6e897b3 yay for type checking (I think). now the bots are /really/ screwed :( 2003-08-22 06:35:19 +00:00
Bill Currie
c45e996252 impulse fixes plus partial (doesn't compile) changes to priorityForThing 2003-08-22 00:37:36 +00:00
Bill Currie
66d1186651 bot finally moves around properly. still doesn't shoot, though :/ 2003-08-21 20:39:04 +00:00