From 02da6dd70351e65959f9f514de2082467454c12e Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 12 Sep 2018 04:22:31 +1000 Subject: [PATCH] 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 --- misc/tools/xonotic-map-screenshot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' \ -- 2.39.2