From: Mario Date: Tue, 11 Sep 2018 18:22:31 +0000 (+1000) Subject: Fix map autoscreenshot script taking all screenshots from the same position, and... X-Git-Tag: xonotic-v0.8.5~150 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=02da6dd70351e65959f9f514de2082467454c12e;p=xonotic%2Fxonotic.git Fix map autoscreenshot script taking all screenshots from the same position, and don't show waypoints in the screenshots, also don't use config.cfg --- diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index 867fd7db..ce00dbc7 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -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' \