Debian Codegraph @

mp-pak0/botfiles/teamplay.h

raw
1 /*
2 ===========================================================================
3 Copyright (C) 2006 Dmn_clown (aka: Bob Isaac ([email protected]))
4
5 This file is part of Open Arena and is based upon Mr. Elusive's fuzzy logic
6 system found in Quake 3 Arena.
7
8 Open Arena is free software; you can redistribute it
9 and/or modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the License,
11 or (at your option) any later version.
12
13 Open Arena is distributed in the hope that it will be
14 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with Foobar; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 ===========================================================================
22 */
23
24 //the bot doesn't know who someone is
25 type "whois"
26 {
27 "Ok, so who is ", 0, "?";
28 "Who in their right mind uses the name ", 0, "?";
29 "Who in the hell is ", 0, "?";
30 "Is ", 0, " a friend of yours?";
31 "Who the bloodyhell is ",0," .";
32 0, "!?! Who dat?";
33 "How can I kill ", 0, " when I haven't the foggiest idea who ", 0, " is?";
34
35 }
36
37 //the bot doesn't know where someone is hanging out
38 type "whereis"
39 {
40 "So where is ", 0, "?";
41 "Ok, so where is", 0, ".";
42 "Would someone please tell me where ", 0, " is.";
43 " ", 0, " hanging out?";
44 "Where the hell is ", 0, "?";
45 "Since when am I ", 0, "'s keeper?";
46 }
47
48 //the bot asks where you are
49 type "whereareyou"
50 {
51 "Yo, where are you ", 0, "?";
52 "Hello!! ", 0, "Where are you hiding?";
53 "I can't find you ", 0, ". Where are you?";
54 "Where did you scuttle off to ", 0, "?";
55 "How am I supposed to find you, ", 0, "?";
56 }
57
58 //cannot find something
59 type "cannotfind"
60 {
61 "Where would that be ", 0, "?";
62 "Where the hell is a ", 0, "?";
63 "Where is a ", 0, " in this level?";
64 "Is there a, ", 0, " in this level? I sure can't find it, I must be blind.";
65 }
66
67 //bot tells where he/she is
68 type "location"
69 {
70 "By the ", 0," what are you blind?";
71 "I am at the ", 0;
72 }
73
74 //bot tells where he/she is and near which base
75 type "teamlocation"
76 {
77 "I'm near the ", 0, " in the ", 1, "base.";
78 "By the ", 0, " in the ", 1, " base.";
79 }
80
81 //start helping
82 type "help_start"
83 {
84 "I'm almost there, ", 0, ", coming to help.";
85 "Ok, I'm on my way,", 0,".";
86 "Keep 'em busy, ", 0," I'm on my way.";
87 }
88
89 //start accompanying
90 type "accompany_start"
91 {
92 "Consider me your shadow ", 0 ,".";
93 affirmative, "... what else have I got planned?";
94
95 }
96
97 //stop accompanying
98 type "accompany_stop"
99 {
100 "It's been real, but I'm off on my own, ", 0,".";
101 "I'm on my own now.";
102 "Good luck, I'm off on my own.";
103 }
104
105 //cannot find companion
106 type "accompany_cannotfind"
107 {
108 "Where the hell are you ", 0, "?";
109 "Where are you hiding ", 0, "?";
110 0, "... come out, come out wherever you are...";
111
112 }
113
114 //arrived at companion
115 type "accompany_arrive"
116 {
117 "At your disposal ", 0, ".";
118 "Finally, I've found ", 0, ".";
119 "Better late than never, eh?";
120
121 }
122 //bot decides to accompany flag or skull carrier
123 type "accompany_flagcarrier"
124 {
125 "I've got your back ", 0, ".";
126 "They'll have to get through me to get to you, ", 0, ".";
127 "Following.";
128
129 }
130
131 //start defending a key area
132 type "defend_start"
133 {
134 "I'll defend the ", 0, ".";
135 "I'm defending the ", 0, ".";
136
137 }
138
139 //stop defending a key area
140 type "defend_stop"
141 {
142 "That's it, I'll stop defending the ", 0, ".";
143 "I am not defending the ", 0, ".";
144 "I am not going to defend the ", 0, " anymore.";
145
146 }
147
148 //start getting an item
149 type "getitem_start"
150 {
151 "I'll get the ", 0, ".";
152 "I'm off to get the ", 0, ".";
153
154 }
155 //item is not there
156 type "getitem_notthere"
157 {
158 "the ", 0, " ain't there";
159 "The ", 0, " seems to be missing.";
160 "Where is the ", 0, "?";
161 }
162 //picked up the item
163 type "getitem_gotit"
164 {
165 "I got the ", 0, "!";
166 "The ", 0, " is mine!";
167
168 }
169
170 //go kill someone
171 type "kill_start"
172 {
173 "I'm going to kill ", 0,", wish me luck.";
174 0, " will be toast.";
175 0, " is a goner.";
176 0, " will be given a pair of cement shoes.";
177 "Ok";
178 "What ever you say";
179 "Finally some fun!";
180 }
181 //killed the person
182 type "kill_done"
183 {
184 "Well that was easy. ", 0, " is dead.";
185 0, " has been wacked.";
186 0, " was given cement shoes.";
187 0, " kicked the bucket.";
188 0, " was taken out.";
189 0, " just bought the farm.";
190 0, " is now just dust in the wind.";
191 }
192
193 //start camping
194 type "camp_start"
195 {
196 "That is a good sniping position.";
197 "Off to pitch my tent.";
198 "Sounds like a plan.";
199 }
200
201 //stop camping
202 type "camp_stop"
203 {
204 "Time to move on.";
205 "Sniping isn't so good here, moving on.";
206 }
207
208 //in camp position
209 type "camp_arrive" //0 = one that ordered the bot to camp
210 {
211 "I'm there. ", 0, ", time to snipe.";
212 "Tent pitched, sniping at will.";
213
214 }
215
216 //start patrolling
217 type "patrol_start" //0 = locations
218 {
219 "Patrolling ", 0, ".";
220
221 }
222
223 //stop patrolling
224 type "patrol_stop"
225 {
226 "The patrol is over, nothing to report.";
227 }
228
229 //start trying to capture the enemy flag
230 type "captureflag_start"
231 {
232 "Their flag will be ours.";
233 "Sounds like a plan.";
234 "I'm off to get the flag.";
235 "Enemy flag here I come.";
236
237 }
238
239 type "dd_start_pointa"
240 {
241 "I'll get right on that.";
242 "Sounds good, point A is mine!";
243 }
244
245 type "dd_start_pointb"
246 {
247 "I'll get right on that.";
248 "Sounds good, point B is mine!";
249 }
250
251 //return the flag
252 type "returnflag_start"
253 {
254 "I'll get our flag back.";
255 "I'll get the flag back.";
256 "I will return the flag.";
257
258 }
259
260 //attack enemy base
261 type "attackenemybase_start"
262 {
263 "Got it, their base is toast.";
264 "I'm off to destroy their base and frag a few fools.";
265 "Death to the infidels!";
266
267 }
268
269 //harvest
270 type "harvest_start"
271 {
272 "Death to the infidels! Their skulls will be mine!";
273 "Death to the infidels!";
274 "The infidels shall die!";
275 }
276
277 //the checkpoint is invalid
278 type "checkpoint_invalid"
279 {
280 "That checkpoint does not exist.";
281 "Quit fooling around, that is not a checkpoint.";
282 }
283
284 //confirm the checkpoint
285 type "checkpoint_confirm" //0 = name, 1 = gps
286 {
287 affirmative, " Yep ", 0, " at ", 1, " is there.";
288 "It looks like ", 0, " at ", 1, " is there.";
289 }
290
291 //follow me
292 type "followme"
293 {
294 "What the hell are you waiting for ", 0, "? Get over here!";
295 "Hey! ", 0, " follow me and be quick about it.";
296 }
297
298 //stop leading
299 type "lead_stop"
300 {
301 "That's it find someone else who wants the responsibility.";
302 "I refuse to lead anymore.";
303 "I do not want to lead anymore, find someone else.";
304 }
305
306 //the bot is helping someone
307 type "helping"
308 {
309 "I'm trying to help, ", 0, ".";
310 "Helping ", 0, ", care to join me?";
311 }
312
313 //the bot is accompanying someone
314 type "accompanying"
315 {
316 "I'm shadowing ", 0, ". Is that alright?";
317 "Following ", 0, ", trying not to get shot.";
318 }
319
320 //the bot is defending something
321 type "defending"
322 {
323 "I'm defending ", 0, ".";
324
325 }
326
327 //the bot is going for an item
328 type "gettingitem"
329 {
330 "I'm off to get the ", 0, ".";
331 "The ", 0, " is going to be mine.";
332 "Dibs on the ", 0, ".";
333 }
334
335 //trying to kill someone
336 type "killing"
337 {
338 "I've been trying to kill ", 0, ".";
339 "Trying to wack ", 0, ".";
340 }
341
342 //the bot is camping
343 type "camping"
344 {
345 "Toasting marshmallows and sniping scum.";
346 "Where I am supposed to be, camping.";
347 "Sniping, just like you told me.";
348 }
349
350 //the bot is patrolling
351 type "patrolling"
352 {
353 "On patrol, can't talk now.";
354 }
355
356 //the bot is capturing the flag
357 type "capturingflag"
358 {
359 "Gots to get the flag.";
360 }
361
362 //the bot is rushing to the base
363 type "rushingbase"
364 {
365 "Rushing to the base.";
366 }
367
368 //trying to return the flag
369 type "returningflag"
370 {
371 "Getting the flag back.";
372 }
373
374 type "attackingenemybase"
375 {
376 "I'm destroying their base! Care to help?";
377 "Wreaking havok in their base.";
378 }
379
380 type "harvesting"
381 {
382 "Collecting skulls, what are you doing?";
383 }
384
385 type "dd_pointa"
386 {
387 "Dominating point A, like I was told";
388 }
389
390 type "dd_pointb"
391 {
392 "Dominating point B, like I was told";
393 }
394
395 //the bot is just roaming a bit
396 type "roaming"
397 {
398 "Rambling around, fragging at whim.";
399 "Mindlessly roaming around, like I was told.";
400 "~Wacking fools piece-meal.";
401 }
402
403 type "wantoffence"
404 {
405 "Let me go on offense.";
406 "Can I be on offense?";
407
408 }
409
410 type "wantdefence"
411 {
412 "I think I can handle the big D.";
413 "Can I be on defense?";
414 }
415
416 //the bot will keep the team preference in mind
417 type "keepinmind"
418 {
419 "A'ight, ", 0," I'll keep it in mind.";
420
421 }
422
423 //==========================
424 // teamplay chats
425 //==========================
426 //team mate killed the bot
427 type "death_teammate"
428 {
429 "Same team, dumbass!";
430 "Hey ", 0," I'm on your team... idiot!";
431 "Why did you kill me?";
432 }
433 //killed by a team mate
434 type "kill_teammate"
435 {
436 "hehe... oops.";
437 "Sorry!";
438 "Oops, won't happen again.";
439 }
440
441 //==========================
442 // CTF useless chats
443 //==========================
444
445 //team mate got the enemy flag
446 type "ctf_gotflag"
447 {
448 "It's about time, ", 0, " now get that flag home!";
449 }
450 //team mate gets the enemy flag to the base
451 type "ctf_captureflag"
452 {
453 "Sweet, gj, ", 0, ".";
454 }
455 //team mate returns the base flag
456 type "ctf_returnflag"
457 {
458 "Nice assist, ", 0, ".";
459 } //end type
460 //team mate defends the base
461 type "ctf_defendbase"
462 {
463 "Nice D work there, ", 0, ".";
464 }
465 //team mate carrying the enemy flag dies
466 type "ctf_flagcarrierdeath"
467 {
468 "Go get our flag!";
469 }
470 //team mate kills enemy with base flag
471 type "ctf_flagcarrierkill"
472 {
473 "Yo, ", 0," get our flag now!";
474 }
475
476 //==========================
477 // NOTE: make sure these work with match.c
478 //==========================
479 //ask who the team leader is
480 type "whoisteamleader"
481 {
482 "Who's the leader of this rag-tag bunch?";
483 }
484
485 //I am the team leader
486 type "iamteamleader"
487 {
488 "I am the leader.";
489 "I shall lead.";
490 "I lead.";
491 }
492 //defend the base command
493 type "cmd_defendbase"
494 {
495 0, " defend our base.";
496 0, " set up some D.";
497 0, " you should defend our base.";
498 }
499 //get the enemy flag command
500 type "cmd_getflag"
501 {
502 "Yo, ", 0, " get the flag!";
503 0, " get their flag.";
504 0, " capture the other team's flag.";
505 }
506
507 //dominate point a
508 type "cmd_takea"
509 {
510 "Yo, ", 0, " dominate point A!";
511 0, " dominate pointe A";
512 }
513
514 type "cmd_takeb"
515 {
516 "Yo, ", 0, " dominate point B!";
517 0, " dominate pointe B";
518 }
519
520 //accompany someone command
521 type "cmd_accompany"
522 {
523 "Hey, ", 0, " shadow ", 1;
524 0, " follow ", 1, ", ", 1, " needs the help.";
525
526 }
527 //accompany me command
528 type "cmd_accompanyme"
529 {
530 0, " you should follow me.";
531 "Follow me please, ", 0, ".";
532 }
533 //attack enemy base command
534 type "cmd_attackenemybase"
535 {
536 0, " go after their base";
537 }
538 //return the flag command
539 type "cmd_returnflag"
540 {
541 0, " please return our flag!";
542 0, " get our flag back, ASAP!";
543 }
544 //go harvesting
545 type "cmd_harvest"
546 {
547 0, ", you should collect some skulls.";
548 }
549
550