alias humiliate "play humil.wav;centerprint Blaster Humilation."trigger humiliate "*blasted by $name$*"
alias a_record "record ${$date}_${$mapname}"alias a_stop "wait 275; stop"trigger a_record "*All players ready!*"trigger a_stop "*Match ended*"An auto-record script for opentdm in AprQ2. One that doesn't suck.
Just curious, someone could truncate your demo at any point in time by chatting "Match ended", no? A dick move, for sure, but I don't think there's a great way around this unless you can bind triggers to only certain print levels (PRINT_CHAT vs PRINT_HIGH, etc..).
trigger "stop;record ${$mapname}-${$date}-${$time};play demo-start.wav;cmd help" "All players ready! Starting countdown (15 secs)..."trigger "stop" "Countdown stopped."trigger "screenshot jpg;LW3;stop;play demo-stop.wav" "Timelimit hit. Match ended."
Quote from: Jay Dolan on July 03, 2012, 09:51:17 AMJust curious, someone could truncate your demo at any point in time by chatting "Match ended", no? A dick move, for sure, but I don't think there's a great way around this unless you can bind triggers to only certain print levels (PRINT_CHAT vs PRINT_HIGH, etc..).dunno for aprq2 (not using it several years) r1q2 triggers work only with PRINT2 level messagesim using for opentdm/r1q2 just for Whirlingdervish info Quote from: //OTDM record triggerstrigger "stop;record ${$mapname}-${$date}-${$time};play demo-start.wav;cmd help" "All players ready! Starting countdown (15 secs)..."trigger "stop" "Countdown stopped."trigger "screenshot jpg;LW3;stop;play demo-stop.wav" "Timelimit hit. Match ended."
I'm not too sure about adding the screenshot bit. I don't want to spam my HD even more. :<
nobody can stop my demo when I don't want to.