]> 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 bc6899bd8da2a4ab4b19c0d565ca84afaf494dc3..a74e754dac3fbdee91d6e5521a073e6896f937cb 100644 (file)
@@ -1,14 +1,19 @@
+timeoffset_preinit 2
+timeoffset_postinit 2
+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"
 
-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
+raw settemp bot_ai_thinkinterval 0
+raw settemp bot_sound_monopoly 1
+
+bot notebot
        note on -18
                time 0
                cmd debug_assert_canfire 1
@@ -410,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
@@ -424,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
@@ -474,6 +518,7 @@ bot uzi
                raw settemp g_balance_uzi_reload_ammo 0
                raw settemp g_balance_uzi_first_refire 0.1
                raw settemp g_balance_uzi_sustained_refire 0.1
+               raw settemp g_casings 0
        percussion 27 # 027_High_Q-0.wav
                time 0
                cmd debug_assert_canfire 1
@@ -489,18 +534,16 @@ bot uzi
                percussion 27
        percussion 33 # 033_Metronome_Click-0.wav
                percussion 27
-       percussion 39 # 039_Clap_Hand-0.wav
+       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
                percussion 27
-       percussion 36 # 036_Kick_2-0.wav
-               percussion 27
 
 # grenadelauncher = RELOADSOUND RELOADSOUND
 
-# electro = beam BAD
+# electro = beam BADFLYSOUND
 bot electro
        channels 10
        init
@@ -558,6 +601,16 @@ bot crylink
                percussion 34
        percussion 56 # 056_Cow_Bell-0.wav
                percussion 34
+       percussion 67 # 067_Agogo_High-0.wav
+               percussion 34
+       percussion 68 # 068_Agogo_Low-0.wav
+               percussion 45
+       percussion 71 # 071_Whistle_1_High_Short-0.wav
+               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
@@ -615,6 +668,8 @@ bot hagar
                buttons
                time 0.1
                busy 0.2
+       percussion 39 # 039_Clap_Hand-0.wav
+               percussion 35
        percussion 60 # 060_Bongo_High-0.wav
                percussion 35
        percussion 61 # 061_Bongo_Low-0.wav
@@ -655,6 +710,7 @@ bot hook
                cmd selectweapon 13
                cmd wait 0.5
                raw settemp g_balance_hook_primary_refire 0.3
+               raw settemp g_balance_hook_secondary_refire 0.9
        percussion 62 # 062_Conga_High_1_Mute-0.wav
                time 0
                cmd debug_assert_canfire 1
@@ -666,6 +722,17 @@ bot hook
                busy 0.3
        percussion 63 # 063_Conga_High_2_Open-0.wav
                percussion 62
+       percussion 84 # 084_Belltree-0.wav
+               time 0
+               cmd debug_assert_canfire 1
+               buttons attack2
+               time 0.05
+               cmd debug_assert_canfire 0
+               buttons
+               time 0.1
+               busy 0.9
+       percussion 81 # 081_Triangle_2_Open-0.wav
+               percussion 62
 
 # seeker is BADFLYSOUND tag
 bot seeker
@@ -694,6 +761,10 @@ bot seeker
                percussion 41
        percussion 46 # 046_Hi-Hat_Open-0.wav
                percussion 41
+       percussion 69 # 069_Cabasa-0.wav
+               percussion 41
+       percussion 82 # 069_Shaker-0.wav
+               percussion 41
 
 # rifle is hard soft
 bot rifle
@@ -704,6 +775,7 @@ bot rifle
                cmd barrier
                cmd selectweapon 16
                cmd wait 0.5
+               raw settemp g_balance_rifle_secondary_refire 0.3
 #      percussion FIXME
 #              time 0
 #              cmd debug_assert_canfire 1
@@ -735,13 +807,42 @@ bot jetpack
                buttons hook
                time 0.05
                buttons
-               time 0.1
        percussion 32 # 032_Square_Click-0.wav
                percussion 42
        percussion 44 # 044_Hi-Hat_Pedal-0.wav
                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
+               time -2
+               cmd aimtarget "tPercussion 1"
+               cmd barrier
+               cmd wait 0.5
+       percussion 29 # not in freepats
+               time 0
+               cmd impulse 10
+               time 0.05
+               busy 0.3
+       percussion 30 # not in freepats
+               percussion 29
 
 bot vocals
        init
@@ -779,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
@@ -788,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
@@ -840,7 +959,7 @@ bot instance_crylink
                super
 
 bot instance_nex
-       include rocket
+       include nex
        include common
        count 16
        init
@@ -849,7 +968,7 @@ bot instance_nex
                super
 
 bot instance_minstanex
-       include rocket
+       include minstanex
        include common
        count 16
        init
@@ -911,13 +1030,31 @@ 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
+       count 16
+       init
+               cmd movetotarget @places_percussion
+               cmd barrier
+               super
+
 bot instance_vocals
        include vocals
        include common
        count 1
        init
                cmd cc "playermodel models/player/suiseiseki.zym"
-               cmd movetotarget @places_percussion
+               cmd movetotarget @places_vocals
                cmd barrier
                super