Page 1 of 1

Making the Audio List more Viewable

Posted: Sun Feb 15, 2009 4:58 pm
by mamoon0
For some reason when I copy that exact line into console in steam, I just have a blank where the ` key is supposed to be. Do you have any fixes for this renegade? It would be nice to have my audio listed when I hit the console button. Thanks in advance.

mamoon0

P.S. I love HLDJ, its great!

[note: split from original topic in Tips & Tricks forum]

Re: Making the Audio List more Viewable

Posted: Sun Feb 15, 2009 5:55 pm
by Renegade
Hmm, that's odd. No matter, the best place to put this line is in your hldj_custom.cfg file.

Re: Making the Audio List more Viewable

Posted: Tue Feb 17, 2009 3:19 pm
by mamoon0
No luck. Perhaps I am doing something wrong? I have that command and your volume command and nothing seems to work. here is how my hldj_custom.cfg file looks:

Code: Select all

// Place all your custom configurations and commands for HLDJ in this file.
// It will be copied, loaded, and executed when a game is started with HLDJ.
// All other files in this folder will also be copied to the game directory.

bind "`" "toggleconsole; la"

// Renegade's volume script
// set initial volume to 0.5 (or whatever you want)
volume 0.5

// set initial up/down aliases to 75/25 (or whatever you want)
alias game_volume_up vol_75
alias game_volume_down vol_25

// for each volume level, set a new volume, echo what the current level is,
// and specifiy which is the next level up and down.
alias vol_0 "volume 0.00; echo volume 0%; alias game_volume_up vol_25; alias game_volume_down vol_0"
alias vol_25 "volume 0.25; echo volume 25%; alias game_volume_up vol_50; alias game_volume_down vol_0"
alias vol_50 "volume 0.50; echo volume 50%; alias game_volume_up vol_75; alias game_volume_down vol_25"
alias vol_75 "volume 0.75; echo volume 75%; alias game_volume_up vol_100; alias game_volume_down vol_50"
alias vol_100 "volume 1.00; echo volume 100%; alias game_volume_up vol_100; alias game_volume_down vol_75"

// binds keypad up/down arrows to volume up/down
// set to whatever keys you want
bind KP_UPARROW game_volume_up
bind KP_DOWNARROW game_volume_down
Any ideas?

Thanks.

mamoon0

Re: Making the Audio List more Viewable

Posted: Wed Feb 18, 2009 2:52 am
by Renegade
Hmm, it appears some games (i.e. CSS) prevent the "`" key from being rebound. I've tried it in CSS and L4D, it works in L4D, but either way you can always rebind it to any other key. The volume script works fine as well. What game are you using this with?

Try entering "bind KP_UPARROW" in console and see what it tells you its bound to. If it says "game_volume_up" then everything's good. If not, enter "exec hldj_custom.cfg" and try again.

(remember numlock will need to be on if you've bound it to this key)

Re: Making the Audio List more Viewable

Posted: Wed Feb 18, 2009 4:16 pm
by mamoon0
The volume script works. Now I just can seem to get the console to open up with la. I have bound it to another key, F1, and I know I did it right because the console returns with "Unknown Command "la"". What I entered exactly was:
bind F1 "toggleconsole; la". It still refuses to work even after I execute the custom cfg. I even replace "la" with "listaudio".
Anyway, if it doesn't work no problem. Thanks for the great program.

mamoon0

*EDIT* Nevermind, I got it to work. Thanks again and disregard.

Re: Making the Audio List more Viewable

Posted: Thu Feb 19, 2009 8:57 pm
by Renegade
no prob.