Post feature Report RSS Half-life 2 - Using Custom Content with Mods

A little simple tutorial on how to get your custom content working with mods, without having to copy and paste all your stuff to every mod folder.

Posted by on

If anyone wants to use custom stuff with their mods, create a folder called custom inside Half-life 2/hl2 and/or inside the ep2 and episodic folder. Never simply put models/materials/sounds inside the custom folder, you must make your own folder inside there first!

For example: ep2/custom/my_custom_folder

Then just open up a sourcemod's gameinfo.txt and add this:

game+mod ep2/custom/*
game+mod episodic/custom/*
game+mod hl2/custom/*

Make sure it goes before any other game+mod or game_lv listed there, in order to make sure that the custom stuff loads first, otherwise standard hl2, ep1 and ep2 valve stuff will end up being used.
It will load all the custom content in all your custom folders. If you don't wish for all of it to be used then you can simply replace the asterix with the actual name of the folder you want used inside the custom folders.

For example: game+mod ep2/custom/freddymercurys_custom_stuff

Please note that this functions in the same way the hl1 system worked. So that if a mod has its own custom content, than that will be used instead of your custom version. So if a mod has its own pistol model, if you want your custom pistol to be loaded you'll have to manually delete the files in the mods folder that you don't like.
Eg Personally I delete skill.cfg in a mods cfg folder so that I can keep my difficulty modification working.

Post comment Comments
Phraqzy
Phraqzy - - 11 comments

Many thanks!

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,776 comments

This comment is currently awaiting admin approval, join now to view.

Snowboy06_YT
Snowboy06_YT - - 6 comments

WOW




IM NOT A BOT

Reply Good karma Bad karma-1 votes
Ty_Nguyen
Ty_Nguyen - - 3 comments

It does not work for me :(

Reply Good karma Bad karma+1 vote
Vox0
Vox0 - - 4 comments

If the mod uses something like Source 2013, put the custom folder inside that. As mods will scan the source 2013.

So for example I wanted my custom folder for Coastline to Atmosphere which uses Source 2013. So i follow the guide above for the gameinfo.txt

But then I put my custom folder inside the source 2013 folder
Example: Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2\custom

This should work with other mods that use other Source SDK bases too.

Reply Good karma Bad karma+2 votes
Guest
Guest - - 690,776 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: