]> icculus.org git repositories - divverent/nexuiz.git/blob - misc/tools/midi2cfg-ng.conf
midi2cfg: use barriers
[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                 raw g_balance_tuba_attenuation 0.1
8                 raw 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         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         init
462                 cmd barrier
463         percussion 42
464                 time -0.5
465                 buttons jump
466                 time -0.45
467                 buttons
468                 time 0
469         percussion 44
470                 percussion 42
471         percussion 46
472                 percussion 42
473
474 bot hagar
475         channels 10
476         init
477                 cmd aimtarget "tPercussion 1"
478                 cmd barrier
479                 cmd selectweapon 8
480                 cmd wait 0.5
481                 raw g_balance_hagar_primary_lifetime 0.1
482         percussion 35
483                 time 0
484                 buttons attack1
485                 time 0.05
486                 buttons
487                 time 0.1
488                 busy 0.15
489         percussion 38
490                 percussion 35
491         percussion 40
492                 percussion 35
493         percussion 60
494                 percussion 35
495         percussion 65
496                 percussion 35
497
498 bot tag
499         channels 10
500         init
501                 cmd aimtarget "tPercussion 1"
502                 cmd barrier
503                 cmd selectweapon 14
504                 cmd wait 0.5
505                 raw g_balance_seeker_tag_lifetime 0.1
506         percussion 36
507                 time 0
508                 buttons attack1
509                 time 0.05
510                 buttons
511                 time 0.1
512                 busy 0.7
513         percussion 61
514                 percussion 36
515         percussion 66
516                 percussion 36
517
518 bot laser
519         channels 10
520         init
521                 cmd aimtarget "tPercussion 1"
522                 cmd barrier
523                 cmd selectweapon 1
524                 cmd wait 0.5
525                 raw g_balance_laser_primary_lifetime 0.2
526         percussion 39
527                 time 0
528                 buttons attack1
529                 time 0.05
530                 buttons
531                 time 0.1
532                 busy 0.7
533
534 bot electro
535         channels 10
536         init
537                 time -2
538                 cmd aimtarget "tPercussion 1"
539                 cmd barrier
540                 cmd selectweapon 5
541                 cmd wait 0.5
542
543 bot hook
544         channels 10
545         init
546                 time -2
547                 cmd aimtarget "tPercussion 1"
548                 cmd barrier
549                 cmd selectweapon 12
550                 cmd wait 0.5
551         percussion 58
552                 time 0
553                 buttons attack1
554                 time 0.05
555                 buttons
556                 time 0.1
557                 busy 0
558
559 # instantiate our bots!
560
561 bot tuba1
562         include tuba_red
563         count 1
564         init
565                 cmd movetotarget tUba1
566                 cmd barrier
567                 super
568         done
569                 cmd movetotarget goaway
570
571 bot tuba2
572         include tuba_blue
573         count 1
574         init
575                 cmd movetotarget tUba2
576                 cmd barrier
577                 super
578         done
579                 cmd movetotarget goaway
580
581 bot tuba3
582         include tuba_red
583         count 1
584         init
585                 cmd movetotarget tUba3
586                 cmd barrier
587                 super
588         done
589                 cmd movetotarget goaway
590
591 bot tuba4
592         include tuba_red
593         count 1
594         init
595                 cmd movetotarget tUba4
596                 cmd barrier
597                 super
598         done
599                 cmd movetotarget goaway
600
601 # percussion bots:
602
603 bot chair11
604         include rocket
605         count 1
606         init
607                 cmd movetotarget tChr11
608                 cmd barrier
609                 super
610         done
611                 cmd movetotarget goaway
612
613 bot chair12
614         include electro
615         count 1
616         init
617                 cmd movetotarget tChr12
618                 cmd barrier
619                 super
620         done
621                 cmd movetotarget goaway
622
623 bot chair21
624         include uzi
625         count 1
626         init
627                 cmd movetotarget tChr21
628                 cmd barrier
629                 super
630         done
631                 cmd movetotarget goaway
632
633 bot chair22
634         include crylink
635         count 0
636         init
637                 cmd movetotarget tChr22
638                 cmd barrier
639                 super
640         done
641                 cmd movetotarget goaway
642
643 bot chair23
644         include crylink
645         count 0
646         init
647                 cmd movetotarget tChr22
648                 cmd barrier
649                 super
650         done
651                 cmd movetotarget goaway
652
653 bot chair23
654         include hagar
655         count 1
656         init
657                 cmd movetotarget tChr23
658                 cmd barrier
659                 super
660         done
661                 cmd movetotarget goaway
662
663 bot chair31
664         include tag
665         count 1
666         init
667                 cmd movetotarget tChr31
668                 cmd barrier
669                 super
670         done
671                 cmd movetotarget goaway
672
673 bot chair32
674         include tag
675         count 1
676         init
677                 cmd movetotarget tChr32
678                 cmd barrier
679                 super
680         done
681                 cmd movetotarget goaway
682
683 bot chair33
684         include laser
685         count 1
686         init
687                 cmd movetotarget tChr33
688                 cmd barrier
689                 super
690         done
691                 cmd movetotarget goaway
692
693 bot chair41
694         include hook
695         count 1
696         init
697                 cmd movetotarget tChr41
698                 cmd barrier
699                 super
700         done
701                 cmd movetotarget goaway
702
703 bot chair42
704         include jetpack
705         count 1
706         init
707                 cmd movetotarget tChr42
708                 cmd barrier
709                 super
710         done
711                 cmd movetotarget goaway
712
713 bot chair43
714         include jetpack
715         count 1
716         init
717                 cmd movetotarget tChr43
718                 cmd barrier
719                 super
720         done
721                 cmd movetotarget goaway
722
723 bot chair44
724         include jetpack
725         count 1
726         init
727                 cmd movetotarget tChr44
728                 cmd barrier
729                 super
730         done
731                 cmd movetotarget goaway