]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/tools/midi2cfg-ng-percussionpack.conf
ignore data
[xonotic/xonotic.git] / misc / tools / midi2cfg-ng-percussionpack.conf
1 raw set places_tuba "tUba"
2 raw set places_percussion "tChr"
3 raw set places_end "end1 end2 end3 end4 end5 end6 end7 end8 end9 end10 end11 end12 end13 end14 end15 end16 end17 end24 end25 end26 end27 end28 end29 end30 end31 end32 end33 end34 end35 end36 end37 end38 end39 end40 end41 end42 end43 end44 end45 end46 end47 end48 end49 end50 end51 end52 end53 end54 end55 end56 end57 end58 end59 end60 end61 end62 end63"
4
5 bot tuba
6         channels 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16
7         init
8                 cmd barrier
9                 cmd selectweapon 14
10                 cmd wait 0.5
11                 cmd console "g_balance_tuba_attenuation 0.1"
12                 cmd console "g_balance_tuba_damage 0"
13         note on -18
14                 time 0
15                 buttons left backward crouch attack1
16                 time 0.05
17         note off -18
18                 time 0
19                 buttons 
20                 time 0.05
21         note on -17
22                 time 0
23                 buttons backward crouch attack1
24                 time 0.05
25         note off -17
26                 time 0
27                 buttons 
28                 time 0.05
29         note on -16
30                 time 0
31                 buttons right backward crouch attack1
32                 time 0.05
33         note off -16
34                 time 0
35                 buttons 
36                 time 0.05
37         note on -13
38                 time 0
39                 buttons forward right crouch attack1
40                 time 0.05
41         note off -13
42                 time 0
43                 buttons 
44                 time 0.05
45         note on -12
46                 time 0
47                 buttons crouch attack1
48                 time 0.05
49         note off -12
50                 time 0
51                 buttons 
52                 time 0.05
53         note on -11
54                 time 0
55                 buttons left backward crouch attack2
56                 time 0.05
57         note off -11
58                 time 0
59                 buttons 
60                 time 0.05
61         note on -10
62                 time 0
63                 buttons right crouch attack1
64                 time 0.05
65         note off -10
66                 time 0
67                 buttons 
68                 time 0.05
69         note on -9
70                 time 0
71                 buttons forward left crouch attack1
72                 time 0.05
73         note off -9
74                 time 0
75                 buttons 
76                 time 0.05
77         note on -8
78                 time 0
79                 buttons forward crouch attack1
80                 time 0.05
81         note off -8
82                 time 0
83                 buttons 
84                 time 0.05
85         note on -7
86                 time 0
87                 buttons left crouch attack1
88                 time 0.05
89         note off -7
90                 time 0
91                 buttons 
92                 time 0.05
93         note on -6
94                 time 0
95                 buttons left backward attack1
96                 time 0.05
97         note off -6
98                 time 0
99                 buttons 
100                 time 0.05
101         note on -5
102                 time 0
103                 buttons backward attack1
104                 time 0.05
105         note off -5
106                 time 0
107                 buttons 
108                 time 0.05
109         note on -4
110                 time 0
111                 buttons backward right attack1
112                 time 0.05
113         note off -4
114                 time 0
115                 buttons 
116                 time 0.05
117         note on -3
118                 time 0
119                 buttons right crouch attack2
120                 time 0.05
121         note off -3
122                 time 0
123                 buttons 
124                 time 0.05
125         note on -2
126                 time 0
127                 buttons forward left crouch attack2
128                 time 0.05
129         note off -2
130                 time 0
131                 buttons 
132                 time 0.05
133         note on -1
134                 time 0
135                 buttons forward right attack1
136                 time 0.05
137         note off -1
138                 time 0
139                 buttons 
140                 time 0.05
141         note on 0
142                 time 0
143                 buttons attack1
144                 time 0.05
145         note off 0
146                 time 0
147                 buttons 
148                 time 0.05
149         note on 1
150                 time 0
151                 buttons left backward attack2
152                 time 0.05
153         note off 1
154                 time 0
155                 buttons 
156                 time 0.05
157         note on 2
158                 time 0
159                 buttons right attack1
160                 time 0.05
161         note off 2
162                 time 0
163                 buttons 
164                 time 0.05
165         note on 3
166                 time 0
167                 buttons forward left attack1
168                 time 0.05
169         note off 3
170                 time 0
171                 buttons 
172                 time 0.05
173         note on 4
174                 time 0
175                 buttons forward attack1
176                 time 0.05
177         note off 4
178                 time 0
179                 buttons 
180                 time 0.05
181         note on 5
182                 time 0
183                 buttons left attack1
184                 time 0.05
185         note off 5
186                 time 0
187                 buttons 
188                 time 0.05
189         note on 6
190                 time 0
191                 buttons forward right attack2
192                 time 0.05
193         note off 6
194                 time 0
195                 buttons 
196                 time 0.05
197         note on 7
198                 time 0
199                 buttons attack2
200                 time 0.05
201         note off 7
202                 time 0
203                 buttons 
204                 time 0.05
205         note on 8
206                 time 0
207                 buttons backward right jump attack1
208                 time 0.05
209         note off 8
210                 time 0
211                 buttons 
212                 time 0.05
213         note on 9
214                 time 0
215                 buttons right attack2
216                 time 0.05
217         note off 9
218                 time 0
219                 buttons 
220                 time 0.05
221         note on 10
222                 time 0
223                 buttons forward left attack2
224                 time 0.05
225         note off 10
226                 time 0
227                 buttons 
228                 time 0.05
229         note on 11
230                 time 0
231                 buttons forward attack2
232                 time 0.05
233         note off 11
234                 time 0
235                 buttons 
236                 time 0.05
237         note on 12
238                 time 0
239                 buttons left attack2
240                 time 0.05
241         note off 12
242                 time 0
243                 buttons 
244                 time 0.05
245         note on 13
246                 time 0
247                 buttons left backward jump attack2
248                 time 0.05
249         note off 13
250                 time 0
251                 buttons 
252                 time 0.05
253         note on 14
254                 time 0
255                 buttons right jump attack1
256                 time 0.05
257         note off 14
258                 time 0
259                 buttons 
260                 time 0.05
261         note on 15
262                 time 0
263                 buttons forward left jump attack1
264                 time 0.05
265         note off 15
266                 time 0
267                 buttons 
268                 time 0.05
269         note on 16
270                 time 0
271                 buttons forward jump attack1
272                 time 0.05
273         note off 16
274                 time 0
275                 buttons 
276                 time 0.05
277         note on 17
278                 time 0
279                 buttons left jump attack1
280                 time 0.05
281         note off 17
282                 time 0
283                 buttons 
284                 time 0.05
285         note on 18
286                 time 0
287                 buttons forward right jump attack2
288                 time 0.05
289         note off 18
290                 time 0
291                 buttons 
292                 time 0.05
293         note on 19
294                 time 0
295                 buttons jump attack2
296                 time 0.05
297         note off 19
298                 time 0
299                 buttons 
300                 time 0.05
301         note on 21
302                 time 0
303                 buttons right jump attack2
304                 time 0.05
305         note off 21
306                 time 0
307                 buttons 
308                 time 0.05
309         note on 22
310                 time 0
311                 buttons forward left jump attack2
312                 time 0.05
313         note off 22
314                 time 0
315                 buttons 
316                 time 0.05
317         note on 23
318                 time 0
319                 buttons forward jump attack2
320                 time 0.05
321         note off 23
322                 time 0
323                 buttons 
324                 time 0.05
325         note on 24
326                 time 0
327                 buttons left jump attack2
328                 time 0.05
329         note off 24
330                 time 0
331                 buttons 
332                 time 0.05
333
334 bot tuba_red
335         include tuba
336         transpose 0
337         init
338                 cmd cc "color 68"
339                 super
340
341 bot tuba_blue
342         include tuba
343         transpose 3
344         init
345                 cmd cc "color 221"
346                 super
347
348 bot rocket
349         channels 10
350         init
351                 cmd aimtarget "tPercussion 1"
352                 cmd barrier
353                 cmd selectweapon 9
354                 cmd wait 0.5
355         percussion 25
356                 time 0
357                 buttons attack2
358                 time 0.05
359                 buttons
360                 time 0.1
361                 busy 1.0
362
363 bot uzi
364         channels 10
365         init
366                 cmd aimtarget "tPercussion 1"
367                 cmd barrier
368                 cmd selectweapon 3
369                 cmd wait 0.5
370         percussion 33
371                 time 0
372                 buttons attack2
373                 time 0.05
374                 buttons
375                 time 0.1
376                 busy 0.2
377
378 bot crylink
379         channels 10
380         init
381                 cmd aimtarget "tPercussion 1"
382                 cmd barrier
383                 cmd selectweapon 6
384                 cmd wait 0.5
385         percussion 46
386                 time 0
387                 buttons attack2
388                 time 0.05
389                 buttons
390                 time 0.1
391                 busy 0.5
392         percussion 42
393                 time 0
394                 buttons attack1
395                 time 0.05
396                 buttons
397                 time 0.1
398                 busy 0.4
399
400 bot jetpack
401         init
402                 cmd resetaim
403                 cmd barrier
404                 cmd console "g_jetpack_attenuation 0.5"
405         percussion 44
406                 time 0
407                 buttons hook
408                 time 0.05
409                 buttons
410                 time 0.1
411
412 bot jump
413         init
414                 cmd resetaim
415                 cmd barrier
416         percussion 36
417                 time -0.5
418                 buttons jump
419                 time -0.45
420                 buttons
421                 time 0
422         percussion 37
423                 time 0
424                 cmd impulse 10
425                 busy 0.3
426
427 bot hagar
428         channels 10
429         init
430                 cmd aimtarget "tPercussion 1"
431                 cmd barrier
432                 cmd selectweapon 8
433                 cmd wait 0.5
434         percussion 38
435                 time 0
436                 buttons attack1
437                 time 0.05
438                 buttons
439                 time 0.1
440                 busy 0.15
441
442 bot laser
443         channels 10
444         init
445                 cmd aimtarget "tPercussion 1"
446                 cmd barrier
447                 cmd selectweapon 1
448                 cmd wait 0.5
449         percussion 39
450                 time 0
451                 buttons attack1
452                 time 0.05
453                 buttons
454                 time 0.1
455                 busy 0.7
456
457 bot electro
458         channels 10
459         init
460                 time -2
461                 cmd aimtarget "tPercussion 1"
462                 cmd barrier
463                 cmd selectweapon 5
464                 cmd wait 0.5
465         percussion 49
466                 time 0
467                 buttons attack1
468                 time 0.05
469                 buttons
470                 time 0.1
471                 busy 0.6
472         percussion 57
473                 percussion 49
474         percussion 40
475                 time 0
476                 buttons attack2
477                 time 0.05
478                 buttons
479                 time 0.1
480                 busy 0.6
481
482 bot hook
483         channels 10
484         init
485                 time -2
486                 cmd aimtarget "tPercussion 1"
487                 cmd barrier
488                 cmd selectweapon 12
489                 cmd wait 0.5
490         percussion 58
491                 time 0
492                 buttons attack1
493                 time 0.05
494                 buttons
495                 time 0.1
496                 busy 0
497         percussion 55
498                 time 0
499                 buttons attack2
500                 time 0.05
501                 buttons
502                 time 0.1
503                 busy 3
504
505 bot rifle
506         channels 10
507         init
508                 cmd console settemp g_balance_campingrifle_magazinecapacity 0
509                 cmd aimtarget "tPercussion 1"
510                 cmd barrier
511                 cmd selectweapon 15
512                 cmd wait 0.5
513         percussion 65
514                 time 0
515                 buttons attack1
516                 time 0.05
517                 buttons
518                 time 0.1
519                 busy 0.8
520         percussion 66
521                 time 0
522                 buttons attack2
523                 time 0.05
524                 buttons
525                 time 0.1
526                 busy 0.15
527
528 bot fireball
529         init
530                 cmd aimtarget "tPercussion 1"
531                 cmd barrier
532                 cmd selectweapon 16
533                 cmd wait 0.5
534         percussion 52
535                 time 0
536                 buttons attack1
537                 time 0.05
538                 buttons
539                 time 0.1
540                 busy 1.5
541         percussion 72
542                 time 0
543                 buttons attack2
544                 time 0.05
545                 buttons
546                 time 0.1
547                 busy 2
548
549 bot mortar
550         init
551                 cmd aimtarget "tPercussion 1"
552                 cmd barrier
553                 cmd selectweapon 4
554                 cmd wait 0.5
555         percussion 35
556                 time 0
557                 buttons attack1
558                 time 0.05
559                 buttons
560                 time 0.1
561                 busy 0.8
562
563 bot minstanex
564         init
565                 cmd aimtarget "tPercussion 1"
566                 cmd barrier
567                 cmd selectweapon 11
568                 cmd wait 0.5
569         percussion 53
570                 time 0
571                 buttons attack1
572                 time 0.05
573                 buttons
574                 time 0.1
575                 busy 1
576
577 bot nex
578         init
579                 cmd aimtarget "tPercussion 1"
580                 cmd barrier
581                 cmd selectweapon 7
582                 cmd wait 0.5
583         percussion 51
584                 time 0
585                 buttons attack1
586                 time 0.05
587                 buttons
588                 time 0.1
589                 busy 1.5
590
591 bot shotgun
592         init
593                 cmd aimtarget "tPercussion 1"
594                 cmd barrier
595                 cmd selectweapon 2
596                 cmd wait 0.5
597         percussion 59
598                 time 0
599                 buttons attack1
600                 time 0.05
601                 buttons
602                 time 0.1
603                 busy 0.5
604
605 bot porto
606         init
607                 cmd aimtarget "tPercussion 1"
608                 cmd barrier
609                 cmd selectweapon 10
610                 cmd wait 0.5
611         percussion 59
612                 time 0
613                 buttons attack1
614                 time 0.05
615                 buttons
616                 time 0.1
617                 busy 1.5
618
619 # instantiate our bots!
620
621 bot tuba_movetoplace
622         init
623                 cmd movetotarget @places_tuba
624                 cmd barrier
625         done
626                 cmd movetotarget @places_end
627                 cmd resetaim
628                 cmd aim "90 0"
629                 cmd wait 1
630                 barrier
631                 buttons crouch
632                 cmd wait 3
633                 buttons
634                 cmd wait 1
635                 barrier
636                 cmd console settemp bot_navigation_ignoreplayers 1
637                 cmd movetotarget start
638
639 bot percussion_movetoplace
640         init
641                 cmd movetotarget @places_percussion
642                 cmd barrier
643         done
644                 cmd movetotarget @places_end
645                 cmd resetaim
646                 cmd aim "90 0"
647                 cmd wait 1
648                 barrier
649                 buttons crouch
650                 cmd wait 3
651                 buttons
652                 cmd wait 1
653                 barrier
654                 cmd console settemp bot_navigation_ignoreplayers 1
655                 cmd movetotarget start
656
657 bot instance_tuba_red
658         include tuba_movetoplace
659         include tuba_red
660         count 32
661
662 bot instance_tuba_blue
663         include tuba_movetoplace
664         include tuba_blue
665         count 32
666
667 bot instance_rocket
668         include percussion_movetoplace
669         include rocket
670         count 4
671
672 bot instance_uzi
673         include percussion_movetoplace
674         include uzi
675         count 4
676
677 bot instance_crylink
678         include percussion_movetoplace
679         include crylink
680         count 4
681
682 bot instance_jetpack
683         include percussion_movetoplace
684         include jetpack
685         count 4
686
687 bot instance_jump
688         include percussion_movetoplace
689         include jump
690         count 4
691
692 bot instance_hagar
693         include percussion_movetoplace
694         include hagar
695         count 8
696
697 bot instance_tag
698         include percussion_movetoplace
699         include tag
700         count 8
701
702 bot instance_laser
703         include percussion_movetoplace
704         include laser
705         count 8
706
707 bot instance_electro
708         include percussion_movetoplace
709         include electro
710         count 4
711
712 bot instance_hook
713         include percussion_movetoplace
714         include hook
715         count 4
716
717 bot instance_rifle
718         include percussion_movetoplace
719         include rifle
720         count 4
721
722 bot instance_fireball
723         include percussion_movetoplace
724         include fireball
725         count 4
726
727 bot instance_mortar
728         include percussion_movetoplace
729         include mortar
730         count 4
731
732 bot instance_minstanex
733         include percussion_movetoplace
734         include minstanex
735         count 4
736
737 bot instance_nex
738         include percussion_movetoplace
739         include nex
740         count 4
741
742 bot instance_shotgun
743         include percussion_movetoplace
744         include shotgun
745         count 4
746
747 bot instance_porto
748         include percussion_movetoplace
749         include porto
750         count 4
751
752 # rocket_fly = 025 snare roll
753 ## rocket_impact = 049 cymbal crash = 057 cymbal crash
754 # electro_fire = 049 cymbal crash = 057 cymbal crash
755 # electro_fire2 = 040 snare 2
756 # uzi = 033 high q
757 # crylink_fire2 = 046 hihat open
758 # crylink_fire = 042 hihat closed
759 # jetpack = 044 hihat pedal
760 # jump = 036 kick 2
761 # hagar_fire = 038 snare 1
762 # lasergun_fire = 039 clap hand
763 # hook_fire = 058 vibra slap
764 # hookbomb_fire = 055 cymbal splash
765 # campingrifle_fire = 065 timbale high
766 # campingrifle_fire2 = 066 timbale low
767 # fireball_fire = 052 cymbal chinese
768 # fireball_prefire2 = 072 whistle 2 low long
769 # grenade_fire = 035 kick 1
770 # minstanexfire = 053 cymbal ride bell
771 # nexfire = 051 cymbal ride
772 # shotgun_fire = 059 cymbal ride
773 # weapon_switch = 037 stick rim