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