fix the bot script :P
[divverent/nexuiz.git] / misc / tools / midi2cfg-ng.conf
1 bot tuba
2         channels 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16
3         init
4                 time -2
5                 cmd selectweapon 16
6                 raw g_balance_tuba_attenuation 0.1
7                 raw g_balance_tuba_damage 0
8                 time 0
9         note on -18
10                 time -0.05
11                 buttons left backward crouch
12                 time 0
13                 buttons attack1 left backward crouch
14                 time 0.05
15                 buttons
16                 time 0.1
17                 busy 0.25
18         note on -17
19                 time -0.05
20                 buttons backward crouch
21                 time 0
22                 buttons attack1 backward crouch
23                 time 0.05
24                 buttons
25                 time 0.1
26                 busy 0.25
27         note on -16
28                 time -0.05
29                 buttons backward right crouch
30                 time 0
31                 buttons attack1 backward right crouch
32                 time 0.05
33                 buttons
34                 time 0.1
35                 busy 0.25
36         note on -13
37                 time -0.05
38                 buttons forward right crouch
39                 time 0
40                 buttons attack1 forward right crouch
41                 time 0.05
42                 buttons
43                 time 0.1
44                 busy 0.25
45         note on -12
46                 time -0.05
47                 buttons crouch
48                 time 0
49                 buttons attack1 crouch
50                 time 0.05
51                 buttons
52                 time 0.1
53                 busy 0.25
54         note on -11
55                 time -0.05
56                 buttons left backward crouch
57                 time 0
58                 buttons attack2 left backward crouch
59                 time 0.05
60                 buttons
61                 time 0.1
62                 busy 0.25
63         note on -10
64                 time -0.05
65                 buttons right crouch
66                 time 0
67                 buttons attack1 right crouch
68                 time 0.05
69                 buttons
70                 time 0.1
71                 busy 0.25
72         note on -9
73                 time -0.05
74                 buttons forward left crouch
75                 time 0
76                 buttons attack1 forward left crouch
77                 time 0.05
78                 buttons
79                 time 0.1
80                 busy 0.25
81         note on -8
82                 time -0.05
83                 buttons forward crouch
84                 time 0
85                 buttons attack1 forward crouch
86                 time 0.05
87                 buttons
88                 time 0.1
89                 busy 0.25
90         note on -7
91                 time -0.05
92                 buttons left crouch
93                 time 0
94                 buttons attack1 left crouch
95                 time 0.05
96                 buttons
97                 time 0.1
98                 busy 0.25
99         note on -6
100                 time -0.05
101                 buttons left backward
102                 time 0
103                 buttons attack1 left backward
104                 time 0.05
105                 buttons
106                 time 0.1
107                 busy 0.25
108         note on -5
109                 time -0.05
110                 buttons backward
111                 time 0
112                 buttons attack1 backward
113                 time 0.05
114                 buttons
115                 time 0.1
116                 busy 0.25
117         note on -4
118                 time -0.05
119                 buttons backward right
120                 time 0
121                 buttons attack1 backward right
122                 time 0.05
123                 buttons
124                 time 0.1
125                 busy 0.25
126         note on -3
127                 time -0.05
128                 buttons right crouch
129                 time 0
130                 buttons attack2 right crouch
131                 time 0.05
132                 buttons
133                 time 0.1
134                 busy 0.25
135         note on -2
136                 time -0.05
137                 buttons forward left crouch
138                 time 0
139                 buttons attack2 forward left crouch
140                 time 0.05
141                 buttons
142                 time 0.1
143                 busy 0.25
144         note on -1
145                 time -0.05
146                 buttons forward left
147                 time 0
148                 buttons attack1 forward left
149                 time 0.05
150                 buttons
151                 time 0.1
152                 busy 0.25
153         note on 0
154                 time -0.05
155                 buttons
156                 time 0
157                 buttons attack1
158                 time 0.05
159                 buttons
160                 time 0.1
161                 busy 0.25
162         note on 1
163                 time -0.05
164                 buttons left backward
165                 time 0
166                 buttons attack2 left backward
167                 time 0.05
168                 buttons
169                 time 0.1
170                 busy 0.25
171         note on 2
172                 time -0.05
173                 buttons right
174                 time 0
175                 buttons attack1 right
176                 time 0.05
177                 buttons
178                 time 0.1
179                 busy 0.25
180         note on 3
181                 time -0.05
182                 buttons forward left
183                 time 0
184                 buttons attack1 forward left
185                 time 0.05
186                 buttons
187                 time 0.1
188                 busy 0.25
189         note on 4
190                 time -0.05
191                 buttons forward
192                 time 0
193                 buttons attack1 forward
194                 time 0.05
195                 buttons
196                 time 0.1
197                 busy 0.25
198         note on 5
199                 time -0.05
200                 buttons left
201                 time 0
202                 buttons attack1 left
203                 time 0.05
204                 buttons
205                 time 0.1
206                 busy 0.25
207         note on 6
208                 time -0.05
209                 buttons forward right
210                 time 0
211                 buttons attack2 forward right
212                 time 0.05
213                 buttons
214                 time 0.1
215                 busy 0.25
216         note on 7
217                 time -0.05
218                 buttons
219                 time 0
220                 buttons attack2
221                 time 0.05
222                 buttons
223                 time 0.1
224                 busy 0.25
225         note on 8
226                 time -0.05
227                 buttons backward right jump
228                 time 0
229                 buttons attack1 backward right jump
230                 time 0.05
231                 buttons
232                 time 0.1
233                 busy 0.25
234         note on 9
235                 time -0.05
236                 buttons right
237                 time 0
238                 buttons attack2 right
239                 time 0.05
240                 buttons
241                 time 0.1
242                 busy 0.25
243         note on 10
244                 time -0.05
245                 buttons forward left
246                 time 0
247                 buttons attack2 forward left
248                 time 0.05
249                 buttons
250                 time 0.1
251                 busy 0.25
252         note on 11
253                 time -0.05
254                 buttons forward
255                 time 0
256                 buttons attack2 forward
257                 time 0.05
258                 buttons
259                 time 0.1
260                 busy 0.25
261         note on 12
262                 time -0.05
263                 buttons left
264                 time 0
265                 buttons attack2 left
266                 time 0.05
267                 buttons
268                 time 0.1
269                 busy 0.25
270         note on 13
271                 time -0.05
272                 buttons left backward jump
273                 time 0
274                 buttons attack2 left backward jump
275                 time 0.05
276                 buttons
277                 time 0.1
278                 busy 0.25
279         note on 14
280                 time -0.05
281                 buttons right jump
282                 time 0
283                 buttons attack1 right jump
284                 time 0.05
285                 buttons
286                 time 0.1
287                 busy 0.25
288         note on 15
289                 time -0.05
290                 buttons forward left jump
291                 time 0
292                 buttons attack1 forward left jump
293                 time 0.05
294                 buttons
295                 time 0.1
296                 busy 0.25
297         note on 16
298                 time -0.05
299                 buttons forward jump
300                 time 0
301                 buttons attack1 forward jump
302                 time 0.05
303                 buttons
304                 time 0.1
305                 busy 0.25
306         note on 17
307                 time -0.05
308                 buttons left jump
309                 time 0
310                 buttons attack1 left jump
311                 time 0.05
312                 buttons
313                 time 0.1
314                 busy 0.25
315         note on 18
316                 time -0.05
317                 buttons forward right jump
318                 time 0
319                 buttons attack2 forward right jump
320                 time 0.05
321                 buttons
322                 time 0.1
323                 busy 0.25
324         note on 19
325                 time -0.05
326                 buttons jump
327                 time 0
328                 buttons attack2 jump
329                 time 0.05
330                 buttons
331                 time 0.1
332                 busy 0.25
333         note on 21
334                 time -0.05
335                 buttons right jump
336                 time 0
337                 buttons attack2 right jump
338                 time 0.05
339                 buttons
340                 time 0.1
341                 busy 0.25
342         note on 22
343                 time -0.05
344                 buttons forward left jump
345                 time 0
346                 buttons attack2 forward left jump
347                 time 0.05
348                 buttons
349                 time 0.1
350                 busy 0.25
351         note on 23
352                 time -0.05
353                 buttons forward jump
354                 time 0
355                 buttons attack2 forward jump
356                 time 0.05
357                 buttons
358                 time 0.1
359                 busy 0.25
360         note on 24
361                 time -0.05
362                 buttons left jump
363                 time 0
364                 buttons attack2 left jump
365                 time 0.05
366                 buttons
367                 time 0.1
368                 busy 0.25
369
370 bot tuba_red
371         include tuba
372         transpose 0
373         init
374                 time -4
375                 cmd cc "color 68"
376                 super 
377
378 bot tuba_blue
379         include tuba
380         transpose 3
381         init
382                 time -4
383                 cmd cc "color 221"
384                 super 
385
386 bot rocket
387         channels 10
388         init
389                 time -2
390                 cmd aimtarget "tPercussion 1"
391                 cmd selectweapon 9
392                 time 0
393         percussion 25
394                 time 0
395                 buttons attack2
396                 time 0.05
397                 buttons
398                 time 0.1
399                 busy 1.0
400
401 bot uzi
402         channels 10
403         init
404                 time -2
405                 cmd aimtarget "tPercussion 1"
406                 cmd selectweapon 3
407                 time 0
408         percussion 27
409                 time 0
410                 buttons attack2
411                 time 0.05
412                 buttons
413                 time 0.1
414                 busy 0.2
415         percussion 33
416                 percussion 27
417         percussion 37
418                 percussion 27
419
420 bot crylink
421         channels 10
422         init
423                 time -2
424                 cmd aimtarget "tPercussion 1"
425                 cmd selectweapon 6
426                 time 0
427         percussion 31
428                 time 0
429                 buttons attack2
430                 time 0.05
431                 buttons
432                 time 0.1
433                 busy 0.5
434         percussion 34
435                 percussion 31
436         percussion 42
437                 time 0
438                 buttons attack2
439                 time 0.05
440                 buttons
441                 time 0.1
442                 busy 0.4
443         percussion 44
444                 percussion 42
445         percussion 46
446                 percussion 42
447
448 bot jetpack
449         percussion 42
450                 time 0
451                 buttons hook
452                 time 0.05
453                 buttons
454                 time 0.1
455         percussion 44
456                 percussion 42
457         percussion 46
458                 percussion 42
459
460 bot jump
461         percussion 42
462                 time -0.5
463                 buttons jump
464                 time -0.45
465                 buttons
466                 time 0
467         percussion 44
468                 percussion 42
469         percussion 46
470                 percussion 42
471
472 bot hagar
473         channels 10
474         init
475                 time -2
476                 cmd aimtarget "tPercussion 1"
477                 cmd selectweapon 8
478                 raw g_balance_hagar_primary_lifetime 0.1
479                 time 0
480         percussion 35
481                 time 0
482                 buttons attack1
483                 time 0.05
484                 buttons
485                 time 0.1
486                 busy 0.15
487         percussion 38
488                 percussion 35
489         percussion 40
490                 percussion 35
491         percussion 60
492                 percussion 35
493         percussion 65
494                 percussion 35
495
496 bot tag
497         channels 10
498         init
499                 time -2
500                 cmd aimtarget "tPercussion 1"
501                 cmd selectweapon 14
502                 raw g_balance_seeker_tag_lifetime 0.1
503                 time 0
504         percussion 36
505                 time 0
506                 buttons attack1
507                 time 0.05
508                 buttons
509                 time 0.1
510                 busy 0.7
511         percussion 61
512                 percussion 36
513         percussion 66
514                 percussion 36
515
516 bot laser
517         channels 10
518         init
519                 time -2
520                 cmd aimtarget "tPercussion 1"
521                 cmd selectweapon 1
522                 raw g_balance_laser_primary_lifetime 0.2
523                 time 0
524         percussion 39
525                 time 0
526                 buttons attack1
527                 time 0.05
528                 buttons
529                 time 0.1
530                 busy 0.7
531
532 bot electro
533         channels 10
534         init
535                 time -2
536                 cmd aimtarget "tPercussion 1"
537                 cmd selectweapon 5
538                 time 0
539
540 bot hook
541         channels 10
542         init
543                 time -2
544                 cmd aimtarget "tPercussion 1"
545                 cmd selectweapon 12
546                 time 0
547         percussion 58
548                 time 0
549                 buttons attack1
550                 time 0.05
551                 buttons
552                 time 0.1
553                 busy 0
554
555 # instantiate our bots!
556
557 bot tuba1
558         include tuba_red
559         count 1
560         init
561                 time -15
562                 cmd movetotarget tUba1
563                 super
564         done
565                 cmd movetotarget goaway
566
567 bot tuba2
568         include tuba_blue
569         count 1
570         init
571                 time -15
572                 cmd movetotarget tUba2
573                 super
574         done
575                 cmd movetotarget goaway
576
577 bot tuba3
578         include tuba_red
579         count 1
580         init
581                 time -15
582                 cmd movetotarget tUba3
583                 super
584         done
585                 cmd movetotarget goaway
586
587 bot tuba4
588         include tuba_red
589         count 1
590         init
591                 time -15
592                 cmd movetotarget tUba4
593                 super
594         done
595                 cmd movetotarget goaway
596
597 # percussion bots:
598
599 bot chair11
600         include rocket
601         count 1
602         init
603                 time -15
604                 cmd movetotarget tChr11
605                 super
606         done
607                 cmd movetotarget goaway
608
609 bot chair12
610         include electro
611         count 1
612         init
613                 time -15
614                 cmd movetotarget tChr12
615                 super
616         done
617                 cmd movetotarget goaway
618
619 bot chair21
620         include uzi
621         count 1
622         init
623                 time -15
624                 cmd movetotarget tChr21
625                 super
626         done
627                 cmd movetotarget goaway
628
629 bot chair22
630         include crylink
631         count 0
632         init
633                 time -15
634                 cmd movetotarget tChr22
635                 super
636         done
637                 cmd movetotarget goaway
638
639 bot chair23
640         include crylink
641         count 0
642         init
643                 time -15
644                 cmd movetotarget tChr22
645                 super
646         done
647                 cmd movetotarget goaway
648
649 bot chair23
650         include hagar
651         count 1
652         init
653                 time -15
654                 cmd movetotarget tChr23
655                 super
656         done
657                 cmd movetotarget goaway
658
659 bot chair31
660         include tag
661         count 1
662         init
663                 time -15
664                 cmd movetotarget tChr31
665                 super
666         done
667                 cmd movetotarget goaway
668
669 bot chair32
670         include tag
671         count 1
672         init
673                 time -15
674                 cmd movetotarget tChr32
675                 super
676         done
677                 cmd movetotarget goaway
678
679 bot chair33
680         include laser
681         count 1
682         init
683                 time -15
684                 cmd movetotarget tChr33
685                 super
686         done
687                 cmd movetotarget goaway
688
689 bot chair41
690         include hook
691         count 1
692         init
693                 time -15
694                 cmd movetotarget tChr41
695                 super
696         done
697                 cmd movetotarget goaway
698
699 bot chair42
700         include jetpack
701         count 1
702         init
703                 time -15
704                 cmd movetotarget tChr42
705                 super
706         done
707                 cmd movetotarget goaway
708
709 bot chair43
710         include jetpack
711         count 1
712         init
713                 time -15
714                 cmd movetotarget tChr43
715                 super
716         done
717                 cmd movetotarget goaway
718
719 bot chair44
720         include jetpack
721         count 1
722         init
723                 time -15
724                 cmd movetotarget tChr44
725                 super
726         done
727                 cmd movetotarget goaway