]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/tools/midi2cfg-ng.conf
midi2cfg: support for VOCALS!
[xonotic/xonotic.git] / misc / tools / midi2cfg-ng.conf
1 raw set places_tuba "tUba1 tUba2 tUba3 tUba4 tUba5 tUba6 tUba7 tUba8 tUba9 tUba10 tUba11 tUba12 tUba13 tUba14 tUba15 tUba16 tUba17 tUba18 tUba19 tUba20 tUba21 tUba22 tUba23 tUba24 tUba25 tUba26 tUba27 tUba28 tUba29 tUba30 tUba31 tUba32"
2 raw set places_percussion "tChr1 tChr2 tChr3 tChr4 tChr5 tChr6 tChr7 tChr8 tChr9 tChr10 tChr11 tChr12 tChr13 tChr14 tChr15 tChr16 tChr17 tChr18 tChr19 tChr20 tChr21 tChr22 tChr23 tChr24 tChr25 tChr26 tChr27 tChr38 tChr39 tChr30 tChr31 tChr32"
3
4 bot tuba
5         channels 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16
6         init
7                 cmd barrier
8                 cmd selectweapon 15
9                 cmd wait 0.5
10                 cmd console "g_balance_tuba_attenuation 0.1"
11                 cmd console "g_balance_tuba_damage 0"
12         note on -18
13                 time 0
14                 buttons left backward crouch attack1
15                 time 0.05
16         note off -18
17                 time 0
18                 buttons 
19                 time 0.05
20         note on -17
21                 time 0
22                 buttons backward crouch attack1
23                 time 0.05
24         note off -17
25                 time 0
26                 buttons 
27                 time 0.05
28         note on -16
29                 time 0
30                 buttons right backward crouch attack1
31                 time 0.05
32         note off -16
33                 time 0
34                 buttons 
35                 time 0.05
36         note on -13
37                 time 0
38                 buttons forward right crouch attack1
39                 time 0.05
40         note off -13
41                 time 0
42                 buttons 
43                 time 0.05
44         note on -12
45                 time 0
46                 buttons crouch attack1
47                 time 0.05
48         note off -12
49                 time 0
50                 buttons 
51                 time 0.05
52         note on -11
53                 time 0
54                 buttons left backward crouch attack2
55                 time 0.05
56         note off -11
57                 time 0
58                 buttons 
59                 time 0.05
60         note on -10
61                 time 0
62                 buttons right crouch attack1
63                 time 0.05
64         note off -10
65                 time 0
66                 buttons 
67                 time 0.05
68         note on -9
69                 time 0
70                 buttons forward left crouch attack1
71                 time 0.05
72         note off -9
73                 time 0
74                 buttons 
75                 time 0.05
76         note on -8
77                 time 0
78                 buttons forward crouch attack1
79                 time 0.05
80         note off -8
81                 time 0
82                 buttons 
83                 time 0.05
84         note on -7
85                 time 0
86                 buttons left crouch attack1
87                 time 0.05
88         note off -7
89                 time 0
90                 buttons 
91                 time 0.05
92         note on -6
93                 time 0
94                 buttons left backward attack1
95                 time 0.05
96         note off -6
97                 time 0
98                 buttons 
99                 time 0.05
100         note on -5
101                 time 0
102                 buttons backward attack1
103                 time 0.05
104         note off -5
105                 time 0
106                 buttons 
107                 time 0.05
108         note on -4
109                 time 0
110                 buttons backward right attack1
111                 time 0.05
112         note off -4
113                 time 0
114                 buttons 
115                 time 0.05
116         note on -3
117                 time 0
118                 buttons right crouch attack2
119                 time 0.05
120         note off -3
121                 time 0
122                 buttons 
123                 time 0.05
124         note on -2
125                 time 0
126                 buttons forward left crouch attack2
127                 time 0.05
128         note off -2
129                 time 0
130                 buttons 
131                 time 0.05
132         note on -1
133                 time 0
134                 buttons forward right attack1
135                 time 0.05
136         note off -1
137                 time 0
138                 buttons 
139                 time 0.05
140         note on 0
141                 time 0
142                 buttons attack1
143                 time 0.05
144         note off 0
145                 time 0
146                 buttons 
147                 time 0.05
148         note on 1
149                 time 0
150                 buttons left backward attack2
151                 time 0.05
152         note off 1
153                 time 0
154                 buttons 
155                 time 0.05
156         note on 2
157                 time 0
158                 buttons right attack1
159                 time 0.05
160         note off 2
161                 time 0
162                 buttons 
163                 time 0.05
164         note on 3
165                 time 0
166                 buttons forward left attack1
167                 time 0.05
168         note off 3
169                 time 0
170                 buttons 
171                 time 0.05
172         note on 4
173                 time 0
174                 buttons forward attack1
175                 time 0.05
176         note off 4
177                 time 0
178                 buttons 
179                 time 0.05
180         note on 5
181                 time 0
182                 buttons left attack1
183                 time 0.05
184         note off 5
185                 time 0
186                 buttons 
187                 time 0.05
188         note on 6
189                 time 0
190                 buttons forward right attack2
191                 time 0.05
192         note off 6
193                 time 0
194                 buttons 
195                 time 0.05
196         note on 7
197                 time 0
198                 buttons attack2
199                 time 0.05
200         note off 7
201                 time 0
202                 buttons 
203                 time 0.05
204         note on 8
205                 time 0
206                 buttons backward right jump attack1
207                 time 0.05
208         note off 8
209                 time 0
210                 buttons 
211                 time 0.05
212         note on 9
213                 time 0
214                 buttons right attack2
215                 time 0.05
216         note off 9
217                 time 0
218                 buttons 
219                 time 0.05
220         note on 10
221                 time 0
222                 buttons forward left attack2
223                 time 0.05
224         note off 10
225                 time 0
226                 buttons 
227                 time 0.05
228         note on 11
229                 time 0
230                 buttons forward attack2
231                 time 0.05
232         note off 11
233                 time 0
234                 buttons 
235                 time 0.05
236         note on 12
237                 time 0
238                 buttons left attack2
239                 time 0.05
240         note off 12
241                 time 0
242                 buttons 
243                 time 0.05
244         note on 13
245                 time 0
246                 buttons left backward jump attack2
247                 time 0.05
248         note off 13
249                 time 0
250                 buttons 
251                 time 0.05
252         note on 14
253                 time 0
254                 buttons right jump attack1
255                 time 0.05
256         note off 14
257                 time 0
258                 buttons 
259                 time 0.05
260         note on 15
261                 time 0
262                 buttons forward left jump attack1
263                 time 0.05
264         note off 15
265                 time 0
266                 buttons 
267                 time 0.05
268         note on 16
269                 time 0
270                 buttons forward jump attack1
271                 time 0.05
272         note off 16
273                 time 0
274                 buttons 
275                 time 0.05
276         note on 17
277                 time 0
278                 buttons left jump attack1
279                 time 0.05
280         note off 17
281                 time 0
282                 buttons 
283                 time 0.05
284         note on 18
285                 time 0
286                 buttons forward right jump attack2
287                 time 0.05
288         note off 18
289                 time 0
290                 buttons 
291                 time 0.05
292         note on 19
293                 time 0
294                 buttons jump attack2
295                 time 0.05
296         note off 19
297                 time 0
298                 buttons 
299                 time 0.05
300         note on 21
301                 time 0
302                 buttons right jump attack2
303                 time 0.05
304         note off 21
305                 time 0
306                 buttons 
307                 time 0.05
308         note on 22
309                 time 0
310                 buttons forward left jump attack2
311                 time 0.05
312         note off 22
313                 time 0
314                 buttons 
315                 time 0.05
316         note on 23
317                 time 0
318                 buttons forward jump attack2
319                 time 0.05
320         note off 23
321                 time 0
322                 buttons 
323                 time 0.05
324         note on 24
325                 time 0
326                 buttons left jump attack2
327                 time 0.05
328         note off 24
329                 time 0
330                 buttons 
331                 time 0.05
332
333 bot tuba_red
334         include tuba
335         transpose 0
336         init
337                 cmd cc "color 68"
338                 super
339
340 bot tuba_blue
341         include tuba
342         transpose 3
343         init
344                 cmd cc "color 221"
345                 super
346
347 # laser = lasershot NONE
348 bot laser
349         channels 10
350         init
351                 cmd aimtarget "tPercussion 1"
352                 cmd barrier
353                 cmd selectweapon 1
354                 cmd wait 0.5
355         percussion 38 # 038_Snare_1-0.wav
356                 time 0
357                 buttons attack1
358                 time 0.05
359                 buttons
360                 time 0.1
361                 busy 0.7
362         percussion 40 # 040_Snare_2-0.wav
363                 percussion 38
364
365 # shotgun = RELOADSOUND slap
366 bot shotgun
367         channels 10
368         init
369                 cmd aimtarget "tPercussion 1"
370                 cmd barrier
371                 cmd selectweapon 2
372                 cmd wait 0.5
373         percussion 74 # 074_Guiro_2_Long-0.wav
374                 time -0.4
375                 buttons attack2
376                 time -0.35
377                 buttons
378                 time 0
379                 busy 0.7
380
381 # uzi = bullet BAD
382 bot uzi
383         channels 10
384         init
385                 cmd aimtarget "tPercussion 1"
386                 cmd barrier
387                 cmd selectweapon 3
388                 cmd wait 0.5
389                 raw set g_balance_uzi_reload_ammo 0
390         percussion 27 # 027_High_Q-0.wav
391                 time 0
392                 buttons attack1
393                 time 0.05
394                 buttons
395                 time 0.1
396                 busy 0.2
397         percussion 31 # 031_Sticks-0.wav
398                 percussion 27
399         percussion 37 # 037_Stick_Rim-0.wav
400                 percussion 27
401         percussion 33 # 033_Metronome_Click-0.wav
402                 percussion 27
403         percussion 39 # 039_Clap_Hand-0.wav
404                 percussion 27
405         percussion 53 # 053_Cymbal_Ride_Bell-0.wav
406                 percussion 27
407         percussion 54 # 054_Tombourine-0.wav
408                 percussion 27
409         percussion 36 # 036_Kick_2-0.wav
410                 percussion 27
411
412 # grenadelauncher = RELOADSOUND RELOADSOUND
413
414 # electro = beam BAD
415 bot electro
416         channels 10
417         init
418                 time -2
419                 cmd aimtarget "tPercussion 1"
420                 cmd barrier
421                 cmd selectweapon 6
422                 cmd wait 0.5
423         percussion 49 # 049_Cymbal_Crash_1-0.wav
424                 time 0
425                 buttons attack1
426                 time 0.05
427                 buttons
428                 time 0.1
429                 busy 0.6
430         percussion 57 # 057_Cymbal_Crash_2-0.wav
431                 percussion 49
432
433 # crylink = big small
434 bot crylink
435         channels 10
436         init
437                 cmd aimtarget "tPercussion 1"
438                 cmd barrier
439                 cmd selectweapon 7
440                 cmd wait 0.5
441         percussion 34 # 034_Metronome_Bell-0.wav
442                 time 0
443                 buttons attack1
444                 time 0.05
445                 buttons
446                 time 0.1
447                 busy 0.7
448         percussion 45 # 045_Tom_Mid_2-0.wav
449                 time 0
450                 buttons attack2
451                 time 0.05
452                 buttons
453                 time 0.1
454                 busy 0.2
455         percussion 47 # 047_Tom_Mid_1-0.wav
456                 percussion 45
457         percussion 48 # 048_Tom_High_2-0.wav
458                 percussion 34
459         percussion 50 # 048_Tom_High_2-0.wav
460                 percussion 34
461         percussion 56 # 056_Cow_Bell-0.wav
462                 percussion 34
463
464 # nex is nex NONE
465 bot nex
466         channels 10
467         init
468                 cmd aimtarget "tPercussion 1"
469                 cmd barrier
470                 cmd selectweapon 8
471                 cmd wait 0.5
472         percussion 52 # 052_Cymbal_Chinese-0.wav
473                 time 0
474                 buttons attack1
475                 time 0.05
476                 buttons
477                 time 0.1
478                 busy 1.25
479
480 # minstanex is nex CLONE_OF_LASER
481 bot minstanex
482         channels 10
483         init
484                 cmd aimtarget "tPercussion 1"
485                 cmd barrier
486                 cmd selectweapon 12
487                 cmd wait 0.5
488         percussion 55 # 055_Cymbal_Splash-0.wav
489                 time 0
490                 buttons attack1
491                 time 0.05
492                 buttons
493                 time 0.1
494                 busy 1
495
496 # hagar is rocket BAD
497 bot hagar
498         channels 10
499         init
500                 cmd aimtarget "tPercussion 1"
501                 cmd barrier
502                 cmd selectweapon 9
503                 cmd wait 0.5
504         percussion 35 # 035_Kick_1-0.wav
505                 time 0
506                 buttons attack1
507                 time 0.05
508                 buttons
509                 time 0.1
510                 busy 0.15
511         percussion 60 # 060_Bongo_High-0.wav
512                 percussion 35
513         percussion 61 # 061_Bongo_Low-0.wav
514                 percussion 35
515         percussion 65 # 065_Timbale_High-0.wav
516                 percussion 35
517         percussion 66 # 066_Timbale_Low-0.wav
518                 percussion 35
519
520 # TODO hookbomb would be useful for #60
521
522 # RL is rocket NONE
523 bot rocket
524         channels 10
525         init
526                 cmd aimtarget "tPercussion 1"
527                 cmd barrier
528                 cmd selectweapon 10
529                 cmd wait 0.5
530         percussion 25 # 025_Snare_Roll-0.wav
531                 time 0
532                 buttons attack2
533                 time 0.05
534                 buttons
535                 time 0.1
536                 busy 1.1
537
538 # hook is hook bomb
539 bot hook
540         channels 10
541         init
542                 time -2
543                 cmd aimtarget "tPercussion 1"
544                 cmd barrier
545                 cmd selectweapon 13
546                 cmd wait 0.5
547         percussion 62 # 062_Conga_High_1_Mute-0.wav
548                 time 0
549                 buttons attack1
550                 time 0.05
551                 buttons
552                 time 0.1
553                 busy 0.1
554         percussion 63 # 063_Conga_High_2_Open-0.wav
555                 percussion 62
556
557 # seeker is BADFLYSOUND tag
558 bot seeker
559         channels 10
560         init
561                 time -2
562                 cmd aimtarget "tPercussion 1"
563                 cmd barrier
564                 cmd selectweapon 18
565                 cmd wait 0.5
566         percussion 41 # 041_Tom_Low_2-0.wav
567                 time 0
568                 buttons attack2
569                 time 0.05
570                 buttons
571                 time 0.1
572                 busy 0.75
573         percussion 51 # 051_Cymbal_Ride_1-0.wav
574                 percussion 41
575         percussion 43 # 043_Tom_Low_1-0.wav
576                 percussion 41
577         percussion 59 # 059_Cymbal_Ride_2-0.wav
578                 percussion 41
579         percussion 46 # 046_Hi-Hat_Open-0.wav
580                 percussion 41
581
582 # rifle is hard soft
583 bot rifle
584         channels 10
585         init
586                 time -2
587                 cmd aimtarget "tPercussion 1"
588                 cmd barrier
589                 cmd selectweapon 16
590                 cmd wait 0.5
591 #       percussion FIXME
592 #               time 0
593 #               buttons attack1
594 #               time 0.05
595 #               buttons
596 #               time 0.1
597 #               busy 1.2
598         percussion 58 # 058_Vibra-Slap-0.wav
599                 time 0
600                 buttons attack2
601                 time 0.05
602                 buttons
603                 time 0.1
604                 busy 0.9
605
606 bot jetpack
607         init
608                 time -2
609                 cmd aimtarget "tPercussion 1"
610                 cmd barrier
611                 cmd console "g_jetpack_attenuation 0.5"
612                 cmd wait 0.5
613         percussion 42 # 042_Hi-Hat_Closed-0.wav
614                 time 0
615                 buttons hook
616                 time 0.067
617                 buttons
618                 time 0.1
619         percussion 32 # 032_Square_Click-0.wav
620                 percussion 42
621         percussion 44 # 044_Hi-Hat_Pedal-0.wav
622                 percussion 42
623         percussion 64 # 064_Conga_Low-0.wav
624                 percussion 42
625
626 bot vocals
627         init
628                 time -2
629                 cmd aimtarget "tPercussion 1"
630                 cmd barrier
631                 cmd wait 0.5
632         vocals
633                 time 0
634                 cmd sound %s
635                 buttons left
636                 time 0.06666
637                 buttons right
638                 time 0.13333
639                 buttons 
640
641 bot common
642         done
643                 cmd resetaim
644                 cmd aim "270 0"
645                 cmd wait 1
646                 barrier
647                 buttons crouch
648                 cmd wait 3
649                 buttons
650                 cmd wait 1
651                 barrier
652                 buttons use
653                 cmd cc "kill"
654                 cmd wait 900
655
656
657 # instantiate our bots!
658
659 bot instance_tuba_red
660         include tuba_red
661         include common
662         count 32
663         init
664                 cmd movetotarget @places_tuba
665                 cmd barrier
666                 super
667
668 bot instance_tuba_blue
669         include tuba_blue
670         include common
671         count 32
672         init
673                 cmd movetotarget @places_tuba
674                 cmd barrier
675                 super
676
677 bot instance_laser
678         include laser
679         include common
680         count 16
681         init
682                 cmd movetotarget @places_percussion
683                 cmd barrier
684                 super
685
686 bot instance_shotgun
687         include shotgun
688         include common
689         count 16
690         init
691                 cmd movetotarget @places_percussion
692                 cmd barrier
693                 super
694
695 bot instance_uzi
696         include uzi
697         include common
698         count 16
699         init
700                 cmd movetotarget @places_percussion
701                 cmd barrier
702                 super
703
704 bot instance_electro
705         include electro
706         include common
707         count 16
708         init
709                 cmd movetotarget @places_percussion
710                 cmd barrier
711                 super
712
713 bot instance_crylink
714         include crylink
715         include common
716         count 16
717         init
718                 cmd movetotarget @places_percussion
719                 cmd barrier
720                 super
721
722 bot instance_nex
723         include rocket
724         include common
725         count 16
726         init
727                 cmd movetotarget @places_percussion
728                 cmd barrier
729                 super
730
731 bot instance_minstanex
732         include rocket
733         include common
734         count 16
735         init
736                 cmd movetotarget @places_percussion
737                 cmd barrier
738                 super
739
740 bot instance_hagar
741         include hagar
742         include common
743         count 16
744         init
745                 cmd movetotarget @places_percussion
746                 cmd barrier
747                 super
748
749 bot instance_rocket
750         include rocket
751         include common
752         count 16
753         init
754                 cmd movetotarget @places_percussion
755                 cmd barrier
756                 super
757
758 bot instance_hook
759         include hook
760         include common
761         count 16
762         init
763                 cmd movetotarget @places_percussion
764                 cmd barrier
765                 super
766
767 bot instance_seeker
768         include seeker
769         include common
770         count 16
771         init
772                 cmd movetotarget @places_percussion
773                 cmd barrier
774                 super
775
776 bot instance_rifle
777         include rifle
778         include common
779         count 16
780         init
781                 cmd movetotarget @places_percussion
782                 cmd barrier
783                 super
784
785 bot instance_jetpack
786         include jetpack
787         include common
788         count 16
789         init
790                 cmd movetotarget @places_percussion
791                 cmd barrier
792                 super
793
794 bot instance_vocals
795         include vocals
796         include common
797         count 1
798         init
799                 cmd cc "playermodel models/player/suiseiseki.zym"
800                 cmd movetotarget @places_percussion
801                 cmd barrier
802                 super
803
804 # TODO jumping?