Created attachment 3102[details]
ioquake3 r2224 delay command patch unified diff
Here is a delay command patch diff'ed from ioquake3 r2224, and ported from TremFusion.
This command is pretty useful as it allows to delay the execution of a command in time, and contrary to "wait", it doesn't freeze the game meanwhile. Can be pretty useful to servers admins (when scripting some complex configs, particularly useful for example after a game_restart to change the mod and delay xxx "exec config; map somemap.bsp" since game_restart wipe everything).
Comment on attachment 3102[details]
ioquake3 r2224 delay command patch unified diff
It should be mentioned this also contains some stuff for delaying UI events.
Personally I think this command would prove controversial - it's useful but almost TOO useful: I could imagine it being used to automate gameplay actions that would normally require precise timing.
I'm rather negative towards this one. This has alot of potential for feature creep, and adds alot code for a marginally useful feature. If server admins want to do this advanced stuff, they should script a little tool that feeds the commands to stdin at the time that he needs it.
Created attachment 3102 [details] ioquake3 r2224 delay command patch unified diff Here is a delay command patch diff'ed from ioquake3 r2224, and ported from TremFusion. This command is pretty useful as it allows to delay the execution of a command in time, and contrary to "wait", it doesn't freeze the game meanwhile. Can be pretty useful to servers admins (when scripting some complex configs, particularly useful for example after a game_restart to change the mod and delay xxx "exec config; map somemap.bsp" since game_restart wipe everything).
Comment on attachment 3102 [details] ioquake3 r2224 delay command patch unified diff It should be mentioned this also contains some stuff for delaying UI events. Personally I think this command would prove controversial - it's useful but almost TOO useful: I could imagine it being used to automate gameplay actions that would normally require precise timing.