Mod wizard complete

From Valve Developer Community
Revision as of 19:24, 23 August 2005 by JeffLane (talk | contribs) (ported page from old site)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



You have successfully completed the Mod Wizard.

Note: this document refers to your mod install directory as <mod directory>. For example, if you entered C:\Program Files\Valve\Steam\SteamApps\SourceMods\MyMod in the Mod Wizard, and this document mentions <mod directory>\bin, then the directory being referred to on your hard drive is C:\Program Files\Valve\Steam\SteamApps\SourceMods\MyMod\bin. This document also refers to your mod name (which you entered in the mod wizard) as <mod name>.

The Mod Wizard has created these subdirectories under your mod install path.

Directory Purpose
bin This directory contains batch files that you can use to run tools to edit your mod. It also is the place where tool executables will be built.
<mod name> This directory contains all the content for your game, including maps, models, sounds, materials, weapon scripts, VGUI interface scripts.
src This directory contains all the source code to your mod. The best place to start in here is to open game_sdk.sln inside Microsoft Visual Studio .NET (see below for info on how to compile).
src\utils The utils directory under src contains source for all the utilities used to build and compile content for a mod. If you open src\everything_sdk.sln in Microsoft Visual Studio .NET, you can compile all the tools and game source code from one place.

Where To Start

Here are some ways to start making additions to your mod.

Make your first Half-Life 2 change

Note: this step only applies if you chose the "Modify Half-Life 2" button in the mod wizard.

To make your first Half-Life 2 change, walk through the steps in the My First Mod.

Add Content to Your Mod

If you're modifying Half-Life 2, your content should go under <mod directory>\hl2. If you're building your mod from scratch, then your content should go under <mod directory>\<mod name>.

See Also

Category:Programming

Installing and Debugging the Source Code