]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/midi2cfg-ng.conf
add a "jumper" config for midi2cfg, not used yet
[xonotic/xonotic.git] / misc / tools / midi2cfg-ng.conf
index d5816508ece526f5829079be5601288bb8e98535..a74e754dac3fbdee91d6e5521a073e6896f937cb 100644 (file)
@@ -8,17 +8,12 @@ time_forgetfulness 3
 
 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"
 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"
+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
@@ -420,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
+               cmd impulse 20
+               raw settemp g_balance_tuba_attenuation 0.1
+               raw settemp g_balance_tuba_damage 0
+
 bot tuba_red
        include tuba
        transpose 0
@@ -434,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
@@ -575,6 +609,8 @@ bot crylink
                percussion 34
        percussion 72 # 072_Whistle_2_Low_Long-0.wav
                percussion 45
+       percussion 75 # 075_Claves-0.wav
+               percussion 34
 
 # nex is nex NONE
 bot nex
@@ -777,6 +813,22 @@ bot jetpack
                percussion 42
        percussion 64 # 064_Conga_Low-0.wav
                percussion 42
+       percussion 70 # 070_Maracas-0.wav
+               percussion 42
+
+bot jumper
+       init
+               time -2
+               cmd aimtarget "tPercussion 1"
+               cmd barrier
+               cmd wait 0.5
+#      percussion FIXME
+#              time -0.6666666
+#              buttons jump
+#              time -0.5
+#              buttons
+#              time 0
+#              busy 0.1
 
 bot switcher
        init
@@ -828,7 +880,7 @@ bot common
 bot instance_tuba_red
        include tuba_red
        include common
-       count 8
+       count 16
        init
                cmd movetotarget @places_tuba
                cmd barrier
@@ -837,7 +889,25 @@ bot instance_tuba_red
 bot instance_tuba_blue
        include tuba_blue
        include common
-       count 8
+       count 16
+       init
+               cmd movetotarget @places_tuba
+               cmd barrier
+               super
+
+bot instance_accordeon_red
+       include accordeon_red
+       include common
+       count 16
+       init
+               cmd movetotarget @places_tuba
+               cmd barrier
+               super
+
+bot instance_accordeon_blue
+       include accordeon_blue
+       include common
+       count 16
        init
                cmd movetotarget @places_tuba
                cmd barrier
@@ -889,7 +959,7 @@ bot instance_crylink
                super
 
 bot instance_nex
-       include rocket
+       include nex
        include common
        count 16
        init
@@ -898,7 +968,7 @@ bot instance_nex
                super
 
 bot instance_minstanex
-       include rocket
+       include minstanex
        include common
        count 16
        init
@@ -960,6 +1030,15 @@ bot instance_jetpack
                cmd barrier
                super
 
+bot instance_jumper
+       include jumper
+       include common
+       count 16
+       init
+               cmd movetotarget @places_percussion
+               cmd barrier
+               super
+
 bot instance_switcher
        include switcher
        include common
@@ -975,7 +1054,7 @@ bot instance_vocals
        count 1
        init
                cmd cc "playermodel models/player/suiseiseki.zym"
-               cmd movetotarget @places_percussion
+               cmd movetotarget @places_vocals
                cmd barrier
                super