Difference between revisions of "Source SDK Base"

From Valve Developer Community
Jump to: navigation, search
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{otherlang2
 
{{otherlang2
 
| ru = Source SDK Base:ru
 
| ru = Source SDK Base:ru
 +
| ko = Source SDK Base:ko
 
}} __NOTOC__
 
}} __NOTOC__
  
'''Source SDK Base''' is a game/tool, shared between all owners of Valve Source games and locked to a particular [[:Category:Engine branches|engine branch]], on which modders can base their projects. Both singleplayer and multiplayer mods can use it.
+
'''Source SDK Base''' is a game/tool available to all Steam users which is locked to a particular [[:Category:Engine branches|engine branch]]. Compared to basing your mod on a "real" game, use of SDK Base massively increases your potential audience and prevents incompatible engine updates from making your code unusable.
 
 
Use of SDK Base widens the audience for your mod and prevents engine updates from breaking it.
 
  
 
== Versions ==
 
== Versions ==
  
There are currently two versions of SDK Base: the original [[Episode One (engine branch)|Source 2006]] version (AppID 215) and the superior [[Source 2007]] version (AppID 218). 2006 is free, but 2007 requires the purchase of [http://store.steampowered.com/search/?category2=16 one of the games listed here] (free/promotional editions do ''not'' provide access).
+
There are currently four versions of SDK Base: the original [[Source 2006]] version (AppID 215)the [[Source 2007]] version ''(AppID 218)'', and two [[Source_SDK_2013|Source 2013]] versions - SP ''(AppID 243730)'' and MP ''(AppID 243750)''.
  
[[Alien Swarm]] deserves mention here too, as it is freely available and includes source code access. {{todo|Make a page explaining which game to pick.}}
+
[[Alien Swarm]] deserves mention here too, as it is also freely available and also provides source code. {{todo|Make a page explaining which game to pick.}}
  
 
== Content ==
 
== Content ==
Line 23: Line 22:
  
 
<ol>
 
<ol>
<li>The main menu has a "Visual Stress Test" option instead of anything useful. Copy <code>resource\GameMenu.res</code> from another suitable game into your mod.
+
<li>The main menu has a "Visual Stress Test" option instead of anything useful. Copy <code>resource\[[GameMenu]].res</code> from another suitable game into your mod.
 
</li>
 
</li>
 
<li>Episode Two's flashlight and weapon pickup icons do not appear. Open <code>resource\ClientScheme.res</code> and add this to the <code>Fonts</code> section:
 
<li>Episode Two's flashlight and weapon pickup icons do not appear. Open <code>resource\ClientScheme.res</code> and add this to the <code>Fonts</code> section:
Line 56: Line 55:
 
* Source SDK Base + [[Half-Life 2: Lost Coast]] (<code>sourcetest</code>)
 
* Source SDK Base + [[Half-Life 2: Lost Coast]] (<code>sourcetest</code>)
 
* Source shared (<code>hl2</code>)
 
* Source shared (<code>hl2</code>)
* [[Episode One (engine branch)|Episode One]] engine branch
+
* [[Source 2006]] engine branch
  
 
[[Category:Tools]]
 
[[Category:Tools]]

Latest revision as of 06:13, 4 April 2020

Русский 한국어

Source SDK Base is a game/tool available to all Steam users which is locked to a particular engine branch. Compared to basing your mod on a "real" game, use of SDK Base massively increases your potential audience and prevents incompatible engine updates from making your code unusable.

Versions

There are currently four versions of SDK Base: the original Source 2006 version (AppID 215), the Source 2007 version (AppID 218), and two Source 2013 versions - SP (AppID 243730) and MP (AppID 243750).

Alien Swarm deserves mention here too, as it is also freely available and also provides source code. To do: Make a page explaining which game to pick.

Content

  • The stock gamecode is a duplicate of Episode One's or Episode Two's, depending on which version (see below) you are using. But the only content available is that of Half-Life 2 and Half-Life 2: Lost Coast: while Zombines and Hunters exist in the code and can be spawned, they appear as errors because their models are not available. If you want to use episodic things, you will need to mount the appropriate game.
  • SDK Base might provide mods with Lost Coast's content, but dedicated servers do not. Multiplayer mods should either not use anything from Lost Coast, or include what they do use in their dedicated server download.
    Tip.png Tip: In Source 2007 or later you can remove the sourcetest SearchPath from gameinfo.txt and Lost Coast will disappear. Unfortunately, doing this under Source 2006 (Episode One) will make the game crash immediately!

Fixes

There are two small glitches:

  1. The main menu has a "Visual Stress Test" option instead of anything useful. Copy resource\GameMenu.res from another suitable game into your mod.
  2. Episode Two's flashlight and weapon pickup icons do not appear. Open resource\ClientScheme.res and add this to the Fonts section:
    		WeaponIconsSmall
    		{
    			1
    			{
    				name		HalfLife2
    				tall		32
    				weight	0
    				antialias 1
    				additive	1
    				custom	1
    			}
    		}
    

Content (2007)

Content (2006)