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