From: Rudolf Polzer Date: Sat, 2 Oct 2010 11:26:21 +0000 (+0200) Subject: adjust timeouts for auto screenshots X-Git-Tag: xonotic-v0.1.0preview~158 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=98926ac7e5917c2d6f8ed5b4dd3e5d48d8510a9d adjust timeouts for auto screenshots --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 7df2394d..5c6db64d 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -8,7 +8,7 @@ url_ssh=xonotic-beta:autobuild-bsp/ build_cachedir="$HOME/xonotic-map-compiler.cache/" screenshot_cachedir="$HOME/xonotic-map-screenshot.cache/" build_override="-bsp_timeout 900 -vis_timeout 3600 -light_timeout 14400 -minimap_timeout 900 -scale_timeout 900" -screenshot_override="9 300 +g_ctf 1" +screenshot_override="9 600 +g_ctf 1" getthemap_fail=false diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index 1c65379c..0d3127e5 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -20,7 +20,7 @@ count=`yes x | head -n "$count" | tr -cd x` +'sv_cheats 2' \ +'set catchme "catchme_"' \ +"alias catchme_$count \"quit\"" \ - +'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer 1 \"screenshot; autoscreenshot\""' \ + +'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer 2 \"screenshot; autoscreenshot\""' \ +'alias cl_hook_gamestart_all "cmd join; defer 1 god; defer 2 noclip; defer 3 autoscreenshot"' \ +"defer \"$watchdog\" quit" \ +"map \"$map\"" \