Adding game configuration for mods/games not included in SDK

Locked
User avatar
Xseba360
Server Admin
Posts: 1663
Joined: Sun Apr 11, 2010 12:26 pm
Location: Poland
Contact:

Adding game configuration for mods/games not included in SDK

Post by Xseba360 » Mon Apr 09, 2012 3:48 pm

Oh no! Why is there no game config for Synergy or any other mod i just got!
Well thats because gaben is fat.

Anyways lets begin.

As example I'm gonna add a game configuration for Synergy (HL2 Coop Mod)

Chapter 1: FGD

First of you need to do is get mod's FGD. FGD defines all the entities in the game that hammer should give you to play with.

Lets start from getting the FGD from game files.

They are usualy located at:
Drive:/<somefolder>/<someotherfolder>/Steam/steamapps/<ACCOUNT NAME>/<game name>/<game name.. again>/

for example:
F:/Program Files (x86)/Porn/Steam/steamapps/hobo666/synergy/synergy/

or if game is a mod:
U:/Programz0rz/Steam/steamapps/sourcemods/SourceForts194

- But i searched for it everywhere and i cant find it
You can try searching it at mod page.

- Alright, creator's page is dead. what do?
Google it. Motherfucker.

Chapter 2: SET UP THE BASE

I assume you got the FGD already, if not. look again at chapter 1 once again.

1. Start the Source SDK.
2. So first of you gotta do after launching the SDK is choose the engine. Synergy runs on Source 2007 so I'm gonna select that.
3. Now Press the "Edit Game Configurations" button in UTILITIES category.
4. Press "Add". Input the name and path to gameinfo.txt (main game folder. example: F:/Program Files (x86)/Porn/Steam/steamapps/hobo666/synergy/synergy/)
5. Press "OK" and then "OK" again.
6. Restart Source SDK.
7. You should see your configuration at the list now.

Chapter 3: HAMMER TIME

So you got your configuration set up and FGD ready. Not really. The Hammer needs some additional configuration.

1. Start the Source SDK (if you haven't done that already.)
2. Chose Hammer Editor
3. Choose Tools then Options
4. Game Configuration tab should pop out by default.
5. Select configuration (should be set by default)
6. Now you see "Game Data files:"
7. Remove the base.fgd from list
8. Add the FGD i told you to get in chapter 1.
9. Everything else should be set like that --> http://screenshooter.net/5524147/lxnkhom
10. Restart hammer and you're done.
Last edited by Xseba360 on Mon Apr 09, 2012 3:58 pm, edited 1 time in total.

Locked