As mentioned in TF2 Issues, Valve in its usual bout of ignorance has decided to break yet another useful command, this time the "wait" command. So now I am on the hunt for any similar commands to use in place of it in TF2. Unfortunately however, I do not actually own TF2 as of yet and need the help of the community in finding a suitable alternative.
If you own TF2 you can help by:
• testing the "wait" command: use it once, multiple times (i.e. try 2000 waits at once) and post the duration of its effects (if any) on the game.
• enter "help wait" in console to see if any useful help text on using the "wait" command has been provided by Valve devs.
• enter "find wait" to see if you can find any commands related to "wait" (i.e. find any possible substitutions).
• explore/experiment with related commands found.
Even if you don't own TF2, you can help just by keeping your eyes open and/or spreading the word on any gaming forums you frequent to see if any others are experiencing similar problems and have any solutions for them.
Thanks
(Solved!) Suggestions for TF2 "wait" Command
Re: Suggestions for TF2 "wait" Command
Valve has changed the way 'wait' commands are used in the new source engine. Simply by typing 'wait' followed by a number, the game will wait that many frames.
Example, if you want the game to wait 3 frames between two commands:
command; wait 3; command
Simply entering 'wait' without any numbers will be ignored by the game.
Hope this helped you.
Example, if you want the game to wait 3 frames between two commands:
command; wait 3; command
Simply entering 'wait' without any numbers will be ignored by the game.
Hope this helped you.
Re: Suggestions for TF2 "wait" Command
Very much so, thanks! Someone mentioned it earlier, though I've tried it with no avail in CSS; howevewr now that you mention it again, I believe it may be TF2-specific. Either way, this is very helpful, I should be able to come up with a solution soon. Thanks!
Re: (Solved!) Suggestions for TF2 "wait" Command
Actually, I've figured out a hack around this.
I stuck that in my custom file. The reason is that the OB engine's commands seem to be 'threaded' now, which is to say that something like:
would output one! and two! 10 ticks apart for test1, while test2 will output one! and two! instantly.
Code: Select all
alias hldj_select_dir "hldj_select_file; exec hldj_unquickselect.cfg; wait 60; exec hldj_quickselect.cfg; hldj_custom_selectdir"
alias listaudio "wait 60;hldj_curdir; hldj_curaudio;exec hldj_listaudio.cfg; hldj_custom_listaudio"
Code: Select all
alias test1 "echo one!;wait 10;echo two!"
alias test2 "echo one!;tenwaitthing;echo two!"
alias tenwaitthing "wait 10"
Re: (Solved!) Suggestions for TF2 "wait" Command
I've implemented a solution with a result similar to what you've got there (good eye, by the way); except that most instances of hldj_wait have become "hldj_wait; wait 80" (for Source games only). This is because hldj_wait still needs to be present for pre SDK2007 games.
I'm holding off on the next release because I still have some other fixes I'd like to get in; however, since you seem to be keen on the issue, here's a binary you can use to test the fix (along with http://www.hldj.org/forums/viewtopic.php?f=5&t=287 and some others):
http://hldj.org/hldj_1.4.11.exe
I'm holding off on the next release because I still have some other fixes I'd like to get in; however, since you seem to be keen on the issue, here's a binary you can use to test the fix (along with http://www.hldj.org/forums/viewtopic.php?f=5&t=287 and some others):
http://hldj.org/hldj_1.4.11.exe
- SpongeCraft1212
- Game DJ
- Posts: 4
- Joined: Sun Apr 08, 2012 6:22 pm
Re: (Solved!) Suggestions for TF2 "wait" Command
Well, Garry's Mod 13 has this issue. Maybe you can fix that so you can micspam on the beta on Garry's Mod.
-
- Game DJ
- Posts: 2
- Joined: Sun Sep 30, 2012 10:22 pm
Re: Suggestions for TF2 "wait" Command
I was interested in trying to implement a delay in a .cfg file for CS:S. My understanding is that the "wait" command is completely gone. Is hldj_wait simply an alias for a series of wait commands?Renegade wrote:Very much so, thanks! Someone mentioned it earlier, though I've tried it with no avail in CSS; howevewr now that you mention it again, I believe it may be TF2-specific. Either way, this is very helpful, I should be able to come up with a solution soon. Thanks!
Thank you in advance for your help.
Re: (Solved!) Suggestions for TF2 "wait" Command
the wait command has changed syntax for OrangeBox becoming wait X where X is number of frames. HLDJ uses both syntaxes, but yes, hldj_wait is an alias for the original wait syntax (using multiple waits). Note that as in topic, the new syntax will not introduce any delay if called from another alias. I don't recall off-hand which syntax CS:S uses, you can check the generated hldj_init.cfg for ideas.