Post tutorial Report content RSS feed How to create a Source Engine mod. Properly.

Hello people! Welcome to my first tutorial! I am going to tell you how to start creating a Source Engine mod. Properly. Make sure you have a Source game first. Single player.

Posted by on - Intermediate Starting a mod

1. Make sure you have Steam. Install it if you don't.
2. When in Steam, go into your library, and change the menu next to search to "Tools".
3. Find Source SDK. Install it if you don't have it.
Split Point. If you have Source SDK Base 2006/7 then skip to step 6. If not, continue.
4. Install Source SDK Base 2006.
5. Install Source SDK Base 2007.
6. Make sure you have run the game you are going to mod for once.
7. Open Source SDK. If it is your first time opening it, wait for a long time while it copies files.
8. Change the box that says Source Engine 2006/7/9/MP to Source Engine 2007.
9. Click on Create a Mod.
10. Select Half-Life 2 Single Player then press ok. Name it and whatnot. Press ok again.
11. Wait. If you play Portal, make a cake, as then it isn't a lie. :D
12. When it finishes, press...ur. Finish?
13. Change the Source Engine 2007 box to Source Engine 2009.
14. Open up the Hammer Editor for whatever Source GAME you have.
15. Click on Tools>Options.
16. Under the Game Configurations tab, press edit where is says the name of the game you opened Hammer for.
17. Press add. Type in the name of the mod.
18. Press ok.
19. Now this is where it gets tricky. Select your new configuration, and where it says game data files, press Add.
19b. Go to Steam\steamapps\[your login name]\sourcesdk\bin\source2009\bin\[the name of the game that the mod is modding for].fgd
20. Before we do anything else, in your web browser, open a new tab and copy this in. Developer.valvesoftware.com
21. Now go to Steam\steamapps\sourcemods\[your mod name] and open gameinfo/GameInfo.txt.
22. Now select the number after

HLCRAZY wrote: SteamAppId

and change it to whatever the number of the game is (on the website) that you are modding for.
23. Now go back to hammer, and change the default "point entity" to an info_player_start, and change the default "solid entity" to a func_detail.
24. Change the game executable directory to

HLCRAZY wrote: $SteamUserDir\Source SDK Base 2007

and the Game Directory to

HLCRAZY wrote: $SteamDir\steamapps\sourcemods\[your mod name]

and the Hammer VMF Directory to

HLCRAZY wrote: C:\Users\[your computer user name]

That should make it so that the uncompiled levels you make go to your Personal Folder, but feel free to change that to wherever you want.
25. Now go to the "Build Programs" tab, and change the Game Executable to

HLCRAZY wrote: $SteamUserDir\Source SDK Base 2007\hl2.exe

and the VBSP directory to

HLCRAZY wrote: $SteamUserDir\sourcesdk\bin\source2009\bin\vbsp.exe

and the VVIS directory to

HLCRAZY wrote: $SteamUserDir\sourcesdk\bin\source2009\bin\vvis.exe

and the VRAD directory to

HLCRAZY wrote: $SteamUserDir\sourcesdk\bin\source2009\bin\vrad.exe

and for "Place compiled maps in this directory" do

HLCRAZY wrote: $SteamDir\steamapps\sourcemods\[your mod name]\maps.

Now in theory, that should be all you need to do!
26. Make sure everything is ok, then change the configuration back to the game you opened hammer with and close.
27. Back at the launcher, select "Edit Game Configurations" and press add.
28. Enter the name of your mod and the mod directory, press ok and when it's done, exit Source SDK and FULLY CLOSE Steam down.
29. Reopen it, and your mod should be there!

Congratulations!
This tutorial was made by HLCRAZY. Moddb.com

Comments
deadrawkstar
deadrawkstar

would you be interested in doing more tutorials?

Reply Good karma Bad karma+6 votes
HLCRAZY Author
HLCRAZY

sure, I'd do tutorials anytime for anyone

Reply Good karma+4 votes
gearlord707
gearlord707

thanx.....please post similar tutorial for half life1...if u have

Reply Good karma Bad karma+2 votes
HLCRAZY Author
HLCRAZY

I'm not sure about hl1, sorry gearlord (shall i call you that?)
i take it this does work then, that's good.
sorry though, i can do goldsrc mapping, but i have no idea how to make a goldsrc mod. sorry D:
i have some video tuts up as well, but my voice is squeaky :D
Moddb.com
Thanks for your intrest :D

Reply Good karma+1 vote
Loxagos_Snake
Loxagos_Snake

Useful tutorial, I have a question though. Are this steps for creating a Total Conversion or modding a specific game? I have a feeling that actually these two mean the same, so excuse me if it's stupid!

Reply Good karma Bad karma+1 vote
HLCRAZY Author
HLCRAZY

Hello Loxagos! (Sorry for the LATE reply -.-) Thanks for your comment, and I do believe they mean the same thing. It depends which game you are doing a 'Total Conversion' on.

Reply Good karma+1 vote
HoodedHero
HoodedHero

I couldn't do it. Thank you good sir anyway, but I could not fix it or start it. Thanks though =)

Reply Good karma Bad karma+1 vote
RedOctober2131
RedOctober2131

Omg man i could not create the mod on source 2007 because the grid was black and now everything works thanks to your tutorial!!! your the best!!! i can make mods now for the best fps in the world!!!

Reply Good karma Bad karma+2 votes
Smoke_N_Iron
Smoke_N_Iron

Doesn't matter anymore the thing is busted because of Valve ****ing things up again with Steampipe being 'better'. Source SDK Launcher is obsolete. Mods will no longer have a valid config, mods will launch with a white screen and crash because of a random missing texture. Thank you Valve ya **** ups!

Reply Good karma Bad karma+1 vote
Gkthepwner
Gkthepwner

Use Source 2013 and quit bitching, then. Besides, all you have to do is edit a few lines in gameinfo.txt and the mods works again.

Reply Good karma Bad karma0 votes
Smoke_N_Iron
Smoke_N_Iron

Tell me then please if that's all that needs to be done. This way I can get my mod going and my friend Zombie_Expert cannot complete his mod Resident Evil Fall of Raccoon City because of the white screen crash, and the config issue.

Reply Good karma Bad karma0 votes
Guest
Guest

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

Guest
Guest

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

ketro123
ketro123

Can someone say me , what is number for Half Life 2 in part 21. ?

Reply Good karma Bad karma+1 vote
Guest
Guest

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

Sockman111
Sockman111

I need help!!! whenever I run my mod, It shows a white screen while playing the valve intro music, then crashes if I try to skip or if I sit through the intro.

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.

Tutorial
Browse
Tutorials
Share
Related Games
Half-Life 2
Half-Life 2 First Person Shooter
Half-Life 2: Episode One
Half-Life 2: Episode One First Person Shooter
Half-Life 2: Episode Two
Half-Life 2: Episode Two First Person Shooter
Related Engines
Source
Source Commercial
Related Groups
Valve
Valve Developer & Publisher