Introduction
HLamp is a small WinAMP plug-in that allows Half-Life
players to control WinAMP from inside Half-Life using the Command Menu or bound
keys. With HLamp you can play, pause,
stop, change the volume, load songs and Shoutcast streams, and much more, all
from within Half-Life.
Requirements
- Any version of
Windows—Windows 95, 98, Millennium, NT, 2000, and XP should run HLamp
fine.
- Half-Life 1.1.1.0—No other
versions of Half-Life will work with HLamp.
- WinAMP 2.4+ or 3.0—Any recent
version of WinAMP will work fine.
Go to www.winamp.com for the
latest version.
Note: There are different setup
instructions for WinAMP 2.x and WinAMP 3.
WinAMP 3 requires a separate component to load HLamp because WinAMP
3 uses a different plug-in system than WinAMP 2.x. Read the ”WinAMP 3 Setup” section below for more info.
WinAMP
2.x Setup
- Extract GEN_HLamp.dll to your
WinAMP\Plugins directory. A common
location for the Plugins directory is C:\Program
Files\WinAMP\Plugins.
- Restart WinAMP.
WinAMP
3 Setup
- Download and install the
WinAMP 2 Plug-in Manager from:
http://members.telocity.com/~schweitn/wa3/wa2mgr/index.html
- Create a new directory called
C:\HLamp\ and extract
GEN_HLamp.dll to that directory. C:\HLamp\GEN_HLamp.dll
- Run WinAMP 3 and press
Ctrl+P. Scroll down to “Winamp 2x
Plugins” in the list on the left.
- Type C:\HLamp\ in the “New Search Path” boxm located in the “Plugin
Path” tab. Click Add.
- Restart WinAMP.
Command
Menu Setup
- Copy commandmenu.txt to your
Counter-Strike directory. For
example:
C:\Sierra\Half-Life\cstrike\commandmenu.txt
If you are using Day of Defeat or Team Fortress Classic then you’ll have
to use the command menus from the “Other Command Menus” directory.
- This step is optional, but it
makes HLamp much more useful. You
can add songs to your Command Menu by editing the bottom of
commandmenu.txt in your mod’s directory.
I’ve provided a couple examples at the bottom of the Command Menus
included with HLamp. You can add
your own entries. Follow the
example.
Note: If you have a custom
commandmenu.txt just copy and paste the “WinAMP” section to the end of
your commandmenu.txt. If you have
a custom command menu you should know how to do this. If you don’t know how, kindly refrain
from asking me. Ask on the HLamp
forums. If you don’t know what I’m
talking about, ignore this note.
Half-Life
Setup
- Bind a key to
“+commandmenu”. For example, go to
the console type:
bind P +commandmenu
Using
HLamp in Half-Life
- Make sure WinAMP and
Half-Life are running.
- Press the key you bound to
“+commandmenu”. The Command Menu
will pop up. Use the menu items in
the WinAMP menu to control WinAMP.
Legal
Information
This software is provided “as-is”, without express or
implied warranty. In no case will the
author be held liable for any damages arising from the use of this
software. This software may be freely
redistributed, but it may not be modified in any way without the author’s
permission.
HLamp may not be packaged with other software (or anything else for that
matter) without my consent. If you’d
like to include HLamp with your script or program just email me (disk2@cscentral.com) and I’ll most likely
say OK. I just like to keep track of
which scripts include HLamp.
By using HLamp, you agree to abide by the terms listed
above.
Miscellaneous
Thanks to [PacoM]Noble[CSR] (Clan PacoM, #PacoM on
GamesNET) for asking me to write this plug-in.
Thanks to [PacoM]Marsellus[CSR] and Keyser Soze for a few great feature
suggestions. As always, thanks to CS
Central’s uber-1337 German Webmaster, Sebastian, for hosting HLamp on CS
Central (http://www.cscentral.com).
And finally, thanks to Brutus, Spellbinder, Crack, the CS Radio guild, Clan PacoM,
Piro!!!, and whoever else I forgot to put in the readme (sorry!) for beta
testing HLamp. Did you beta test
Half-Life? Not in the readme? Send me hate mail! hatemail@cscentral.com.