Page 1 of 1

Displaying the Current Audio in Source games

Posted: Mon Sep 08, 2008 10:52 pm
by Renegade
Displaying the current audio in non-source games is quick and easy because of the new on-screen display. However, in Source games the command to do this is not currently available and instead you must view the display through the console. A quick way of doing this is by binding a key as such:

Code: Select all

bind <key> "hldjca; showconsole"
(replace <key> with the key to bind it to).
This will automatically bring up the console for you and display the current audio (then hit escape to go back to the game). You can use this with almost any command in HLDJ that uses the console, such as listaudio, which could be bound as "la; showconsole" etc.
If you are using this for an HL1 game, then replace the command "showconsole" with "toggleconsole".

You can even go a step further and have the console open and close automatically:

Code: Select all

bind <key> "hldjca; showconsole; halfsec; halfsec; hideconsole; escape"
This will do the same as above, except it will automatically close the console and return you to the game after 1 second. You can add more/less "halfsec" commands to increase/decrease the amount of time the console is displayed for.

Re: Displaying the Current Audio in Source games

Posted: Tue Aug 25, 2009 2:26 pm
by Kramer
You can now bind them so HLDJ show the playing audio right in the chat:

Chat:

Code: Select all

bind <selectedkey> hldjsca
bind kp_minus hldjsca //Example
Team Chat:

Code: Select all

bind <selectedkey> hldjstca
bind kp_plus hldjstca