Difference between revisions of "Obsidian SDK Setup"

From Obsidian Conflict Wiki
Jump to: navigation, search
(Fixed spelling errors, made the tutorial more clear.)
(Undo revision 934 by DominicHax (Talk) - You call that easier to understand? I think not...)
Line 1: Line 1:
 
{{catup|Obsidian_Conflict|Obsidian Conflict|center}}
 
{{catup|Obsidian_Conflict|Obsidian Conflict|center}}
 
== Setting up SourceSDK for Obsidian ==
 
== Setting up SourceSDK for Obsidian ==
The Example Steam Path looks like this in this Tutorial:
+
The Example Steam Path looks like this in this Tutorial (It really only depends on where you installed Steam):
 
<pre>
 
<pre>
 
C:\Program Files\Steam\SteamApps
 
C:\Program Files\Steam\SteamApps
Line 9: Line 9:
 
'''''Note2''''': "[USERNAME]" is our placeholder, be sure to replace [USERNAME] with your steam account name (can also be an e-mail address).
 
'''''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:
 
*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.'''
 
 
<pre>
 
<pre>
C:\Program Files\Steam\SteamApps\[username]\sourcesdk\bin\source2007\bin\
+
C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk\bin\source2007\bin\
</pre>
 
 
 
'''* Use the path below if you are using a 64-bit OS.'''
 
<pre>
 
C:\Program Files (x86)\Steam\steamapps\[username]\sourcesdk\bin\source2007\bin
 
 
</pre>
 
</pre>
 
*Open the GameConfig.txt for Editing. (Make sure it's '''NOT''' read only)
 
*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.
+
*Add this to the list: (just before the last 2 Bracers)
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'''
 
 
<pre>
 
<pre>
"Configs"
+
"Obsidian Conflict"
 
{
 
{
  "Games"
+
"GameDir" "C:\Program Files\Steam\SteamApps\SourceMods\obsidian"
  {
+
"hammer"
      "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"
 
}
 
</pre>
 
  
'''* If you have a 64-bit os, copy this into your gameinfo.txt'''
+
"GameData0" "C:\Program Files\Steam\SteamApps\SourceMods\obsidian\obsidian sdk\obsidian.fgd"
<pre>
+
"BSPDir" "C:\Program Files\Steam\SteamApps\SourceMods\obsidian\maps"
"Configs"
+
"MapDir" "C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk_content\obsidian\mapsrc"
{
+
"GameExeDir" "C:\Program Files\Steam\SteamApps\[USERNAME]\source sdk base 2007"
  "Games"
+
"GameExe" "C:\Program Files\Steam\SteamApps\[USERNAME]\source sdk base 2007\hl2.exe"
  {
+
"BSP" "C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk\bin\source2007\bin\vbsp.exe"
      "Half-Life 2: Episode Two"
+
"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"
        "GameDir"     "c:\program files (x86)\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2"
+
"TextureFormat" "5"
        "hammer"
+
"MapFormat" "4"
        {
+
"DefaultTextureScale" "0.250000"
            "GameData0"     "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\halflife2.fgd"
+
"DefaultLightmapScale" "16"
            "TextureFormat"     "5"
+
"DefaultSolidEntity" "func_detail"
            "MapFormat"      "4"
+
"DefaultPointEntity" "ai_ally_manager"
            "DefaultTextureScale"      "0.250000"
+
"CordonTexture" "tools\toolsskybox"
            "DefaultLightmapScale"      "16"
+
"MaterialExcludeCount" "0"
            "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"
 
 
}
 
}
 
</pre>
 
</pre>
'''''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)
+
'''''Important''''': never add any other FGDs to that code since Obsidian uses it's own. (Request to add other content to the existing ones [http://bugs.obsidianconflict.net here] 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.
 
'''''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 [].
+
'''''Note2''''': Make sure to replace [USERNAME] with your real username, do not include the brackets [].
 
 
 
 
  
 
== Useful Tools ==
 
== Useful Tools ==
 
[[Obsidian SDK Installer]]
 
[[Obsidian SDK Installer]]

Revision as of 22:16, 1 December 2010

Setting up SourceSDK for Obsidian

The Example Steam Path looks like this in this Tutorial (It really only depends on where you installed Steam):

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:
C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk\bin\source2007\bin\
  • Open the GameConfig.txt for Editing. (Make sure it's NOT read only)
  • Add this to the list: (just before the last 2 Bracers)
"Obsidian Conflict"
{
	"GameDir"				"C:\Program Files\Steam\SteamApps\SourceMods\obsidian"
	"hammer"
	{

		"GameData0"			"C:\Program Files\Steam\SteamApps\SourceMods\obsidian\obsidian sdk\obsidian.fgd"
		"BSPDir"			"C:\Program Files\Steam\SteamApps\SourceMods\obsidian\maps"
		"MapDir"			"C:\Program Files\Steam\SteamApps\[USERNAME]\sourcesdk_content\obsidian\mapsrc"
		"GameExeDir"			"C:\Program Files\Steam\SteamApps\[USERNAME]\source sdk base 2007"
		"GameExe"			"C:\Program Files\Steam\SteamApps\[USERNAME]\source sdk base 2007\hl2.exe"
		"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"
		"TextureFormat"			"5"
		"MapFormat"			"4"
		"DefaultTextureScale"		"0.250000"
		"DefaultLightmapScale"		"16"
		"DefaultSolidEntity"		"func_detail"
		"DefaultPointEntity"		"ai_ally_manager"
		"CordonTexture"			"tools\toolsskybox"
		"MaterialExcludeCount"		"0"
	}
}

Important: never add any other FGDs to that code since Obsidian uses it's own. (Request to add other content to the existing ones here 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