Obsidian SDK Setup

From Obsidian Conflict Wiki
Revision as of 06:13, 28 November 2010 by DominicHax (talk | contribs) (Fixed spelling errors, made the tutorial more clear.)
Jump to: navigation, search

Setting up SourceSDK for Obsidian

The Example Steam Path looks like this in this Tutorial:

C:\Program Files\Steam\SteamApps

Note: make sure you replace that folder in the code below with your Steam Path.

Note2: "[USERNAME]" is our placeholder, be sure to replace [USERNAME] with your steam account name (can also be an e-mail address).

  • Go to your SourceSDK Source2007 Bin Folder:
  • If you don't know if you are using 32 bit or 64 bit, please google "how to find what bit my computer is"

* Use the path below if you are using a 32-bit OS.

C:\Program Files\Steam\SteamApps\[username]\sourcesdk\bin\source2007\bin\

* Use the path below if you are using a 64-bit OS.

C:\Program Files (x86)\Steam\steamapps\[username]\sourcesdk\bin\source2007\bin
  • Open the GameConfig.txt for Editing. (Make sure it's NOT read only)
  • Copy and paste the 32 bit or 64 bit version to copy corresponding to your OS version.

Ex: Use 32 bit version for 32 bit os, use 64 bit version for 64 bit os.


*If you have a 32-bit os, copy this into your gameinfo.txt

"Configs"
{
   "Games"
   {
      "Half-Life 2: Episode Two"
      {
         "GameDir"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2"
         "hammer"
         {
            "GameData0"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\halflife2.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "info_player_start"
            "BSP"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vbsp.exe"
            "Vis"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vvis.exe"
            "Light"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vrad.exe"
            "GameExeDir"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two"
            "MapDir"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk_content\ep2\mapsrc"
            "BSPDir"      "c:\program files\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
      "Obsidian Conflict"
      {
         "GameDir"      "c:\program files\steam\steamapps\SourceMods\obsidian"
         "hammer"
         {
            "GameData0"      "c:\program files\steam\steamapps\SourceMods\obsidian\Obsidian SDK\Obsidian.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "c:\program files\steam\steamapps\[USERNAME]\source sdk base 2007\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "info_player_start"
            "BSP"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vbsp.exe"
            "Vis"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vvis.exe"
            "Light"      "c:\program files\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vrad.exe"
            "GameExeDir"      "c:\program files\steam\steamapps\[USERNAME]\source sdk base 2007"
            "MapDir"      "c:\program files\steam\steamapps\SourceMods\sourcesdk_content\obsidian\mapsrc"
            "BSPDir"      "c:\program files\steam\steamapps\SourceMods\obsidian\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
   }
   "SDKVersion"      "3"
}

* If you have a 64-bit os, copy this into your gameinfo.txt

"Configs"
{
   "Games"
   {
      "Half-Life 2: Episode Two"
      {
         "GameDir"      "c:\program files (x86)\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2"
         "hammer"
         {
            "GameData0"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\halflife2.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "c:\program files (x86)\steam\steamapps\[USERNAME]\half-life 2 episode two\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "info_player_start"
            "BSP"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vbsp.exe"
            "Vis"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vvis.exe"
            "Light"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vrad.exe"
            "GameExeDir"      "c:\program files (x86)\steam\steamapps\[USERNAME]\half-life 2 episode two"
            "MapDir"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk_content\ep2\mapsrc"
            "BSPDir"      "c:\program files (x86)\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
      "Obsidian Conflict"
      {
         "GameDir"      "c:\program files (x86)\steam\steamapps\SourceMods\obsidian"
         "hammer"
         {
            "GameData0"      "c:\program files (x86)\steam\steamapps\SourceMods\obsidian\Obsidian SDK\Obsidian.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "c:\program files (x86)\steam\steamapps\[USERNAME]\source sdk base 2007\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "info_player_start"
            "BSP"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vbsp.exe"
            "Vis"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vvis.exe"
            "Light"      "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\vrad.exe"
            "GameExeDir"      "c:\program files (x86)\steam\steamapps\[USERNAME]\source sdk base 2007"
            "MapDir"      "c:\program files (x86)\steam\steamapps\SourceMods\sourcesdk_content\obsidian\mapsrc"
            "BSPDir"      "c:\program files (x86)\steam\steamapps\SourceMods\obsidian\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
   }
   "SDKVersion"      "3"
}

Important: never add any other FGDs to that code since Obsidian uses it's own. (Request to add other content to the existing ones instead)

Note: Also to make sure the code won't get deleted, you can do that by making the file read only once you have completed all necessary changes.

NOTE2: Make sure to replace [username] with your real username, do not include the brackets [].


Useful Tools

Obsidian SDK Installer