$INSTALL_DIR
refers to the path of your Half-Life installation, assuming you kept the default installation directory, this is: C:\Sierra\Half-Life
valve
sub-folder, you'll find a file called liblist.gam
. Right click on it and select "Open With" and choose "Notepad", or a text editor of your choice. You'll see some text which reads:
// Valve Game Info file
// These are key/value pairs. Certain mods will use different settings.
//
game "Half-Life"
startmap "c0a0"
trainmap "t0a0"
mpentity "info_player_deatchmatch"
gamedll "dlls\hl.dll"
gamedll_linux "dlls/hl_i386.so"
Looks pretty simple, eh? Yeah right!$INSTALL_DIR
, and create a folder with the name of your mod. This won't be the final name, so abbreviate it if you wish. Now select the original liblist.gam
file, copy it, and paste the copy into the new directory.npp
, and put the liblist.gam
there.
You must create some more files for this to work. Go into npp
or whatever you have called your folder, and create a new folder. Call it cl_dlls
.$INSTALL_DIR\valve\cl_dlls
folder and Copy the client.dll
file and Paste it into your mod's cl_dlls
folder.dlls
. Go into the $INSTALL_DIR\valve
folder again and find the dlls
folder. Copy hl.dll
and paste it into your new dlls
folder.
You now only really need one thing. A maps
folder. Create one in your mod's folder.
liblist.gam
in your new mod's file.c0a0
to the name of the BSP. If you have created a training map, change t0a0
to the name of the trainmap's BSP.type "multiplayer_only"
This means that the New Game and Hazard course options on the main menu will be disabled. This also means you don't need a startmap and trainmap.liblist.gam
is something like this:
// Valve Game Info file
// These are key/value pairs. Certain mods will use different settings.
//
game "Nuclear Power Plant"
startmap "foyer"
trainmap "t0a0"
mpentity "info_player_deatchmatch"
gamedll "dlls\hl.dll"
gamedll_linux "dlls/hl_i386.so"
As you can see I left the original Training map t0a0
so the old Half-Life Hazard Course is available. And the first map that will run when I start my mod will be foyer
.hl.exe
(or hl.sh
on Linux) with the -game npp
argument.You must log in to post a comment. You can login or register a new account.
http://twhl.co.za/vault.php?map=4249
should be
gamedll "dlls/hl.dll"
edit: figured it out