]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
add a "jumper" config for midi2cfg, not used yet
authorRudolf Polzer <divverent@xonotic.org>
Sat, 15 Oct 2011 21:13:09 +0000 (23:13 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 15 Oct 2011 21:13:09 +0000 (23:13 +0200)
misc/tools/midi2cfg-ng.conf

index b3fe3d4174d2535b6cc78e031b5a799e3dee9d7f..a74e754dac3fbdee91d6e5521a073e6896f937cb 100644 (file)
@@ -816,6 +816,20 @@ bot jetpack
        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
@@ -1016,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