]> git.xonotic.org Git - xonotic/xonotic.git/blob - misc/tools/midi2cfg-ng.conf
more config updates
[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 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 end64"
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 15
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 10
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 27
371                 time 0
372                 buttons attack2
373                 time 0.05
374                 buttons
375                 time 0.1
376                 busy 0.2
377         percussion 33
378                 percussion 27
379         percussion 54
380                 percussion 27
381
382 bot crylink
383         channels 10
384         init
385                 cmd aimtarget "tPercussion 1"
386                 cmd barrier
387                 cmd selectweapon 7
388                 cmd wait 0.5
389         percussion 31
390                 time 0
391                 buttons attack2
392                 time 0.05
393                 buttons
394                 time 0.1
395                 busy 0.5
396         percussion 34
397                 percussion 31
398         percussion 42
399                 time 0
400                 buttons attack1
401                 time 0.05
402                 buttons
403                 time 0.1
404                 busy 0.4
405         percussion 44
406                 percussion 42
407         percussion 46
408                 percussion 42
409
410 bot jetpack
411         init
412                 cmd resetaim
413                 cmd barrier
414                 cmd console "g_jetpack_attenuation 0.5"
415         percussion 42
416                 time 0
417                 buttons hook
418                 time 0.05
419                 buttons
420                 time 0.1
421         percussion 44
422                 percussion 42
423         percussion 46
424                 percussion 42
425         percussion 37
426                 percussion 42
427         percussion 51
428                 percussion 42
429         percussion 59
430                 percussion 42
431
432 bot jump
433         init
434                 cmd resetaim
435                 cmd barrier
436         percussion 42
437                 time -0.5
438                 buttons jump
439                 time -0.45
440                 buttons
441                 time 0
442         percussion 44
443                 percussion 42
444         percussion 46
445                 percussion 42
446
447 bot hagar
448         channels 10
449         init
450                 cmd aimtarget "tPercussion 1"
451                 cmd barrier
452                 cmd selectweapon 9
453                 cmd wait 0.5
454         percussion 35
455                 time 0
456                 buttons attack1
457                 time 0.05
458                 buttons
459                 time 0.1
460                 busy 0.15
461         percussion 36
462                 percussion 35
463         percussion 38
464                 percussion 35
465         percussion 40
466                 percussion 35
467         percussion 60
468                 percussion 35
469         percussion 61
470                 percussion 35
471         percussion 65
472                 percussion 35
473         percussion 66
474                 percussion 35
475
476 bot laser
477         channels 10
478         init
479                 cmd aimtarget "tPercussion 1"
480                 cmd barrier
481                 cmd selectweapon 1
482                 cmd wait 0.5
483         percussion 39
484                 time 0
485                 buttons attack1
486                 time 0.05
487                 buttons
488                 time 0.1
489                 busy 0.7
490
491 bot electro
492         channels 10
493         init
494                 time -2
495                 cmd aimtarget "tPercussion 1"
496                 cmd barrier
497                 cmd selectweapon 6
498                 cmd wait 0.5
499         percussion 49
500                 time 0
501                 buttons attack1
502                 time 0.05
503                 buttons
504                 time 0.1
505                 busy 0.6
506
507 bot hook
508         channels 10
509         init
510                 time -2
511                 cmd aimtarget "tPercussion 1"
512                 cmd barrier
513                 cmd selectweapon 13
514                 cmd wait 0.5
515         percussion 58
516                 time 0
517                 buttons attack1
518                 time 0.05
519                 buttons
520                 time 0.1
521                 busy 0
522
523 # instantiate our bots!
524
525 bot instance_tuba_red
526         include tuba_red
527         count 32
528         init
529                 cmd movetotarget @places_tuba
530                 cmd barrier
531                 super
532         done
533                 cmd movetotarget @places_end
534                 cmd resetaim
535                 cmd aim "90 0"
536                 cmd wait 1
537                 barrier
538                 buttons crouch
539                 cmd wait 3
540                 buttons
541                 cmd wait 1
542                 barrier
543                 buttons use
544                 cmd cc "kill"
545
546 bot instance_tuba_blue
547         include tuba_blue
548         count 32
549         init
550                 cmd movetotarget @places_tuba
551                 cmd barrier
552                 super
553         done
554                 cmd movetotarget @places_end
555                 cmd resetaim
556                 cmd aim "90 0"
557                 cmd wait 1
558                 barrier
559                 buttons crouch
560                 cmd wait 3
561                 buttons
562                 cmd wait 1
563                 barrier
564                 buttons use
565                 cmd cc "kill"
566
567 bot instance_rocket
568         include rocket
569         count 1
570         init
571                 cmd movetotarget @places_percussion
572                 cmd barrier
573                 super
574         done
575                 cmd movetotarget @places_end
576                 cmd resetaim
577                 cmd aim "90 0"
578                 cmd wait 1
579                 barrier
580                 buttons crouch
581                 cmd wait 3
582                 buttons
583                 cmd wait 1
584                 barrier
585                 buttons use
586                 cmd cc "kill"
587
588 bot instance_uzi
589         include uzi
590         count 2
591         init
592                 cmd movetotarget @places_percussion
593                 cmd barrier
594                 super
595         done
596                 cmd movetotarget @places_end
597                 cmd resetaim
598                 cmd aim "90 0"
599                 cmd wait 1
600                 barrier
601                 buttons crouch
602                 cmd wait 3
603                 buttons
604                 cmd wait 1
605                 barrier
606                 buttons use
607                 cmd cc "kill"
608
609 bot instance_crylink
610         include crylink
611         count 2
612         init
613                 cmd movetotarget @places_percussion
614                 cmd barrier
615                 super
616         done
617                 cmd movetotarget @places_end
618                 cmd resetaim
619                 cmd aim "90 0"
620                 cmd wait 1
621                 barrier
622                 buttons crouch
623                 cmd wait 3
624                 buttons
625                 cmd wait 1
626                 barrier
627                 buttons use
628                 cmd cc "kill"
629
630 bot instance_jetpack
631         include jetpack
632         count 2
633         init
634                 cmd movetotarget @places_percussion
635                 cmd barrier
636                 super
637         done
638                 cmd movetotarget @places_end
639                 cmd resetaim
640                 cmd aim "90 0"
641                 cmd wait 1
642                 barrier
643                 buttons crouch
644                 cmd wait 3
645                 buttons
646                 cmd wait 1
647                 barrier
648                 buttons use
649                 cmd cc "kill"
650
651 bot instance_jump
652         include jump
653         count 2
654         init
655                 cmd movetotarget @places_percussion
656                 cmd barrier
657                 super
658         done
659                 cmd movetotarget @places_end
660                 cmd resetaim
661                 cmd aim "90 0"
662                 cmd wait 1
663                 barrier
664                 buttons crouch
665                 cmd wait 3
666                 buttons
667                 cmd wait 1
668                 barrier
669                 buttons use
670                 cmd cc "kill"
671
672 bot instance_hagar
673         include hagar
674         count 6
675         init
676                 cmd movetotarget @places_percussion
677                 cmd barrier
678                 super
679         done
680                 cmd movetotarget @places_end
681                 cmd resetaim
682                 cmd aim "90 0"
683                 cmd wait 1
684                 barrier
685                 buttons crouch
686                 cmd wait 3
687                 buttons
688                 cmd wait 1
689                 barrier
690                 buttons use
691                 cmd cc "kill"
692
693 bot instance_laser
694         include laser
695         count 4
696         init
697                 cmd movetotarget @places_percussion
698                 cmd barrier
699                 super
700         done
701                 cmd movetotarget @places_end
702                 cmd resetaim
703                 cmd aim "90 0"
704                 cmd wait 1
705                 barrier
706                 buttons crouch
707                 cmd wait 3
708                 buttons
709                 cmd wait 1
710                 barrier
711                 buttons use
712                 cmd cc "kill"
713
714 bot instance_electro
715         include electro
716         count 2
717         init
718                 cmd movetotarget @places_percussion
719                 cmd barrier
720                 super
721         done
722                 cmd movetotarget @places_end
723                 cmd resetaim
724                 cmd aim "90 0"
725                 cmd wait 1
726                 barrier
727                 buttons crouch
728                 cmd wait 3
729                 buttons
730                 cmd wait 1
731                 barrier
732                 buttons use
733                 cmd cc "kill"
734
735 bot instance_hook
736         include hook
737         count 2
738         init
739                 cmd movetotarget @places_percussion
740                 cmd barrier
741                 super
742         done
743                 cmd movetotarget @places_end
744                 cmd resetaim
745                 cmd aim "90 0"
746                 cmd wait 1
747                 barrier
748                 buttons crouch
749                 cmd wait 3
750                 buttons
751                 cmd wait 1
752                 barrier
753                 buttons use
754                 cmd cc "kill"