Difference between revisions of "The Ship SDK"

From Valve Developer Community
Jump to: navigation, search
m (Usage)
m
Line 20: Line 20:
 
#Replace all instances of <username> with your Steam username.
 
#Replace all instances of <username> with your Steam username.
 
#Copy all files in The_Ship_SDK.zip to your "..\Steam\SteamApps\<username>" folder.
 
#Copy all files in The_Ship_SDK.zip to your "..\Steam\SteamApps\<username>" folder.
#Open "..\Steam\SteamApps\<username>\sourcesdk\bin\GameConfig.txt" and add the following entry.{{note|If no GameConfig.txt exists, run the Source SDK once.}}
+
#Open "..\Steam\SteamApps\<username>\sourcesdk\bin\ep1\bin\GameConfig.txt" and add the following entry.{{note|If no GameConfig.txt exists, run the Source SDK once.}}
 
===Before===
 
===Before===
 
  }
 
  }

Revision as of 04:45, 16 January 2008

Availability

Included in The Ship SDK are map compilation tools, VMEX (modified), The Ship's FGD, and Deckplanner. Download the The Ship SDK here. The Ship SDK utilizes the Source SDK, which is packaged along with Valve's major Source games. Visit this page to see a complete list of Source games that include the Source SDK. Purchase Half-Life 2: Deathmatch for only $9.95 to get full access to the Source SDK.

To run the deckplan script generator, you must have at least Microsoft .NET Framework Version 2.0 installed. Update your PC at this location if you run into issues.

News

Sunday, May 20, 2007 SDK Update

  • Ship tools are now based in ..\sourcesdk\ship
  • Official compilation tools are included

Tuesday, April 3, 2007 SDK Update

  • Minor update to deckplan generator utility
  • Added Atalanta's deckplan source files to ..\sourcesdk_content\ship

Saturday, March 31, 2007 SDK Update

  • Adopted the official Outerlight FGD provided by [OL]Subs (Neil Davidson from Outerlight)
  • Added a tool called deckplanner which can be found in ..\sourcesdk\bin\deckplanner
    • Algorithm provided by [OL]Subs
  • Added some sample deckplan files provided by [OL]Subs

Installation

  1. Replace all instances of <username> with your Steam username.
  2. Copy all files in The_Ship_SDK.zip to your "..\Steam\SteamApps\<username>" folder.
  3. Open "..\Steam\SteamApps\<username>\sourcesdk\bin\ep1\bin\GameConfig.txt" and add the following entry.
    Note:If no GameConfig.txt exists, run the Source SDK once.

Before

	}
	"SDKVersion"		"2"

Add

		"The Ship"
		{
			"GameDir"		"c:\program files\steam\steamapps\<username>\the ship\ship"
			"hammer"
			{
				"GameData0"		"c:\program files\steam\steamapps\<username>\sourcesdk\ship\TheShip.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"C:\Program Files\Steam\SteamApps\<username>\the ship\ship.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_deathmatch"
				"BSP"		"C:\Program Files\Steam\SteamApps\<username>\sourcesdk\ship\vbsp.exe"
				"Vis"		"C:\Program Files\Steam\SteamApps\<username>\sourcesdk\ship\vvis.exe"
				"Light"		"C:\Program Files\Steam\SteamApps\<username>\sourcesdk\ship\vrad.exe"
				"GameExeDir"		"C:\program files\steam\steamapps\<username>\the ship"
				"MapDir"	"c:\program files\steam\steamapps\<username>\sourcesdk_content\ship\mapsrc"
				"BSPDir"		"C:\Program Files\Steam\SteamApps\<username>\the ship\ship\maps"
				"CordonTexture"		"tools\toolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}

Usage

  • You must run "..\Steam\SteamApps\<username>\sourcesdk\ship\launchsdk.bat" to launch the SDK once after each time of launching The Ship. You may run the batch file with a shortcut if you are so inclined.
  • It is recommended that you first decompile a few maps in "..\Steam\SteamApps\the ship common.gcf" so you get a sense of how to construct the map's gameplay & functionality. See GCFScape for BSP extraction.
  • You may run into an issue where The Ship never appears on the Source SDK configuration list. To fix this, you should open your modified GameConfig.txt in notepad before launching the SDK, resave it if it doesn't appear in the list, and switch to a different configuration to reload the GameConfig.txt file.
  • All tools are located in ..\sourcesdk\ship

See Also