Pick up the crowbar of research scientist Gordon Freeman, who finds himself on an alien-infested Earth being picked to the bone, its resources depleted, its populace dwindling. Freeman is thrust into the unenviable role of rescuing the world from the wrong he unleashed back at Black Mesa. And a lot of people, people he cares about, are counting on him.

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.

Comments
Frazco
Frazco

Many thanks!

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Half-Life 2
Platforms
Windows, X360, XBOX, PS3
Developer & Publisher
Valve
Engine
Source
Contact
Send Message
Homepage
Half-life2.com
Release date
Game watch
Follow
Purchase
Feature
Tags
Feature, Mods
Browse
Features
Report
Report
Share
Related Games
Half-Life 2
Half-Life 2 First Person Shooter
Related Engines
Source
Source Commercial
Related Groups
Valve
Valve Developer & Publisher