]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-screenshot
do god and noclip in separate frames (don't ask why)
[xonotic/xonotic.git] / misc / tools / xonotic-map-screenshot
index 1af7b4b77625752b37917b974b76caae21c1b716..65b5cb527684c686b604d3922770d2b83e7f4354 100755 (executable)
@@ -21,13 +21,16 @@ count=`yes x | head -n "$count" | tr -cd x`
        +'r_drawviewmodel 0' \
        +'crosshair 0' \
        +'sv_cheats 2' \
+       +'sv_gravity 0' \
+       +'r_nolerp 1' \
        +'set catchme "catchme_"' \
        +"alias catchme_$count \"quit\"" \
        +'alias NARF "sv_cmd nextframe cl_cmd nextframe $*"' \
-       +'alias ZORT "god; noclip; NARF POIT"' \
+       +'alias ZORT "god; NARF EGAD"' \
+       +'alias EGAD "noclip; NARF POIT"' \
        +'alias POIT "$catchme; set catchme \"${catchme}x\"; impulse 911; NARF TROZ"' \
        +'alias TROZ "screenshot; NARF POIT"' \
-       +'alias cl_hook_gamestart_all "echo HOOKED; cmd join; defer 2 ZORT"' \
+       +'alias cl_hook_gamestart_all "cmd join; defer 2 ZORT"' \
        +"defer \"$watchdog\" quit" \
        +"map \"$map\"" \
        +'timelimit 0' \