Commit graph

100 commits

Author SHA1 Message Date
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
Bill Currie
947f50de48 use |= instead of = for keys 2003-08-21 04:57:25 +00:00
Bill Currie
1f0d73a45e fix button usage and use the new SV_Spawn function 2003-08-21 03:53:15 +00:00
Bill Currie
f5c5b2a9a2 make a 1:1 mapping for entities that get targeted and Targets 2003-08-20 23:25:16 +00:00
Bill Currie
e33e7a73c1 remove some no longer needed definitions/declarations 2003-08-18 22:57:18 +00:00
Bill Currie
e281e43e53 rename methods so _ isn't in their names 2003-08-18 16:48:53 +00:00
Bill Currie
17ca25a64a can get a bot added to the server, but the server crashes as soon as the
bot sees the player (treating entity as an object: oops)
2003-08-18 06:30:05 +00:00
Bill Currie
f298e0e8e6 CL_KeyMove got replaced by -sendMove 2003-08-17 23:12:25 +00:00
Bill Currie
3b77c09310 more work. get there eventually 2003-08-01 05:25:07 +00:00
Bill Currie
d4b5b87334 more spells of dispell magic getting cast 2003-07-31 18:36:19 +00:00
Bill Currie
27409dc710 split out Target implementation and kill a bunch of magic numbers 2003-07-31 16:57:01 +00:00
Bill Currie
e1d70fa840 more "self" cleanup 2003-07-30 16:53:57 +00:00
Bill Currie
34f4aaa1c7 split out and objectize chat code 2003-07-30 16:45:28 +00:00
Bill Currie
71b886d231 split out the waypoint implementation 2003-07-29 20:28:18 +00:00
Bill Currie
6046c21ea1 more general fixes 2003-07-29 20:27:41 +00:00
Bill Currie
58bd3a5a6d use @self instead of self 2003-07-29 20:09:30 +00:00
Bill Currie
0704ef5a9c update for recent changes to Object 2003-07-29 19:55:41 +00:00
Bill Currie
e78a511261 d'oh 2003-07-29 19:45:03 +00:00