Jump to content

[Share]How to auto play music through CSS


Recommended Posts

There is a program call HLSS which allows you to play music through CSS without using a microphone and everyone in the sever can hear your music

 

First of all you will need there following programs:

HLSS 3.0 -The main program used to play .wav files over the microphone in Steam.

dbpowerAMP - he program used for converting wav files correctly so they play clearly over the microphone. To learn how to use this program to convert wavs, see the converting wavs article. You must convert every wav as shown in this article in order for it to play correctly over the microphone.

Goldwave - The program used for reducing the bass and volume within a song. To learn how to use this program to reduce the bass and volume, see the Bass / Volume tutorial.

 

you can obtain them here: www.hlss.us - Downloads

 

To install it (this is the instuctions for CSS not 1.6 or CS however you can obtain them in the same site)

 

Note: before you go any further if you do not have counter-strike source and instead you have CS or 1.6 please use the other insturctions here: www.hlss.us - Setup HLSS

 

Step 1

- Navigate to the following folder on your computer: SteamApps\account-name\counter-strike source\cstrike\cfg. This is obviously not the full folder because it depends on where you installed Steam. Once you are in the correct folder, look for a file called autoexec.cfg. If you do NOT see it, download it by clicking here, and then place it in the folder mentioned above (in green), then skip to step 2 and ignore the rest of this step.

 

If you DO have it, add the following lines of text to the bottom of it (you can do this by opening the file in notepad):

 

alias hlss-START "voice_inputfromfile 1; voice_loopback 1; +voicerecord; alias ToggleWAV hlss-STOP"

alias hlss-STOP "voice_inputfromfile 0; voice_loopback 0; -voicerecord; alias ToggleWAV hlss-START"

alias ToggleWAV "hlss-START"

voice_fadeouttime 0

 

Now save and close the file.

 

Step 2

- If you don't have HLSS downloaded, you can get it from the Downloads section. Once you have HLSS, open it and go to File > Options. Now click the 'browse' button in the window that pops up, and locate the following folder: SteamApps\account-name\counter-strike source

 

This is your game directory folder. Once you have found it, click OK, and then OK again to close the options window.

 

Step 3

- Start up Counter-Strike: Source, and open your console (by tapping ~).

If your console does not open up when you press ~, you will have to enable it. You can do that by clicking Options on the main menu, then click the Keyboard tab, then click the Advanced button in the next window, and finally check the second box that says "Enable Developer Console (~)". Now click OK on all of the windows to close them. Now when you press ~, your console should open.

 

Step 4

- Type the following line in to the console, and hit enter:

bind del "ToggleWav"

 

This will make it so when you tap the Delete button, the wav will start playing, and when you tap it again while the wav is still playing, the wav will stop. So basically, Delete will be your Start/Stop button.

 

Step 5

- Now that you have setup HLSS for Counter-Strike: Source, you are going to need to add some .wav files to your HLSS playlist. It is VERY important that EVERY sound file is converted EXACTLY as shown in the converting wavs article before you attempt to add it to your playlist, or play it in the game. We will move on assuming you have some converted .wavs already. Be sure HLSS is open, and click the green plus on the program interface.

 

Step 6

- A window will pop up asking you to locate a .wav file to add. Find one, and then give it a shortcut key. This shortcut key is used to switch the song in game. It's important to remember that shortcut keys do not actually play the song, they just switch the song. Delete is your Start/Stop key.

 

Step 7

- The function keys (F1 - F12) are common shortcut keys people use in HLSS because they are not bound to anything in most Steam games (by default). You can use any key you want though as long as it's not bound to anything else.

 

Step 8

- Now before you can go into a game and start playing your sounds, you need to activate HLSS. To activate it, click the thumbs up button . If you wish to add more wavs later on, or change any HLSS settings, you must first deactivate HLSS by clicking the thumbs down button .

 

Step 9

- Now just start up your game so we can go test HLSS. If it was already open, you may want to restart the game real fast to ensure the HLSS script (autoexec.cfg) loads itself.

 

 

Step 10

- Once you are in the game, and actually playing at a server, press the shortcut key to one of your wavs. In the picture below, you can see after you press the shortcut key a little black bar appears that shows the wav's full file location (this black bar will only show up in Source games for a split second). This means that this .wav file is ready to be played. The black bar is also helpful because you can tell which .wav file is assigned to a certain shortcut.

 

 

Step 11

- If you set up everything correctly, you should be able to tap 'Delete' and hear your sound playing!

 

If you are really in trouble just watch this video

 

YouTube - HLSS tutorial

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...