The Ship Single Player: Starting your Mod
		
		
		
		
		
		Jump to navigation
		Jump to search
		 Note:For the sake of this article,
Note:For the sake of this article, 
 Note:For the sake of this article,
Note:For the sake of this article, 
 Note:For the sake of this article,
Note:For the sake of this article, 
 Note:You do not need to run the batch file to start up the Source SDK for your mod, since it does not rely on the invalid gameinfo.txt file.
Note:You do not need to run the batch file to start up the Source SDK for your mod, since it does not rely on the invalid gameinfo.txt file.
 Warning:When you release your mod, be sure to leave all of the packaged files in the
Warning:When you release your mod, be sure to leave all of the packaged files in the 
 Warning:You may have to change the directory names to fit your folder hierarchy.
Warning:You may have to change the directory names to fit your folder hierarchy.
		
	
 Note:For the sake of this article,
Note:For the sake of this article, MODDIR represents your mod's directory name. Note:For the sake of this article,
Note:For the sake of this article, MODTITLE represents your mod's game key set in gameinfo.txt. Note:For the sake of this article,
Note:For the sake of this article, <username> represents your username.After downloading The Ship SDK, download The Ship Single Player Mod Template and extract its contents to ..\Steam\SteamApps\SourceMods.
 Note:You do not need to run the batch file to start up the Source SDK for your mod, since it does not rely on the invalid gameinfo.txt file.
Note:You do not need to run the batch file to start up the Source SDK for your mod, since it does not rely on the invalid gameinfo.txt file. Warning:When you release your mod, be sure to leave all of the packaged files in the
Warning:When you release your mod, be sure to leave all of the packaged files in the scripts directory intact, or it will crash.Mod Setup
- Rename the mod's directory from ship_sp_mod to MODDIR.
- Navigate to ..\MODDIR\resourceand renameship_sp_mod_english.txttoMODDIR_english.txt.
- Open resource\MODDIR_english.txtand replaceship_sp_mod_Chapter1_TitlewithMODDIR_Chapter1_Title(This serves as an example for chapter titles).
- If you'd like to include credits in your mod, modify scripts\credits.txtto your liking and deleteresource/GameMenu.res; otherwise, deletescripts\credits.txt. Now, opengameinfo.txtand make changes to the top few lines of the file.
GameConfig
 Warning:You may have to change the directory names to fit your folder hierarchy.
Warning:You may have to change the directory names to fit your folder hierarchy.Open ..\Steam\SteamApps\<username>\sourcesdk\bin\GameConfig.txt and do the following:
Before
} "SDKVersion" "2"
Add
		"MODTITLE"
		{
			"GameDir"		"c:\program files\steam\steamapps\SourceMods\MODDIR"
			"hammer"
			{
				"GameData0"	"c:\program files\steam\steamapps\<username>\sourcesdk\bin\The_Ship_SP.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"	"c:\program files\steam\steamapps\<username>\the ship single player\ship.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"info_player_deathmatch"
				"BSP"		"c:\program files\steam\steamapps\<username>\sourcesdk\bin\cstbsp-ts.exe"
				"Vis"		"c:\program files\steam\steamapps\<username>\sourcesdk\bin\cstvis-ts.exe"
				"Light"		"c:\program files\steam\steamapps\<username>\sourcesdk\bin\cstrad-ts.exe"
				"GameExeDir"		"c:\program files\steam\steamapps\<username>\the ship single player"
				"MapDir"	"c:\program files\steam\steamapps\<username>\the ship single player\sourcesdk_content\ship\mapsrc"
				"BSPDir"		"c:\program files\steam\steamapps\SourceMods\MODDIR\maps"
				"CordonTexture"		"tools\toolsskybox"
				"MaterialExcludeCount"		"0"
 			}
		}