]> icculus.org git repositories - divverent/nexuiz.git/blob - misc/tools/midi2cfg-ng.conf
make proper use of barriers now :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                 cmd barrier
5                 cmd selectweapon 16
6                 cmd wait 0.5
7                 cmd console "g_balance_tuba_attenuation 0.1"
8                 cmd console "g_balance_tuba_damage 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                 cmd cc "color 68"
375                 super 
376
377 bot tuba_blue
378         include tuba
379         transpose 3
380         init
381                 cmd cc "color 221"
382                 super 
383
384 bot rocket
385         channels 10
386         init
387                 cmd aimtarget "tPercussion 1"
388                 cmd barrier
389                 cmd selectweapon 9
390                 cmd wait 0.5
391         percussion 25
392                 time 0
393                 buttons attack2
394                 time 0.05
395                 buttons
396                 time 0.1
397                 busy 1.0
398
399 bot uzi
400         channels 10
401         init
402                 cmd aimtarget "tPercussion 1"
403                 cmd barrier
404                 cmd selectweapon 3
405                 cmd wait 0.5
406         percussion 27
407                 time 0
408                 buttons attack2
409                 time 0.05
410                 buttons
411                 time 0.1
412                 busy 0.2
413         percussion 33
414                 percussion 27
415         percussion 37
416                 percussion 27
417
418 bot crylink
419         channels 10
420         init
421                 cmd aimtarget "tPercussion 1"
422                 cmd barrier
423                 cmd selectweapon 6
424                 cmd wait 0.5
425         percussion 31
426                 time 0
427                 buttons attack2
428                 time 0.05
429                 buttons
430                 time 0.1
431                 busy 0.5
432         percussion 34
433                 percussion 31
434         percussion 42
435                 time 0
436                 buttons attack2
437                 time 0.05
438                 buttons
439                 time 0.1
440                 busy 0.4
441         percussion 44
442                 percussion 42
443         percussion 46
444                 percussion 42
445
446 bot jetpack
447         init
448                 cmd barrier
449                 cmd console "g_jetpack_attenuation 0.5"
450         percussion 42
451                 time 0
452                 buttons hook
453                 time 0.05
454                 buttons
455                 time 0.1
456         percussion 44
457                 percussion 42
458         percussion 46
459                 percussion 42
460
461 bot jump
462         init
463                 cmd barrier
464         percussion 42
465                 time -0.5
466                 buttons jump
467                 time -0.45
468                 buttons
469                 time 0
470         percussion 44
471                 percussion 42
472         percussion 46
473                 percussion 42
474
475 bot hagar
476         channels 10
477         init
478                 cmd aimtarget "tPercussion 1"
479                 cmd barrier
480                 cmd selectweapon 8
481                 cmd wait 0.5
482                 cmd console "g_balance_hagar_primary_lifetime 0.1"
483         percussion 35
484                 time 0
485                 buttons attack1
486                 time 0.05
487                 buttons
488                 time 0.1
489                 busy 0.15
490         percussion 38
491                 percussion 35
492         percussion 40
493                 percussion 35
494         percussion 60
495                 percussion 35
496         percussion 65
497                 percussion 35
498
499 bot tag
500         channels 10
501         init
502                 cmd aimtarget "tPercussion 1"
503                 cmd barrier
504                 cmd selectweapon 14
505                 cmd wait 0.5
506                 cmd console "g_balance_seeker_tag_lifetime 0.1"
507         percussion 36
508                 time 0
509                 buttons attack1
510                 time 0.05
511                 buttons
512                 time 0.1
513                 busy 0.7
514         percussion 61
515                 percussion 36
516         percussion 66
517                 percussion 36
518
519 bot laser
520         channels 10
521         init
522                 cmd aimtarget "tPercussion 1"
523                 cmd barrier
524                 cmd selectweapon 1
525                 cmd wait 0.5
526                 cmd console "g_balance_laser_primary_lifetime 0.2"
527         percussion 39
528                 time 0
529                 buttons attack1
530                 time 0.05
531                 buttons
532                 time 0.1
533                 busy 0.7
534
535 bot electro
536         channels 10
537         init
538                 time -2
539                 cmd aimtarget "tPercussion 1"
540                 cmd barrier
541                 cmd selectweapon 5
542                 cmd wait 0.5
543
544 bot hook
545         channels 10
546         init
547                 time -2
548                 cmd aimtarget "tPercussion 1"
549                 cmd barrier
550                 cmd selectweapon 12
551                 cmd wait 0.5
552         percussion 58
553                 time 0
554                 buttons attack1
555                 time 0.05
556                 buttons
557                 time 0.1
558                 busy 0
559
560 # instantiate our bots!
561
562 bot tuba1
563         include tuba_red
564         count 1
565         init
566                 cmd movetotarget tUba1
567                 cmd barrier
568                 super
569         done
570                 cmd movetotarget goaway
571
572 bot tuba2
573         include tuba_blue
574         count 1
575         init
576                 cmd movetotarget tUba2
577                 cmd barrier
578                 super
579         done
580                 cmd movetotarget goaway
581
582 bot tuba3
583         include tuba_red
584         count 1
585         init
586                 cmd movetotarget tUba3
587                 cmd barrier
588                 super
589         done
590                 cmd movetotarget goaway
591
592 bot tuba4
593         include tuba_red
594         count 1
595         init
596                 cmd movetotarget tUba4
597                 cmd barrier
598                 super
599         done
600                 cmd movetotarget goaway
601
602 # percussion bots:
603
604 bot chair11
605         include rocket
606         count 1
607         init
608                 cmd movetotarget tChr11
609                 cmd barrier
610                 super
611         done
612                 cmd movetotarget goaway
613
614 bot chair12
615         include electro
616         count 1
617         init
618                 cmd movetotarget tChr12
619                 cmd barrier
620                 super
621         done
622                 cmd movetotarget goaway
623
624 bot chair21
625         include uzi
626         count 1
627         init
628                 cmd movetotarget tChr21
629                 cmd barrier
630                 super
631         done
632                 cmd movetotarget goaway
633
634 bot chair22
635         include crylink
636         count 0
637         init
638                 cmd movetotarget tChr22
639                 cmd barrier
640                 super
641         done
642                 cmd movetotarget goaway
643
644 bot chair23
645         include crylink
646         count 0
647         init
648                 cmd movetotarget tChr22
649                 cmd barrier
650                 super
651         done
652                 cmd movetotarget goaway
653
654 bot chair23
655         include hagar
656         count 1
657         init
658                 cmd movetotarget tChr23
659                 cmd barrier
660                 super
661         done
662                 cmd movetotarget goaway
663
664 bot chair31
665         include tag
666         count 1
667         init
668                 cmd movetotarget tChr31
669                 cmd barrier
670                 super
671         done
672                 cmd movetotarget goaway
673
674 bot chair32
675         include tag
676         count 1
677         init
678                 cmd movetotarget tChr32
679                 cmd barrier
680                 super
681         done
682                 cmd movetotarget goaway
683
684 bot chair33
685         include laser
686         count 1
687         init
688                 cmd movetotarget tChr33
689                 cmd barrier
690                 super
691         done
692                 cmd movetotarget goaway
693
694 bot chair41
695         include hook
696         count 1
697         init
698                 cmd movetotarget tChr41
699                 cmd barrier
700                 super
701         done
702                 cmd movetotarget goaway
703
704 bot chair42
705         include jetpack
706         count 1
707         init
708                 cmd movetotarget tChr42
709                 cmd barrier
710                 super
711         done
712                 cmd movetotarget goaway
713
714 bot chair43
715         include jetpack
716         count 1
717         init
718                 cmd movetotarget tChr43
719                 cmd barrier
720                 super
721         done
722                 cmd movetotarget goaway
723
724 bot chair44
725         include jetpack
726         count 1
727         init
728                 cmd movetotarget tChr44
729                 cmd barrier
730                 super
731         done
732                 cmd movetotarget goaway