Selecting a file by name in console

Help with using HLDJ
Post Reply
SamusGG
Game DJ
Posts: 2
Joined: Mon Jun 25, 2012 10:56 am

Selecting a file by name in console

Post by SamusGG »

Hi there,

I want to know how to select a specific file by name, just by typing in console

I have a folder on my Desktop called "New", and inside are the songs i use for hldj.

If I wanted to play the song "Toys" from this folder without having to type "la" and looking for the number of the song, how do I do this?

I don't want to bind a key to pick it, I just want to be able to search for the song by typing a command in console because I have a lot of songs in the "New" folder.

Let me know if you can help, thank you!
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Selecting a file by name in console

Post by Renegade »

enter 'hldj2' and 'hldj3' in-console for in-game help.

i.e. to search for "some file" in the current audio directory:

Code: Select all

bind = some*file; hldjsf
or to always search from the "New" sub-directory:

Code: Select all

bind = $\New\some*file; hldjsf
SamusGG
Game DJ
Posts: 2
Joined: Mon Jun 25, 2012 10:56 am

Re: Selecting a file by name in console

Post by SamusGG »

So that's the only wait to do it, so really that isn't any faster than just looking for the file among the list, all it's good for is for binding a key to find a song really
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Selecting a file by name in console

Post by Renegade »

it's only as fast as you can type (as is the case with any search).

if you have a key bound to hldjsf, then you only need to type

Code: Select all

bind = some*search*string
and then hit your hldjsf key.
trevor155a
Game DJ
Posts: 1
Joined: Wed Jul 25, 2012 8:15 pm

Re: Selecting a file by name in console

Post by trevor155a »

Can you explain that a little easier to understand because I want to change the directory to "C:\Users\Trevor\Desktop\HLDJ audio" in the Console.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Selecting a file by name in console

Post by Renegade »

trevor155a wrote:Can you explain that a little easier to understand because I want to change the directory to "C:\Users\Trevor\Desktop\HLDJ audio" in the Console.

Code: Select all

bind = "C:\Users\Trevor\Desktop\HLDJ*audio"; hldjsd
Post Reply