]> icculus.org git repositories - divverent/nexuiz.git/blob - misc/tools/midi2cfg-ng.conf
more elaborate :P
[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
420 bot crylink
421         channels 10
422         init
423                 cmd aimtarget "tPercussion 1"
424                 cmd barrier
425                 cmd selectweapon 6
426                 cmd wait 0.5
427         percussion 31
428                 time 0
429                 buttons attack2
430                 time 0.05
431                 buttons
432                 time 0.1
433                 busy 0.5
434         percussion 34
435                 percussion 31
436         percussion 42
437                 time 0
438                 buttons attack2
439                 time 0.05
440                 buttons
441                 time 0.1
442                 busy 0.4
443         percussion 44
444                 percussion 42
445         percussion 46
446                 percussion 42
447
448 bot jetpack
449         init
450                 cmd barrier
451                 cmd console "g_jetpack_attenuation 0.5"
452         percussion 42
453                 time 0
454                 buttons hook
455                 time 0.05
456                 buttons
457                 time 0.1
458         percussion 44
459                 percussion 42
460         percussion 46
461                 percussion 42
462         percussion 37
463                 percussion 42
464
465 bot jump
466         init
467                 cmd barrier
468         percussion 42
469                 time -0.5
470                 buttons jump
471                 time -0.45
472                 buttons
473                 time 0
474         percussion 44
475                 percussion 42
476         percussion 46
477                 percussion 42
478
479 bot hagar
480         channels 10
481         init
482                 cmd aimtarget "tPercussion 1"
483                 cmd barrier
484                 cmd selectweapon 8
485                 cmd wait 0.5
486         percussion 35
487                 time 0
488                 buttons attack1
489                 time 0.05
490                 buttons
491                 time 0.1
492                 busy 0.15
493         percussion 38
494                 percussion 35
495         percussion 40
496                 percussion 35
497         percussion 60
498                 percussion 35
499         percussion 65
500                 percussion 35
501
502 bot tag
503         channels 10
504         init
505                 cmd aimtarget "tPercussion 1"
506                 cmd barrier
507                 cmd selectweapon 14
508                 cmd wait 0.5
509                 cmd console "g_balance_seeker_tag_lifetime 0.1"
510         percussion 36
511                 time 0
512                 buttons attack1
513                 time 0.05
514                 buttons
515                 time 0.1
516                 busy 0.7
517         percussion 61
518                 percussion 36
519         percussion 66
520                 percussion 36
521
522 bot laser
523         channels 10
524         init
525                 cmd aimtarget "tPercussion 1"
526                 cmd barrier
527                 cmd selectweapon 1
528                 cmd wait 0.5
529         percussion 39
530                 time 0
531                 buttons attack1
532                 time 0.05
533                 buttons
534                 time 0.1
535                 busy 0.7
536
537 bot electro
538         channels 10
539         init
540                 time -2
541                 cmd aimtarget "tPercussion 1"
542                 cmd barrier
543                 cmd selectweapon 5
544                 cmd wait 0.5
545         percussion 49
546                 time 0
547                 buttons attack1
548                 time 0.05
549                 buttons
550                 time 0.1
551                 busy 0.6
552
553 bot hook
554         channels 10
555         init
556                 time -2
557                 cmd aimtarget "tPercussion 1"
558                 cmd barrier
559                 cmd selectweapon 12
560                 cmd wait 0.5
561         percussion 58
562                 time 0
563                 buttons attack1
564                 time 0.05
565                 buttons
566                 time 0.1
567                 busy 0
568
569 # instantiate our bots!
570
571 bot instance_tuba_red
572         include tuba_red
573         count 16
574         init
575                 cmd movetotarget @places_tuba
576                 cmd barrier
577                 super
578         done
579                 cmd movetotarget @places_end
580                 cmd wait 1
581                 barrier
582                 buttons crouch
583                 cmd wait 2
584                 buttons
585                 cmd wait 1
586                 barrier
587                 cmd movetotarget start
588
589 bot instance_tuba_blue
590         include tuba_blue
591         count 16
592         init
593                 cmd movetotarget @places_tuba
594                 cmd barrier
595                 super
596         done
597                 cmd movetotarget @places_end
598                 cmd wait 1
599                 barrier
600                 buttons crouch
601                 cmd wait 2
602                 buttons
603                 cmd wait 1
604                 barrier
605                 cmd movetotarget start
606
607 bot instance_rocket
608         include rocket
609         count 1
610         init
611                 cmd movetotarget @places_percussion
612                 cmd barrier
613                 super
614         done
615                 cmd movetotarget @places_end
616                 cmd wait 1
617                 barrier
618                 buttons crouch
619                 cmd wait 2
620                 buttons
621                 cmd wait 1
622                 barrier
623                 cmd movetotarget start
624
625 bot instance_uzi
626         include uzi
627         count 2
628         init
629                 cmd movetotarget @places_percussion
630                 cmd barrier
631                 super
632         done
633                 cmd movetotarget @places_end
634                 cmd wait 1
635                 barrier
636                 buttons crouch
637                 cmd wait 2
638                 buttons
639                 cmd wait 1
640                 barrier
641                 cmd movetotarget start
642
643 bot instance_crylink
644         include crylink
645         count 0
646         init
647                 cmd movetotarget @places_percussion
648                 cmd barrier
649                 super
650         done
651                 cmd movetotarget @places_end
652                 cmd wait 1
653                 barrier
654                 buttons crouch
655                 cmd wait 2
656                 buttons
657                 cmd wait 1
658                 barrier
659                 cmd movetotarget start
660
661 bot instance_jetpack
662         include jetpack
663         count 2
664         init
665                 cmd movetotarget @places_percussion
666                 cmd barrier
667                 super
668         done
669                 cmd movetotarget @places_end
670                 cmd wait 1
671                 barrier
672                 buttons crouch
673                 cmd wait 2
674                 buttons
675                 cmd wait 1
676                 barrier
677                 cmd movetotarget start
678
679 bot instance_jump
680         include jump
681         count 0
682         init
683                 cmd movetotarget @places_percussion
684                 cmd barrier
685                 super
686         done
687                 cmd movetotarget @places_end
688                 cmd wait 1
689                 barrier
690                 buttons crouch
691                 cmd wait 2
692                 buttons
693                 cmd wait 1
694                 barrier
695                 cmd movetotarget start
696
697 bot instance_hagar
698         include hagar
699         count 4
700         init
701                 cmd movetotarget @places_percussion
702                 cmd barrier
703                 super
704         done
705                 cmd movetotarget @places_end
706                 cmd wait 1
707                 barrier
708                 buttons crouch
709                 cmd wait 2
710                 buttons
711                 cmd wait 1
712                 barrier
713                 cmd movetotarget start
714
715 bot instance_tag
716         include tag
717         count 5
718         init
719                 cmd movetotarget @places_percussion
720                 cmd barrier
721                 super
722         done
723                 cmd movetotarget @places_end
724                 cmd wait 1
725                 barrier
726                 buttons crouch
727                 cmd wait 2
728                 buttons
729                 cmd wait 1
730                 barrier
731                 cmd movetotarget start
732
733 bot instance_laser
734         include laser
735         count 4
736         init
737                 cmd movetotarget @places_percussion
738                 cmd barrier
739                 super
740         done
741                 cmd movetotarget @places_end
742                 cmd wait 1
743                 barrier
744                 buttons crouch
745                 cmd wait 2
746                 buttons
747                 cmd wait 1
748                 barrier
749                 cmd movetotarget start
750
751 bot instance_electro
752         include electro
753         count 2
754         init
755                 cmd movetotarget @places_percussion
756                 cmd barrier
757                 super
758         done
759                 cmd movetotarget @places_end
760                 cmd wait 1
761                 barrier
762                 buttons crouch
763                 cmd wait 2
764                 buttons
765                 cmd wait 1
766                 barrier
767                 cmd movetotarget start
768
769 bot instance_hook
770         include hook
771         count 2
772         init
773                 cmd movetotarget @places_percussion
774                 cmd barrier
775                 super
776         done
777                 cmd movetotarget @places_end
778                 cmd wait 1
779                 barrier
780                 buttons crouch
781                 cmd wait 2
782                 buttons
783                 cmd wait 1
784                 barrier
785                 cmd movetotarget start