The Ship Single Player: Starting your Mod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (sort)
m (notes)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{alias|MODDIR|your mod's directory name}}
{{alias|MODTITLE|your mod's <code>game</code> key set in [[gameinfo.txt]]}}
After downloading [[The Ship SDK]], download [http://files.filefront.com/The_Ship_SDK/;6224866;;/fileinfo.html The Ship Single Player Mod Template] and extract its contents to <code>..\Steam\SteamApps\SourceMods</code>. Be sure to replace all variables below (i.e. MODTITLE, MODDIR, <username>) with their corresponding values.
After downloading [[The Ship SDK]], download [http://files.filefront.com/The_Ship_SDK/;6224866;;/fileinfo.html The Ship Single Player Mod Template] and extract its contents to <code>..\Steam\SteamApps\SourceMods</code>. Be sure to replace all variables below (i.e. MODTITLE, MODDIR, <username>) with their corresponding values.


Line 16: Line 19:
  "MODTITLE"
  "MODTITLE"
  {
  {
  "GameDir" "c:\program files\valve\steam\steamapps\SourceMods\MODDIR"
  "GameDir" "c:\program files\steam\steamapps\SourceMods\MODDIR"
  "hammer"
  "hammer"
  {
  {
  "GameData0" "c:\program files\valve\steam\steamapps\<username>\sourcesdk\bin\The_Ship_SP.fgd"
  "GameData0" "c:\program files\steam\steamapps\<username>\sourcesdk\bin\The_Ship_SP.fgd"
  "TextureFormat" "5"
  "TextureFormat" "5"
  "MapFormat" "4"
  "MapFormat" "4"
  "DefaultTextureScale" "0.250000"
  "DefaultTextureScale" "0.250000"
  "DefaultLightmapScale" "16"
  "DefaultLightmapScale" "16"
  "GameExe" "c:\program files\valve\steam\steamapps\<username>\the ship single player\ship.exe"
  "GameExe" "c:\program files\steam\steamapps\<username>\the ship single player\ship.exe"
  "DefaultSolidEntity" "func_detail"
  "DefaultSolidEntity" "func_detail"
  "DefaultPointEntity" "info_player_deathmatch"
  "DefaultPointEntity" "info_player_deathmatch"
  "BSP" "c:\program files\valve\steam\steamapps\<username>\sourcesdk\bin\cstbsp-ts.exe"
  "BSP" "c:\program files\steam\steamapps\<username>\sourcesdk\bin\cstbsp-ts.exe"
  "Vis" "c:\program files\valve\steam\steamapps\<username>\sourcesdk\bin\cstvis-ts.exe"
  "Vis" "c:\program files\steam\steamapps\<username>\sourcesdk\bin\cstvis-ts.exe"
  "Light" "c:\program files\valve\steam\steamapps\<username>\sourcesdk\bin\cstrad-ts.exe"
  "Light" "c:\program files\steam\steamapps\<username>\sourcesdk\bin\cstrad-ts.exe"
  "GameExeDir" "c:\program files\valve\steam\steamapps\<username>\the ship single player"
  "GameExeDir" "c:\program files\steam\steamapps\<username>\the ship single player"
  "MapDir" "c:\program files\valve\steam\steamapps\<username>\the ship single player\sourcesdk_content\ship\mapsrc"
  "MapDir" "c:\program files\steam\steamapps\<username>\the ship single player\sourcesdk_content\ship\mapsrc"
  "BSPDir" "c:\program files\valve\steam\steamapps\SourceMods\MODDIR\maps"
  "BSPDir" "c:\program files\steam\steamapps\SourceMods\MODDIR\maps"
  "CordonTexture" "tools\toolsskybox"
  "CordonTexture" "tools\toolsskybox"
  "MaterialExcludeCount" "0"
  "MaterialExcludeCount" "0"
   }
   }
  }
  }
{{note|You may have to change the direcotry names to fit your folder hierarchy.}}
[[Category:The Ship Single Player]]
[[Category:The Ship Single Player]]

Revision as of 14:37, 25 November 2006

Note.pngNote:For the sake of this article, MODDIR represents your mod's directory name.
Note.pngNote:For the sake of this article, MODTITLE represents your mod's game key set in gameinfo.txt.

After downloading The Ship SDK, download The Ship Single Player Mod Template and extract its contents to ..\Steam\SteamApps\SourceMods. Be sure to replace all variables below (i.e. MODTITLE, MODDIR, <username>) with their corresponding values.

Mod Setup

  1. Rename the mod's directory from ship_sp_mod to MODDIR.
  2. Navigate to ..\MODDIR\resource and rename ship_sp_mod_english.txt to MODDIR_english.txt.
  3. Open resource\MODDIR_english.txt and replace ship_sp_mod_Chapter1_Title with MODDIR_Chapter1_Title (This serves as an example for chapter titles).
  4. If you'd like to include credits in your mod, modify scripts\credits.txt to your liking and delete resource/GameMenu.res; otherwise, delete scripts\credits.txt. Now, open gameinfo.txt and make changes to the top few lines of the file.

GameConfig

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"
 			}
		}
Note.pngNote:You may have to change the direcotry names to fit your folder hierarchy.