]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Fix map autoscreenshot script taking all screenshots from the same position, and...
authorMario <zacjardine@y7mail.com>
Tue, 11 Sep 2018 18:22:31 +0000 (04:22 +1000)
committerMario <zacjardine@y7mail.com>
Tue, 11 Sep 2018 18:22:31 +0000 (04:22 +1000)
misc/tools/xonotic-map-screenshot

index 867fd7dbbeba17f126b94ea63259ab41ad8391d2..ce00dbc7729539208601680a86dd6b77e4c0bcd8 100755 (executable)
@@ -10,12 +10,14 @@ count=`yes x | head -n "$count" | tr -cd x`
 
 ./all run \
        -nosound \
+       -noconfig \
        +'locksession 0' \
        +'scr_screenshot_timestamp 0' \
        +'vid_fullscreen 0' \
        +'exec effects-ultra.cfg' \
        "$@" \
        +'sv_precacheplayermodels 0' \
+       +'cl_hidewaypoints 1' \
        +'r_motionblur 0' \
        +'r_damageblur 0' \
        +'r_letterbox -1' \
@@ -33,7 +35,7 @@ count=`yes x | head -n "$count" | tr -cd x`
        +'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 "cmd join; defer 2 ZORT"' \
+       +'alias cl_hook_gamestart_all "defer 1.1 \"cmd join\"; defer 2 ZORT"' \
        +"defer \"$watchdog\" quit" \
        +"map \"$map\"" \
        +'timelimit 0' \