How Can I Make a TF2 SourceMod?

Discussion in 'Team Fortress 2 Talk' started by Jnaejnae, Feb 6, 2017.

  1. Jnaejnae

    Jnaejnae L1: Registered

    Messages:
    47
    Positive Ratings:
    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
     
  2. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    697
    Positive Ratings:
    197
    I think you would be better off asking this on AlliedModders. This website focuses on TF2 map creation, not mod creation. That said, people here could help with making maps for your mod (once it's made of course)
     
    • Like Like x 1
  3. iiboharz

    aa iiboharz Meme Queen

    Messages:
    700
    Positive Ratings:
    1,025
    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!
     
    • Like Like x 1
  4. Jnaejnae

    Jnaejnae L1: Registered

    Messages:
    47
    Positive Ratings:
    4
    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.
     
  5. iiboharz

    aa iiboharz Meme Queen

    Messages:
    700
    Positive Ratings:
    1,025
    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!
     
  6. Jnaejnae

    Jnaejnae L1: Registered

    Messages:
    47
    Positive Ratings:
    4
    Ok thanks! I will go post a thread over there now.