From: Rudolf Polzer Date: Mon, 16 Jan 2012 10:56:33 +0000 (+0100) Subject: improve autoscreenshot a bit X-Git-Tag: xonotic-v0.6.0~30^2~40 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2e243534f9e0afd2ef1c729d6fa626c6370cf062;p=xonotic%2Fxonotic.git improve autoscreenshot a bit --- diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index 1af7b4b7..dc06f123 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -21,13 +21,15 @@ 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 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' \