Post tutorial Report RSS 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

Post comment Comments
deadrawkstar
deadrawkstar - - 396 comments

would you be interested in doing more tutorials?

Reply Good karma Bad karma+6 votes
HLCRAZY Author
HLCRAZY - - 38 comments

sure, I'd do tutorials anytime for anyone

Reply Good karma+4 votes
gearlord707
gearlord707 - - 5 comments

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

Reply Good karma Bad karma+2 votes
HLCRAZY Author
HLCRAZY - - 38 comments

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 - - 1 comments

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 - - 38 comments

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 - - 3 comments

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 - - 6 comments

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 - - 8 comments

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 - - 25 comments

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 - - 8 comments

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 - - 689,166 comments

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

Guest
Guest - - 689,166 comments

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

ketro123
ketro123 - - 5 comments

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

Reply Good karma Bad karma+1 vote
Guest
Guest - - 689,166 comments

220
for hl2:deathmatch 320

Reply Good karma Bad karma+1 vote
Sockman111
Sockman111 - - 71 comments

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
Union_of_Universes
Union_of_Universes - - 84 comments

I don't have gameinfo.txt. Why?

Reply Good karma Bad karma+1 vote
BAMBOI
BAMBOI - - 16 comments

I need help with step 10th. I cannot select Half life 2 singleplayer option, any tips or hints? Anything?

Reply Good karma Bad karma+1 vote
xxekho25xx
xxekho25xx - - 1 comments

Any fixes for the white screen bug?

Reply Good karma Bad karma+1 vote
AlphaWalker
AlphaWalker - - 3 comments

When I launch my mod it displays a white screen then crashes and shows the following text:
"Could not find file "ep2/resource/console/background01.vtf""
Please help me!

Reply Good karma Bad karma+1 vote
Absolute_Lambda
Absolute_Lambda - - 62 comments

Question, when I boot up my SDK 2007 mod I made from a template, it just crashes after the valve intro, why?

Reply Good karma Bad karma+1 vote
aaaaaaabutmoddb
aaaaaaabutmoddb - - 5 comments

Does this still work for 2021? Or do you have any other tutorials that you know of that would work?

Reply Good karma Bad karma+1 vote
imakestuff
imakestuff - - 16 comments

Source SDK is not available for mac and linux. I'm a mac user, so if you're trying to make something like this on a device other than windows, i suggest wine.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 689,166 comments

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

Crusticheese
Crusticheese - - 1 comments

Hey, I might be a BIT late to the discussion, but when I go to the file directory of page 21 using file explorer, the mod was never made there. Am I missing something? was I meant to use something else to find the file?
Please respond ASAP.

Reply Good karma Bad karma+1 vote
Post a comment

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