How Can I Make a TF2 SourceMod?

Qersojan

L2: Junior Member
Sep 27, 2015
54
4
I want to learn how one would go about creating a sourcemod like TF2Classic. Like a separate version of TF2 where I can create classes, make balance changes, make new weapons, remove weapons, edit the gui, ect. Can someone point me to the tools needed and a general idea of how to navigate, edit, save, and play such a mod?

I understand very few people may know how to do this, and I also know that I currently may not have the resources and people to actually finish a full source mod at the moment. However the first step is obviously learning how to make one. So any help would be appreciated. Thanks
 

iiboharz

eternally tired
aa
Nov 5, 2014
857
1,291
Hey, former project lead on TF2Classic here.

TF2Classic is based off a leak of the original Orange Box version of TF2's source code, and it runs on Source 2013. I'm not actually sure myself where to get this code as I wasn't the person who started the project, but you definitely won't find it here. You would probably be best off asking in the TF2Classic thread on Facepunch.

Just keep in mind that since you would be working off of the original release's code, it will be exactly the way it functioned upon launch in 2007. That means all the bugs that have been patched, and any changes to the code in general will not be there, you'll have to do this yourself. Alternatively, you could fork the last publicly available build off of the old TF2Classic Github, though since then the code has gone private and any of their newer fixes/changes are not available there.

Hope this helps!
 

Qersojan

L2: Junior Member
Sep 27, 2015
54
4
Hey, former project lead on TF2Classic here.

TF2Classic is based off a leak of the original Orange Box version of TF2's source code, and it runs on Source 2013. I'm not actually sure myself where to get this code as I wasn't the person who started the project, but you definitely won't find it here. You would probably be best off asking in the TF2Classic thread on Facepunch.

Just keep in mind that since you would be working off of the original release's code, it will be exactly the way it functioned upon launch in 2007. That means all the bugs that have been patched, and any changes to the code in general will not be there, you'll have to do this yourself. Alternatively, you could fork the last publicly available build off of the old TF2Classic Github, though since then the code has gone private and any of their newer fixes/changes are not available there.

Hope this helps!

This is very helpful info. I wasnt aware that TF2Classic built up from the release code. It would be much more difficult for me to work with the release code for what I plan to do. So is there no possible way to obtain the source code for a recent version of TF2?, because if not then it probably would be easier to branch a mod off of the TF2Classic source code like you suggested.

Since you worked on TF2Classic, can you share some of the tools you used to make things for TF2Classic and other tips that could help me get started modding the TF2Classic code? I really like TF2Classic btw, dont worry I will give full credit to the TF2Classic team too if I do decide to mod it.
 

iiboharz

eternally tired
aa
Nov 5, 2014
857
1,291
This is very helpful info. I wasnt aware that TF2Classic built up from the release code. It would be much more difficult for me to work with the release code for what I plan to do. So is there no possible way to obtain the source code for a recent version of TF2?, because if not then it probably would be easier to branch a mod off of the TF2Classic source code like you suggested.

Since you worked on TF2Classic, can you share some of the tools you used to make things for TF2Classic and other tips that could help me get started modding the TF2Classic code? I really like TF2Classic btw, dont worry I will give full credit to the TF2Classic team too if I do decide to mod it.

Yeah, going off the TF2Classic code would probably be a good start, as there really isn't a way to acquire live TF2's code.

Despite being project lead, I am not a programmer, my speciality is level design. Again, I would probably ask these questions over in the TF2Classic thread on Facepunch.

Good luck!
 

Qersojan

L2: Junior Member
Sep 27, 2015
54
4
Yeah, going off the TF2Classic code would probably be a good start, as there really isn't a way to acquire live TF2's code.

Despite being project lead, I am not a programmer, my speciality is level design. Again, I would probably ask these questions over in the TF2Classic thread on Facepunch.

Good luck!

Ok thanks! I will go post a thread over there now.
 

SnickerPuffs

(*single chuckle*)
aa
Apr 10, 2014
1,315
1,857
but isnt it the best for remaking tf2 as of jungle inferno.

True, but if you try to share your mod based on the new version, you'll be hit with a C+D (or worse) faster than you can even blink.
 

MaxCE

L1: Registered
Sep 17, 2020
5
0
but team comtress is doing it. and im not meaning to publish it. just fixing gameplay stuff and give it to team comtress to be put in consideration to be put in tc2. gotta fix comp and ctf.
 

iiboharz

eternally tired
aa
Nov 5, 2014
857
1,291
I can give no advice in that case. Besides, this isn't the place for this kind of discussion.
 

MaxCE

L1: Registered
Sep 17, 2020
5
0
turns out the recent source leak is a bit incomplete so.. gimme magnet link of 2007 tf2 source code.