]> icculus.org git repositories - divverent/nexuiz.git/blob - misc/tools/midi2cfg-ng.conf
fix some barrier and note stuff
[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 right
147                 time 0
148                 buttons attack1 forward right
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         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                 cmd console "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         percussion 39
526                 time 0
527                 buttons attack1
528                 time 0.05
529                 buttons
530                 time 0.1
531                 busy 0.7
532
533 bot electro
534         channels 10
535         init
536                 time -2
537                 cmd aimtarget "tPercussion 1"
538                 cmd barrier
539                 cmd selectweapon 5
540                 cmd wait 0.5
541         percussion 49
542                 time 0
543                 buttons attack1
544                 time 0.05
545                 buttons
546                 time 0.1
547                 busy 0.6
548
549 bot hook
550         channels 10
551         init
552                 time -2
553                 cmd aimtarget "tPercussion 1"
554                 cmd barrier
555                 cmd selectweapon 12
556                 cmd wait 0.5
557         percussion 58
558                 time 0
559                 buttons attack1
560                 time 0.05
561                 buttons
562                 time 0.1
563                 busy 0
564
565 # instantiate our bots!
566
567 bot tuba1
568         include tuba_red
569         count 1
570         init
571                 cmd movetotarget tUba1
572                 cmd barrier
573                 super
574         done
575                 cmd movetotarget goaway
576
577 bot tuba2
578         include tuba_blue
579         count 1
580         init
581                 cmd movetotarget tUba2
582                 cmd barrier
583                 super
584         done
585                 cmd movetotarget goaway
586
587 bot tuba3
588         include tuba_red
589         count 1
590         init
591                 cmd movetotarget tUba3
592                 cmd barrier
593                 super
594         done
595                 cmd movetotarget goaway
596
597 bot tuba4
598         include tuba_blue
599         count 1
600         init
601                 cmd movetotarget tUba4
602                 cmd barrier
603                 super
604         done
605                 cmd movetotarget goaway
606
607 bot tuba5
608         include tuba_red
609         count 1
610         init
611                 cmd movetotarget tUba5
612                 cmd barrier
613                 super
614         done
615                 cmd movetotarget goaway
616
617 bot tuba6
618         include tuba_blue
619         count 1
620         init
621                 cmd movetotarget tUba6
622                 cmd barrier
623                 super
624         done
625                 cmd movetotarget goaway
626
627 bot tuba7
628         include tuba_red
629         count 1
630         init
631                 cmd movetotarget tUba7
632                 cmd barrier
633                 super
634         done
635                 cmd movetotarget goaway
636
637 bot tuba8
638         include tuba_blue
639         count 1
640         init
641                 cmd movetotarget tUba8
642                 cmd barrier
643                 super
644         done
645                 cmd movetotarget goaway
646
647 bot tuba9
648         include tuba_red
649         count 1
650         init
651                 cmd movetotarget tUba9
652                 cmd barrier
653                 super
654         done
655                 cmd movetotarget goaway
656
657 bot tuba10
658         include tuba_blue
659         count 1
660         init
661                 cmd movetotarget tUba10
662                 cmd barrier
663                 super
664         done
665                 cmd movetotarget goaway
666
667 bot tuba11
668         include tuba_red
669         count 1
670         init
671                 cmd movetotarget tUba11
672                 cmd barrier
673                 super
674         done
675                 cmd movetotarget goaway
676
677 bot tuba12
678         include tuba_blue
679         count 1
680         init
681                 cmd movetotarget tUba12
682                 cmd barrier
683                 super
684         done
685                 cmd movetotarget goaway
686
687 bot tuba13
688         include tuba_red
689         count 1
690         init
691                 cmd movetotarget tUba13
692                 cmd barrier
693                 super
694         done
695                 cmd movetotarget goaway
696
697 bot tuba14
698         include tuba_blue
699         count 1
700         init
701                 cmd movetotarget tUba14
702                 cmd barrier
703                 super
704         done
705                 cmd movetotarget goaway
706
707 bot tuba15
708         include tuba_red
709         count 1
710         init
711                 cmd movetotarget tUba15
712                 cmd barrier
713                 super
714         done
715                 cmd movetotarget goaway
716
717 bot tuba16
718         include tuba_blue
719         count 1
720         init
721                 cmd movetotarget tUba16
722                 cmd barrier
723                 super
724         done
725                 cmd movetotarget goaway
726
727 # percussion bots:
728
729 bot chair11
730         include rocket
731         count 1
732         init
733                 cmd movetotarget tChr11
734                 cmd barrier
735                 super
736         done
737                 cmd movetotarget goaway
738
739 bot chair12
740         include electro
741         count 1
742         init
743                 cmd movetotarget tChr12
744                 cmd barrier
745                 super
746         done
747                 cmd movetotarget goaway
748
749 bot chair21
750         include uzi
751         count 1
752         init
753                 cmd movetotarget tChr21
754                 cmd barrier
755                 super
756         done
757                 cmd movetotarget goaway
758
759 bot chair22
760         include crylink
761         count 0
762         init
763                 cmd movetotarget tChr22
764                 cmd barrier
765                 super
766         done
767                 cmd movetotarget goaway
768
769 bot chair23
770         include crylink
771         count 0
772         init
773                 cmd movetotarget tChr22
774                 cmd barrier
775                 super
776         done
777                 cmd movetotarget goaway
778
779 bot chair23
780         include hagar
781         count 1
782         init
783                 cmd movetotarget tChr23
784                 cmd barrier
785                 super
786         done
787                 cmd movetotarget goaway
788
789 bot chair31
790         include tag
791         count 1
792         init
793                 cmd movetotarget tChr31
794                 cmd barrier
795                 super
796         done
797                 cmd movetotarget goaway
798
799 bot chair32
800         include tag
801         count 1
802         init
803                 cmd movetotarget tChr32
804                 cmd barrier
805                 super
806         done
807                 cmd movetotarget goaway
808
809 bot chair33
810         include laser
811         count 1
812         init
813                 cmd movetotarget tChr33
814                 cmd barrier
815                 super
816         done
817                 cmd movetotarget goaway
818
819 bot chair41
820         include hook
821         count 1
822         init
823                 cmd movetotarget tChr41
824                 cmd barrier
825                 super
826         done
827                 cmd movetotarget goaway
828
829 bot chair42
830         include jetpack
831         count 1
832         init
833                 cmd movetotarget tChr42
834                 cmd barrier
835                 super
836         done
837                 cmd movetotarget goaway
838
839 bot chair43
840         include jetpack
841         count 1
842         init
843                 cmd movetotarget tChr43
844                 cmd barrier
845                 super
846         done
847                 cmd movetotarget goaway
848
849 bot chair44
850         include jetpack
851         count 1
852         init
853                 cmd movetotarget tChr44
854                 cmd barrier
855                 super
856         done
857                 cmd movetotarget goaway