Post tutorial RSS Setting up a mod with the Source SDK 2013

Just follow through these two videos, and you will have a mod that you are able to add custom code into. Since The new 2013 version of the SDK just recently was released, I decided I wanted to update the community, in videoformat, just as last time, on how to set up a source mod for coding.

Posted by on - Basic Starting a mod

Part 1 - Downloads:

Part 2 - Setting up for debugging:

Hope these videos helped you along the way.
If you run in to any errors, contact me @ youtube or stektpotet

--

Setting up a Mod Normally:

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
sliznut
sliznut

Thanks for the vids. I was able to get my mod setup using these.

Reply Good karma Bad karma+1 vote
Liamv3God
Liamv3God

What game is this for ?

Reply Good karma Bad karma-1 votes
GamerDude27
GamerDude27

YOU CAN'T BE SERIOUS!

What did you think it was for?

Reply Good karma Bad karma0 votes
Boonie
Boonie

Half-Life 2. A new SDK for it was released.

Reply Good karma Bad karma+2 votes
ngbeslhang
ngbeslhang

Um... Techinally... I mean this is exactly NOT a game but a game engine.

Reply Good karma Bad karma+1 vote
xtmgmr
xtmgmr

Its for half life 2

Reply Good karma Bad karma+1 vote
Thall33
Thall33

Tutorial already outdated. Some settings are different now, and the code is more simplified. once you wrap your head around it, its pretty sweet. Looking forward to Source2 more, should be insanely easier to use.

Reply Good karma Bad karma+2 votes
xtmgmr
xtmgmr

Do you know where can I find a new tutorial?

Reply Good karma Bad karma+1 vote
RykahKnight
RykahKnight

yes, please tell us if you find an updated one!
I really want to code source mods!

Reply Good karma Bad karma+1 vote
Guest
Guest

can the mod run without having a source game installed?

Reply Good karma Bad karma0 votes
puledro94
puledro94

yes, you can

Reply Good karma Bad karma+1 vote
FaithNoMango
FaithNoMango

Thanks for the tutorial

Reply Good karma Bad karma+1 vote
NightMareMeScream
NightMareMeScream

C00L TuToRiaL....I like those videos..keep up the good work

Reply Good karma Bad karma+1 vote
Purple_Steve
Purple_Steve

Anyone who needs help just use microsoft vs2013 and download this version of sourcesdk2013
Github.com

Reply Good karma Bad karma+1 vote
FRICCABEAN
FRICCABEAN

it says im missing crashhandler.pdb?

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.