]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/midi2cfg-ng.conf
enable metaljumper
[xonotic/xonotic.git] / misc / tools / midi2cfg-ng.conf
index 4d9cc6f6c4fe019fdc57433369a13eb94ff556c8..fb0c879860386b95c1bdd4fdd3b4c2d69a8d1c2c 100644 (file)
@@ -4,20 +4,18 @@ timeoffset_predone 2
 timeoffset_postdone 2
 timeoffset_preintermission 2
 timeoffset_postintermission 2
+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 set places_metalsteps "tMetalSteps1 tMetalSteps2 tMetalSteps3"
+raw set places_nosteps "tNoSteps1 tNoSteps2 tNoSteps3 tNoSteps4"
+
 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
@@ -419,6 +417,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
@@ -433,6 +456,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
@@ -499,8 +536,6 @@ bot uzi
                percussion 27
        percussion 33 # 033_Metronome_Click-0.wav
                percussion 27
-       percussion 36 # 036_Kick_2-0.wav
-               percussion 27
        percussion 53 # 053_Cymbal_Ride_Bell-0.wav
                percussion 27
        percussion 54 # 054_Tombourine-0.wav
@@ -574,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
@@ -637,10 +674,6 @@ bot hagar
                percussion 35
        percussion 61 # 061_Bongo_Low-0.wav
                percussion 35
-       percussion 65 # 065_Timbale_High-0.wav
-               percussion 35
-       percussion 66 # 066_Timbale_Low-0.wav
-               percussion 35
 
 # TODO hookbomb would be useful for #60
 
@@ -696,6 +729,8 @@ bot hook
                busy 0.9
        percussion 81 # 081_Triangle_2_Open-0.wav
                percussion 62
+       percussion 80 # 081_Triangle_1_Mute-0.wav
+               percussion 62
 
 # seeker is BADFLYSOUND tag
 bot seeker
@@ -759,6 +794,7 @@ bot rifle
                busy 0.9
 
 bot jetpack
+       channels 10
        init
                time -2
                cmd aimtarget "tPercussion 1"
@@ -776,8 +812,44 @@ bot jetpack
                percussion 42
        percussion 64 # 064_Conga_Low-0.wav
                percussion 42
+       percussion 70 # 070_Maracas-0.wav
+               percussion 42
+
+bot jumper
+       channels 10
+       init
+               time -2
+               cmd aimtarget "tPercussion 1"
+               cmd barrier
+               cmd wait 0.5
+       percussion 36 # 036_Kick_2-0.wav
+               time -0.6666666
+               buttons jump
+               time -0.5
+               buttons
+               time 0
+               busy 0.1
+
+bot metaljumper
+       channels 10
+       init
+               time -2
+               cmd aimtarget "tPercussion 1"
+               cmd barrier
+               cmd wait 0.5
+       percussion 65 # 065_Timbale_High-0.wav
+               time -0.6666666
+               buttons jump
+               time -0.5
+               buttons
+               time 0
+               busy 0.1
+               percussion 35
+       percussion 66 # 066_Timbale_Low-0.wav
+               percussion 65
 
 bot switcher
+       channels 10
        init
                time -2
                cmd aimtarget "tPercussion 1"
@@ -792,6 +864,7 @@ bot switcher
                percussion 29
 
 bot vocals
+       channels -1
        init
                time -2
                cmd aimtarget "tPercussion 1"
@@ -827,7 +900,7 @@ bot common
 bot instance_tuba_red
        include tuba_red
        include common
-       count 8
+       count 16
        init
                cmd movetotarget @places_tuba
                cmd barrier
@@ -836,7 +909,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
@@ -888,7 +979,7 @@ bot instance_crylink
                super
 
 bot instance_nex
-       include rocket
+       include nex
        include common
        count 16
        init
@@ -897,7 +988,7 @@ bot instance_nex
                super
 
 bot instance_minstanex
-       include rocket
+       include minstanex
        include common
        count 16
        init
@@ -954,11 +1045,29 @@ bot instance_jetpack
        include jetpack
        include common
        count 16
+       init
+               cmd movetotarget @places_nosteps
+               cmd barrier
+               super
+
+bot instance_jumper
+       include jumper
+       include common
+       count 16
        init
                cmd movetotarget @places_percussion
                cmd barrier
                super
 
+bot instance_metaljumper
+       include metaljumper
+       include common
+       count 16
+       init
+               cmd movetotarget @places_metalsteps
+               cmd barrier
+               super
+
 bot instance_switcher
        include switcher
        include common
@@ -974,7 +1083,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