]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
be a bit slower when screenshotting
authorRudolf Polzer <divverent@alientrap.org>
Thu, 1 Dec 2011 12:44:46 +0000 (13:44 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 1 Dec 2011 12:44:46 +0000 (13:44 +0100)
misc/tools/xonotic-map-compiler-autobuild
misc/tools/xonotic-map-screenshot

index 373a50dc30ce70e2be9136c097e2d96f604e3dc0..778dd57c6241f7ecca4d55a6bfbe15f9d3db9883 100755 (executable)
@@ -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 1800 -vis_timeout 3600 -light_timeout 14400 -minimap_timeout 900 -scale_timeout 900"
-screenshot_override="9 600 +g_ctf 1"
+screenshot_override="9 900 5 +g_ctf 1"
 
 getthemap_fail=false
 
index f4df78c612b4eb5f879f75257d9a9dd11f29dc81..c3bd23697ca0ee52ca10ff0b9b4d14770f627fea 100755 (executable)
@@ -3,6 +3,7 @@
 map=$1; shift
 count=$1; shift
 watchdog=$1; shift
+step=$1; shift
 
 # convert count to unary
 count=`yes x | head -n "$count" | tr -cd x`
@@ -22,7 +23,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 2 \"screenshot; autoscreenshot\""' \
+       +'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer '$step' \"screenshot; autoscreenshot\""' \
        +'alias cl_hook_gamestart_all "cmd join; defer 1 god; defer 2 noclip; defer 3 autoscreenshot"' \
        +"defer \"$watchdog\" quit" \
        +"map \"$map\"" \