]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/tools/midi2cfg-ng.conf
more fixes for midi2cfg-ng
[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                 raw settemp g_balance_laser_primary_refire 0.3
356         percussion 38 # 038_Snare_1-0.wav
357                 time 0
358                 buttons attack1
359                 time 0.05
360                 buttons
361                 time 0.1
362                 busy 0.3
363         percussion 40 # 040_Snare_2-0.wav
364                 percussion 38
365
366 # shotgun = RELOADSOUND slap
367 bot shotgun
368         channels 10
369         init
370                 cmd aimtarget "tPercussion 1"
371                 cmd barrier
372                 cmd selectweapon 2
373                 cmd wait 0.5
374         percussion 74 # 074_Guiro_2_Long-0.wav
375                 time -0.4
376                 buttons attack2
377                 time -0.35
378                 buttons
379                 time 0
380                 busy 0.7
381
382 # uzi = bullet BAD
383 bot uzi
384         channels 10
385         init
386                 cmd aimtarget "tPercussion 1"
387                 cmd barrier
388                 cmd selectweapon 3
389                 cmd wait 0.5
390                 raw settemp g_balance_uzi_reload_ammo 0
391                 raw settemp g_balance_uzi_first_refire 0.2
392                 raw settemp g_balance_uzi_sustained_refire 0.2
393         percussion 27 # 027_High_Q-0.wav
394                 time 0
395                 buttons attack1
396                 time 0.05
397                 buttons
398                 time 0.1
399                 busy 0.2
400         percussion 31 # 031_Sticks-0.wav
401                 percussion 27
402         percussion 37 # 037_Stick_Rim-0.wav
403                 percussion 27
404         percussion 33 # 033_Metronome_Click-0.wav
405                 percussion 27
406         percussion 39 # 039_Clap_Hand-0.wav
407                 percussion 27
408         percussion 53 # 053_Cymbal_Ride_Bell-0.wav
409                 percussion 27
410         percussion 54 # 054_Tombourine-0.wav
411                 percussion 27
412         percussion 36 # 036_Kick_2-0.wav
413                 percussion 27
414
415 # grenadelauncher = RELOADSOUND RELOADSOUND
416
417 # electro = beam BAD
418 bot electro
419         channels 10
420         init
421                 time -2
422                 cmd aimtarget "tPercussion 1"
423                 cmd barrier
424                 cmd selectweapon 6
425                 cmd wait 0.5
426                 raw settemp g_balance_electro_primary_refire 0.2
427         percussion 49 # 049_Cymbal_Crash_1-0.wav
428                 time 0
429                 buttons attack1
430                 time 0.05
431                 buttons
432                 time 0.1
433                 busy 0.2
434         percussion 57 # 057_Cymbal_Crash_2-0.wav
435                 percussion 49
436
437 # crylink = big small
438 bot crylink
439         channels 10
440         init
441                 cmd aimtarget "tPercussion 1"
442                 cmd barrier
443                 cmd selectweapon 7
444                 cmd wait 0.5
445                 raw settemp g_balance_crylink_primary_refire 0.3
446                 raw settemp g_balance_crylink_secondary_refire 0.2
447         percussion 34 # 034_Metronome_Bell-0.wav
448                 time 0
449                 buttons attack1
450                 time 0.05
451                 buttons
452                 time 0.1
453                 busy 0.3
454         percussion 45 # 045_Tom_Mid_2-0.wav
455                 time 0
456                 buttons attack2
457                 time 0.05
458                 buttons
459                 time 0.1
460                 busy 0.2
461         percussion 47 # 047_Tom_Mid_1-0.wav
462                 percussion 45
463         percussion 48 # 048_Tom_High_2-0.wav
464                 percussion 34
465         percussion 50 # 048_Tom_High_2-0.wav
466                 percussion 34
467         percussion 56 # 056_Cow_Bell-0.wav
468                 percussion 34
469
470 # nex is nex NONE
471 bot nex
472         channels 10
473         init
474                 cmd aimtarget "tPercussion 1"
475                 cmd barrier
476                 cmd selectweapon 8
477                 cmd wait 0.5
478                 raw settemp g_balance_nex_primary_refire 1.25
479         percussion 52 # 052_Cymbal_Chinese-0.wav
480                 time 0
481                 buttons attack1
482                 time 0.05
483                 buttons
484                 time 0.1
485                 busy 1.25
486
487 # minstanex is nex CLONE_OF_LASER
488 bot minstanex
489         channels 10
490         init
491                 cmd aimtarget "tPercussion 1"
492                 cmd barrier
493                 cmd selectweapon 12
494                 cmd wait 0.5
495                 raw settemp g_balance_minstanex_refire 1
496         percussion 55 # 055_Cymbal_Splash-0.wav
497                 time 0
498                 buttons attack1
499                 time 0.05
500                 buttons
501                 time 0.1
502                 busy 1
503
504 # hagar is rocket BAD
505 bot hagar
506         channels 10
507         init
508                 cmd aimtarget "tPercussion 1"
509                 cmd barrier
510                 cmd selectweapon 9
511                 cmd wait 0.5
512                 raw settemp g_balance_hagar_primary_refire 0.2
513         percussion 35 # 035_Kick_1-0.wav
514                 time 0
515                 buttons attack1
516                 time 0.05
517                 buttons
518                 time 0.1
519                 busy 0.2
520         percussion 60 # 060_Bongo_High-0.wav
521                 percussion 35
522         percussion 61 # 061_Bongo_Low-0.wav
523                 percussion 35
524         percussion 65 # 065_Timbale_High-0.wav
525                 percussion 35
526         percussion 66 # 066_Timbale_Low-0.wav
527                 percussion 35
528
529 # TODO hookbomb would be useful for #60
530
531 # RL is rocket NONE
532 bot rocket
533         channels 10
534         init
535                 cmd aimtarget "tPercussion 1"
536                 cmd barrier
537                 cmd selectweapon 10
538                 cmd wait 0.5
539                 raw settemp g_balance_rocketlauncher_refire 1.1
540         percussion 25 # 025_Snare_Roll-0.wav
541                 time 0
542                 buttons attack2
543                 time 0.05
544                 buttons
545                 time 0.1
546                 busy 1.1
547
548 # hook is hook bomb
549 bot hook
550         channels 10
551         init
552                 time -2
553                 cmd aimtarget "tPercussion 1"
554                 cmd barrier
555                 cmd selectweapon 13
556                 cmd wait 0.5
557                 raw settemp g_balance_hook_primary_refire 0.3
558         percussion 62 # 062_Conga_High_1_Mute-0.wav
559                 time 0
560                 buttons attack1
561                 time 0.05
562                 buttons
563                 time 0.1
564                 busy 0.3
565         percussion 63 # 063_Conga_High_2_Open-0.wav
566                 percussion 62
567
568 # seeker is BADFLYSOUND tag
569 bot seeker
570         channels 10
571         init
572                 time -2
573                 cmd aimtarget "tPercussion 1"
574                 cmd barrier
575                 cmd selectweapon 18
576                 cmd wait 0.5
577                 raw settemp g_balance_seeker_tag_refire 0.2
578         percussion 41 # 041_Tom_Low_2-0.wav
579                 time 0
580                 buttons attack2
581                 time 0.05
582                 buttons
583                 time 0.1
584                 busy 0.2
585         percussion 51 # 051_Cymbal_Ride_1-0.wav
586                 percussion 41
587         percussion 43 # 043_Tom_Low_1-0.wav
588                 percussion 41
589         percussion 59 # 059_Cymbal_Ride_2-0.wav
590                 percussion 41
591         percussion 46 # 046_Hi-Hat_Open-0.wav
592                 percussion 41
593
594 # rifle is hard soft
595 bot rifle
596         channels 10
597         init
598                 time -2
599                 cmd aimtarget "tPercussion 1"
600                 cmd barrier
601                 cmd selectweapon 16
602                 cmd wait 0.5
603 #       percussion FIXME
604 #               time 0
605 #               buttons attack1
606 #               time 0.05
607 #               buttons
608 #               time 0.1
609 #               busy 1.2
610         percussion 58 # 058_Vibra-Slap-0.wav
611                 time 0
612                 buttons attack2
613                 time 0.05
614                 buttons
615                 time 0.1
616                 busy 0.9
617
618 bot jetpack
619         init
620                 time -2
621                 cmd aimtarget "tPercussion 1"
622                 cmd barrier
623                 cmd console "g_jetpack_attenuation 0.5"
624                 cmd wait 0.5
625         percussion 42 # 042_Hi-Hat_Closed-0.wav
626                 time 0
627                 buttons hook
628                 time 0.067
629                 buttons
630                 time 0.1
631         percussion 32 # 032_Square_Click-0.wav
632                 percussion 42
633         percussion 44 # 044_Hi-Hat_Pedal-0.wav
634                 percussion 42
635         percussion 64 # 064_Conga_Low-0.wav
636                 percussion 42
637
638 bot vocals
639         init
640                 time -2
641                 cmd aimtarget "tPercussion 1"
642                 cmd barrier
643                 cmd wait 0.5
644         vocals
645                 time 0
646                 cmd sound %s
647                 buttons left
648                 time 0.06666
649                 buttons right
650                 time 0.13333
651                 buttons 
652
653 bot common
654         done
655                 cmd resetaim
656                 cmd aim "270 0"
657                 cmd wait 1
658                 barrier
659                 buttons crouch
660                 cmd wait 3
661                 buttons
662                 cmd wait 1
663                 barrier
664                 buttons use
665                 cmd cc "kill"
666                 cmd wait 900
667
668
669 # instantiate our bots!
670
671 bot instance_tuba_red
672         include tuba_red
673         include common
674         count 32
675         init
676                 cmd movetotarget @places_tuba
677                 cmd barrier
678                 super
679
680 bot instance_tuba_blue
681         include tuba_blue
682         include common
683         count 32
684         init
685                 cmd movetotarget @places_tuba
686                 cmd barrier
687                 super
688
689 bot instance_laser
690         include laser
691         include common
692         count 16
693         init
694                 cmd movetotarget @places_percussion
695                 cmd barrier
696                 super
697
698 bot instance_shotgun
699         include shotgun
700         include common
701         count 16
702         init
703                 cmd movetotarget @places_percussion
704                 cmd barrier
705                 super
706
707 bot instance_uzi
708         include uzi
709         include common
710         count 16
711         init
712                 cmd movetotarget @places_percussion
713                 cmd barrier
714                 super
715
716 bot instance_electro
717         include electro
718         include common
719         count 16
720         init
721                 cmd movetotarget @places_percussion
722                 cmd barrier
723                 super
724
725 bot instance_crylink
726         include crylink
727         include common
728         count 16
729         init
730                 cmd movetotarget @places_percussion
731                 cmd barrier
732                 super
733
734 bot instance_nex
735         include rocket
736         include common
737         count 16
738         init
739                 cmd movetotarget @places_percussion
740                 cmd barrier
741                 super
742
743 bot instance_minstanex
744         include rocket
745         include common
746         count 16
747         init
748                 cmd movetotarget @places_percussion
749                 cmd barrier
750                 super
751
752 bot instance_hagar
753         include hagar
754         include common
755         count 16
756         init
757                 cmd movetotarget @places_percussion
758                 cmd barrier
759                 super
760
761 bot instance_rocket
762         include rocket
763         include common
764         count 16
765         init
766                 cmd movetotarget @places_percussion
767                 cmd barrier
768                 super
769
770 bot instance_hook
771         include hook
772         include common
773         count 16
774         init
775                 cmd movetotarget @places_percussion
776                 cmd barrier
777                 super
778
779 bot instance_seeker
780         include seeker
781         include common
782         count 16
783         init
784                 cmd movetotarget @places_percussion
785                 cmd barrier
786                 super
787
788 bot instance_rifle
789         include rifle
790         include common
791         count 16
792         init
793                 cmd movetotarget @places_percussion
794                 cmd barrier
795                 super
796
797 bot instance_jetpack
798         include jetpack
799         include common
800         count 16
801         init
802                 cmd movetotarget @places_percussion
803                 cmd barrier
804                 super
805
806 bot instance_vocals
807         include vocals
808         include common
809         count 1
810         init
811                 cmd cc "playermodel models/player/suiseiseki.zym"
812                 cmd movetotarget @places_percussion
813                 cmd barrier
814                 super
815
816 # TODO jumping?