The Ship Single Player: Starting your Mod: Difference between revisions
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: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:You may have to change the directory names to fit your folder hierarchy.
mNo edit summary |
Thunder4ik (talk | contribs) m (→See also: Unicodifying, replaced: See Also → See also) |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
After downloading [[The Ship SDK]], download [http://files.filefront.com/ | __NOTOC__ | ||
{{alias|MODDIR|your mod's directory name}} | |||
{{alias|MODTITLE|your mod's <code>game</code> key set in [[gameinfo.txt]]}} | |||
{{alias|<username>|your username}} | |||
After downloading [[The Ship SDK]], download [http://files.filefront.com/The_Ship_SP_Mod_Template/;6293478;;/fileinfo.html The Ship Single Player Mod Template] and extract its contents to <code>..\Steam\SteamApps\SourceMods</code>. | |||
{{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 <code>scripts</code> directory intact, or it will crash.}} | |||
==Mod Setup== | |||
#Rename the mod's directory from ship_sp_mod to MODDIR. | |||
#Navigate to <code>..\MODDIR\resource</code> and rename <code>ship_sp_mod_english.txt</code> to <code>MODDIR_english.txt</code>. | |||
#Open <code>resource\MODDIR_english.txt</code> and replace <code>ship_sp_mod_Chapter1_Title</code> with <code>MODDIR_Chapter1_Title</code> (This serves as an example for chapter titles). | |||
#If you'd like to include credits in your mod, modify <code>scripts\credits.txt</code> to your liking and delete <code>resource/GameMenu.res</code>; otherwise, delete <code>scripts\credits.txt</code>. Now, open <code>gameinfo.txt</code> and 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.}} | |||
Open <code>..\Steam\SteamApps\<username>\sourcesdk\bin\GameConfig.txt</code> 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" | |||
} | |||
} | |||
==See also== | |||
* [http://files.filefront.com/The_Ship_SP_Example_Mission/;6293471;;/fileinfo.html The Ship SP Example Mission] | |||
* [[Mod Packing & Shipping]] | |||
[[Category:The Ship Single Player]] | [[Category:The Ship Single Player]] |
Latest revision as of 05:48, 7 January 2024

MODDIR
represents your mod's directory name.
MODTITLE
represents your mod's game
key set in gameinfo.txt.
<username>
represents your username.After downloading The Ship SDK, download The Ship Single Player Mod Template and extract its contents to ..\Steam\SteamApps\SourceMods
.


scripts
directory intact, or it will crash.Mod Setup
- Rename the mod's directory from ship_sp_mod to MODDIR.
- Navigate to
..\MODDIR\resource
and renameship_sp_mod_english.txt
toMODDIR_english.txt
. - Open
resource\MODDIR_english.txt
and replaceship_sp_mod_Chapter1_Title
withMODDIR_Chapter1_Title
(This serves as an example for chapter titles). - If you'd like to include credits in your mod, modify
scripts\credits.txt
to your liking and deleteresource/GameMenu.res
; otherwise, deletescripts\credits.txt
. Now, opengameinfo.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" } }