My Half-Life (Goldsource) Mod doesn't wo Created 9 years ago2014-08-27 12:20:50 UTC by RollingBarrel RollingBarrel

Created 9 years ago2014-08-27 12:20:50 UTC by RollingBarrel RollingBarrel

Posted 9 years ago2014-08-27 12:20:50 UTC Post #321477
Ok...
I'm trying to make a "base" mod so I can use it as a base for my other mods, rather than constantly making all those directories and things;
but whenever I try to make it for Steam's Half-Life, it never loads my maps or splash screen or anything. It's deceiving too, because in my games library the mod DOES show, but simply loads normal Half-Life! My liblist.gam file in my mod directory says this:

(EDIT)
game "My Mod"
startmap "train1"
trainmap "train1"
type "Single"
version "1"
hlversion "1122"
type "Single"
mpentity "info_player_deathmatch"
cldll "0"
gamedll "hl.dll"

I have the map in steamapps/Half-Life/valve/maps and I have it in steamapps/half-life/Mod Base/maps too. To load the map you actually have to type in "map train1" in the console, because when I open up my mod and start "new game" or "training room" it simply chooses Half-Life's default maps, not mine.

However, I have several Half-Life mods (not mine) which work absolutely fine- such as Azure Sheep, Big Scientists, and BlackOPS.

Any ideas on why? Also, my Half-Life runs on the WON file system- there's no .pak files. But it also appears to work WITH .pak files, as Azure Sheep and POV use a .pak file. I've tried my mod with and without a .pak file for my maps, but it still won't work.

Any help or tips would be awesome. Thanks!
  • Rolling Barrel
RollingBarrel RollingBarrellearning in progress
Posted 9 years ago2014-08-27 12:23:28 UTC Post #321478
Oops! The title doesn't fit!
Also one of the parts that says type "single" has been changed to "single_player_only". Still no success!
RollingBarrel RollingBarrellearning in progress
Posted 9 years ago2014-08-27 13:31:08 UTC Post #321480
Are you working within a Half-Life directory in your steamapps/username or your steamapps/common folder?
Valve recently moved all their games to the common dir, but some legacy remains in the username folder which might be why the mod still appears even though it's pointing to HL. Exe in your common folder... That's my theory anyway :P
Archie ArchieGoodbye Moonmen
Posted 9 years ago2014-08-27 13:37:54 UTC Post #321481
You're missing the 'gamedir' key in your liblist.gam file. It holds the name of your mod folder, for example, if your mod resides in my_mod, the gamedir key would be:

gamedir "my_mod"

You should not use spaces in your mod folder.

If you're making a singleplayer mod, the mpentity key is not needed.

Also make sure that the map 'train1' is placed in my_mod/maps. Then it should load fine.

Splash screens in Steam HL are set up differently, see: http://twhl.info/tutorial.php?id=96
The Mad Carrot The Mad CarrotMad Carrot
Posted 9 years ago2014-08-28 01:14:23 UTC Post #321492
I agree with both Archie and Atom.

The new SteamPipe now reads through the "common" folder.
And yes, Mod's folder names can't have spaces (just underscores "_" or minuses "-" if you want to separate words).

For your better understanding, this is the liblist of a Mod I'm working on:

game "Dreaming Awake" <--- (Name seen in the Steam's Library)
gamedir "dreaming_awake" <--- (Name of the Mod's folder)
url_info "www.whatever.lol" <--- (Optional)
url_dl "www.whatever.lol/download_meh.rar" <--- (Optional)
version "v1.0"
size "60"
version "1107"
gamedll "dlls\da.dll"
mpentity "info_player_deathmatch" <--- (If it's just a SP Mod, this is optional)
startmap "da_intro"
nomodels "0"
type "Single/Coop"
trainmap "da_tutorial1"
cldll "1"
svonly "0"

With something like this, you'll be sure to see your Mod running properly on Steam and WON HL.

Hope it helps. :)
Alberto309 Alberto309weapon_spaghetti
Posted 9 years ago2014-08-28 11:29:09 UTC Post #321496
Thanks guys! I didn't realise you weren't supposed to have spaces, and I didn't notice a "gamedir" in the liblist.gam of some mods I have - actually, POV - Point Of View doesn't have one (Yet it works?) so I disregarded it.
Thanks! I'll write stuff about my base mod in a new thread or journal entry at some point or other if you wanna know more about it, and my other ideas.

Many Thanks! :D

[EDIT]

IT WORKS! YEAH!!! I wasted a lot of time trying to figure out the problem by myself- Thanks Atom, Archie and Alberto! I wish you well in your mapping and modding.
RollingBarrel RollingBarrellearning in progress
Posted 9 years ago2014-08-28 22:30:22 UTC Post #321513
Anytime, RollingBarrel! :)

And thank you too!

If you encounter any other problem, don't hesitate to ask us. :)
Alberto309 Alberto309weapon_spaghetti
You must be logged in to post a response.