mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-09 23:20:13 +00:00
use the nextframe command I added
This commit is contained in:
parent
3db4aa1176
commit
d350f6cf3d
@ -3,7 +3,7 @@
|
|||||||
map=$1; shift
|
map=$1; shift
|
||||||
count=$1; shift
|
count=$1; shift
|
||||||
watchdog=$1; shift
|
watchdog=$1; shift
|
||||||
step=$1; shift
|
dummy=$1; shift
|
||||||
|
|
||||||
# convert count to unary
|
# convert count to unary
|
||||||
count=`yes x | head -n "$count" | tr -cd x`
|
count=`yes x | head -n "$count" | tr -cd x`
|
||||||
@ -23,8 +23,11 @@ count=`yes x | head -n "$count" | tr -cd x`
|
|||||||
+'sv_cheats 2' \
|
+'sv_cheats 2' \
|
||||||
+'set catchme "catchme_"' \
|
+'set catchme "catchme_"' \
|
||||||
+"alias catchme_$count \"quit\"" \
|
+"alias catchme_$count \"quit\"" \
|
||||||
+'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer '$step' \"screenshot; autoscreenshot\""' \
|
+'alias NARF "sv_cmd nextframe cl_cmd nextframe $*"' \
|
||||||
+'alias cl_hook_gamestart_all "cmd join; defer 1 god; defer 2 noclip; defer 3 autoscreenshot"' \
|
+'alias ZORT "god; noclip; NARF POIT"' \
|
||||||
|
+'alias POIT "$catchme; set catchme \"${catchme}x\"; impulse 911; NARF TROZ"' \
|
||||||
|
+'alias TROZ "screenshot; NARF POIT"' \
|
||||||
|
+'alias cl_hook_gamestart_all "echo HOOKED; cmd join; defer 2 ZORT"' \
|
||||||
+"defer \"$watchdog\" quit" \
|
+"defer \"$watchdog\" quit" \
|
||||||
+"map \"$map\"" \
|
+"map \"$map\"" \
|
||||||
+'timelimit 0' \
|
+'timelimit 0' \
|
||||||
|
Loading…
Reference in New Issue
Block a user