Difference between revisions of "Obsidian SDK Setup"

From Obsidian Conflict Wiki
Jump to: navigation, search
m (i am dum)
(Fixed spelling errors, made the tutorial more clear.)
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 Tuturial:
+
The Example Steam Path looks like this in this Tutorial:
 
<pre>
 
<pre>
 
C:\Program Files\Steam\SteamApps
 
C:\Program Files\Steam\SteamApps
Line 7: Line 7:
 
'''''Note''''': make sure you replace that folder in the code below with your Steam Path.
 
'''''Note''''': make sure you replace that folder in the code below with your Steam Path.
  
'''''Note2''''': "[example]" is our placeholder for the steam account name (can also be a 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\[example]\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)
*Add this to the list: (just before the last 2 Bracers)
+
*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'''
 
<pre>
 
<pre>
"Obsidian Conflict"
+
"Configs"
 
{
 
{
"GameDir" "C:\Program Files\Steam\SteamApps\SourceMods\obsidian"
+
  "Games"
"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>
  
"GameData0" "C:\Program Files\Steam\SteamApps\SourceMods\obsidian\obsidian sdk\obsidian.fgd"
+
'''* If you have a 64-bit os, copy this into your gameinfo.txt'''
"BSPDir" "C:\Program Files\Steam\SteamApps\SourceMods\obsidian\maps"
+
<pre>
"MapDir" "C:\Program Files\Steam\SteamApps\[example]\sourcesdk_content\obsidian\mapsrc"
+
"Configs"
"GameExeDir" "C:\Program Files\Steam\SteamApps\[example]\source sdk base 2007"
+
{
"GameExe" "C:\Program Files\Steam\SteamApps\[example]\source sdk base 2007\hl2.exe"
+
  "Games"
"BSP" "C:\Program Files\Steam\SteamApps\[example]\sourcesdk\bin\source2007\bin\vbsp.exe"
+
  {
"Vis" "C:\Program Files\Steam\SteamApps\[example]\sourcesdk\bin\source2007\bin\vvis.exe"
+
      "Half-Life 2: Episode Two"
"Light" "C:\Program Files\Steam\SteamApps\[example]\sourcesdk\bin\source2007\bin\vrad.exe"
+
      {
"TextureFormat" "5"
+
        "GameDir"     "c:\program files (x86)\steam\steamapps\[USERNAME]\half-life 2 episode two\ep2"
"MapFormat" "4"
+
        "hammer"
"DefaultTextureScale" "0.250000"
+
        {
"DefaultLightmapScale" "16"
+
            "GameData0"     "c:\program files (x86)\steam\steamapps\[USERNAME]\sourcesdk\bin\source2007\bin\halflife2.fgd"
"DefaultSolidEntity" "func_detail"
+
            "TextureFormat"      "5"
"DefaultPointEntity" "ai_ally_manager"
+
            "MapFormat"      "4"
"CordonTexture" "tools\toolsskybox"
+
            "DefaultTextureScale"      "0.250000"
"MaterialExcludeCount" "0"
+
            "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"
 
}
 
}
 
</pre>
 
</pre>
Line 43: Line 142:
  
 
'''''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 [].
 +
 +
  
 
== Useful Tools ==
 
== Useful Tools ==
 
[[Obsidian SDK Installer]]
 
[[Obsidian SDK Installer]]

Revision as of 06:13, 28 November 2010

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