]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
support accordeon (untested)
authorRudolf Polzer <divverent@xonotic.org>
Mon, 10 Oct 2011 19:04:10 +0000 (21:04 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 10 Oct 2011 20:06:49 +0000 (22:06 +0200)
misc/tools/midi2cfg-ng.conf

index 42c89011c02254b0248ae3966dbf6aa4e241a58a..46777e62bad6fbf3f58ced6b2daa1a7a3bd6d205 100644 (file)
@@ -13,14 +13,7 @@ raw set places_vocals "tVocals"
 raw settemp bot_ai_thinkinterval 0
 raw settemp bot_sound_monopoly 1
 
-bot tuba
-       channels 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16
-       init
-               cmd barrier
-               cmd selectweapon 15
-               cmd wait 0.5
-               raw settemp g_balance_tuba_attenuation 0.1
-               raw settemp g_balance_tuba_damage 0
+bot notebot
        note on -18
                time 0
                cmd debug_assert_canfire 1
@@ -422,6 +415,31 @@ bot tuba
                buttons 
                time 0
 
+bot tuba
+       include notebot
+       channels 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16
+       programs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
+       transpose 48
+       init
+               cmd barrier
+               cmd selectweapon 15
+               cmd wait 0.5
+               raw settemp g_balance_tuba_attenuation 0.1
+               raw settemp g_balance_tuba_damage 0
+
+bot accordeon
+       include notebot
+       channels 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16
+       programs 22 23 24
+       transpose 60
+       init
+               cmd barrier
+               cmd selectweapon 15
+               cmd wait 0.5
+               raw impulse 20
+               raw settemp g_balance_tuba_attenuation 0.1
+               raw settemp g_balance_tuba_damage 0
+
 bot tuba_red
        include tuba
        transpose 0
@@ -436,6 +454,20 @@ bot tuba_blue
                cmd cc "color 221"
                super
 
+bot accordeon_red
+       include accordeon
+       transpose 0
+       init
+               cmd cc "color 68"
+               super
+
+bot accordeon_blue
+       include accordeon
+       transpose 3
+       init
+               cmd cc "color 221"
+               super
+
 # laser = lasershot NONE
 bot laser
        channels 10
@@ -845,6 +877,24 @@ bot instance_tuba_blue
                cmd barrier
                super
 
+bot instance_accordeon_red
+       include accordeon_red
+       include common
+       count 8
+       init
+               cmd movetotarget @places_accordeon
+               cmd barrier
+               super
+
+bot instance_accordeon_blue
+       include accordeon_blue
+       include common
+       count 8
+       init
+               cmd movetotarget @places_accordeon
+               cmd barrier
+               super
+
 bot instance_laser
        include laser
        include common