]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
we can't detect sv_cheats from here, sorry
authorRudolf Polzer <divverent@xonotic.org>
Tue, 18 Sep 2012 10:40:25 +0000 (12:40 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 18 Sep 2012 10:40:25 +0000 (12:40 +0200)
misc/tools/midi2cfg-ng.conf

index d38937e0f3a5f6c992d77cadfe77090a555a66a2..331f4affc2bfe5896d97cb56658ca0c17248bf0f 100644 (file)
@@ -1,10 +1,7 @@
-raw exec cpp.cfg
-
-raw #ifeq $sv_cheats 1
-raw #define MOVETO "cc teleporttotarget"
-raw #else
-raw #define MOVETO "movetotarget"
-raw #endif
+// for walking bots:
+// :%s/cc teleport\(totarget\)/move\1/g
+// for teleporting bots:
+// :%s/move\(totarget\)/cc teleport\1/g
 
 timeoffset_preinit 2
 timeoffset_postinit 2
@@ -989,7 +986,7 @@ bot instance_tuba_red
        include common
        count 16
        init
-               cmd $MOVETO @places_tuba
+               cmd cc teleporttotarget @places_tuba
                cmd barrier
                super
 
@@ -998,7 +995,7 @@ bot instance_tuba_blue
        include common
        count 16
        init
-               cmd $MOVETO @places_tuba
+               cmd cc teleporttotarget @places_tuba
                cmd barrier
                super
 
@@ -1007,7 +1004,7 @@ bot instance_accordeon_red
        include common
        count 16
        init
-               cmd $MOVETO @places_tuba
+               cmd cc teleporttotarget @places_tuba
                cmd barrier
                super
 
@@ -1016,7 +1013,7 @@ bot instance_accordeon_blue
        include common
        count 16
        init
-               cmd $MOVETO @places_tuba
+               cmd cc teleporttotarget @places_tuba
                cmd barrier
                super
 
@@ -1025,7 +1022,7 @@ bot instance_laser
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1034,7 +1031,7 @@ bot instance_shotgun
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1043,7 +1040,7 @@ bot instance_uzi
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1052,7 +1049,7 @@ bot instance_electro
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1061,7 +1058,7 @@ bot instance_crylink
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1070,7 +1067,7 @@ bot instance_nex
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1079,7 +1076,7 @@ bot instance_minstanex
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1088,7 +1085,7 @@ bot instance_hagar
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1097,7 +1094,7 @@ bot instance_rocket
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1106,7 +1103,7 @@ bot instance_hook
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1115,7 +1112,7 @@ bot instance_seeker
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1124,7 +1121,7 @@ bot instance_rifle
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1133,7 +1130,7 @@ bot instance_jetpack
        include common
        count 16
        init
-               cmd $MOVETO @places_nosteps
+               cmd cc teleporttotarget @places_nosteps
                cmd barrier
                super
 
@@ -1142,7 +1139,7 @@ bot instance_jumper
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1151,7 +1148,7 @@ bot instance_metaljumper
        include common
        count 16
        init
-               cmd $MOVETO @places_metalsteps
+               cmd cc teleporttotarget @places_metalsteps
                cmd barrier
                super
 
@@ -1160,7 +1157,7 @@ bot instance_switcher
        include common
        count 16
        init
-               cmd $MOVETO @places_percussion
+               cmd cc teleporttotarget @places_percussion
                cmd barrier
                super
 
@@ -1170,7 +1167,7 @@ bot instance_vocals
        count 1
        init
                cmd cc playermodel models/player/suiseiseki.zym
-               cmd $MOVETO @places_vocals
+               cmd cc teleporttotarget @places_vocals
                cmd barrier
                super