Difference between revisions of "Source SDK Base"

From Valve Developer Community
Jump to: navigation, search
m
Line 3: Line 3:
 
}} __NOTOC__
 
}} __NOTOC__
  
'''Source SDK Base''' is a game/tool locked to a particular [[:Category:Engine branches|engine branch]], on which modders can base their projects. Source SDK Base 2007 is shared between all owners of Valve Source games, Source SDK Base 2006 and the SDK are free for everyone. Both singleplayer and multiplayer mods can use it. ''Use of SDK Base widens the audience for your mod and prevents engine updates from breaking it.''
+
'''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.
  
[http://store.steampowered.com/search/?category2=16 The games that include SDK Base 2007 are listed here]. Free copies available through hardware promotions do not provide access.
+
Use of SDK Base widens the audience for your mod and prevents engine updates from breaking it.
  
{{note|Although [[Team Fortress 2]] is included in the above list, you will not get the Source SDK Base 2007 unless you paid for the game prior to it going free-to-play. The SDK Base 2006 and the SDK are free, see [http://tinyurl.com/3tww3ge this forum post].}}
+
== 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).
 +
 
 +
[[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.}}
  
 
== Content ==
 
== Content ==
Line 13: Line 17:
 
* 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 [[npc_zombine|Zombines]] and [[npc_hunter|Hunters]] exist in the code and can be spawned, they appear as errors because their [[model]]s are not available. If you want to use episodic things, you will need to [[Gameinfo.txt#Mounting content|mount the appropriate game]].
 
* 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 [[npc_zombine|Zombines]] and [[npc_hunter|Hunters]] exist in the code and can be spawned, they appear as errors because their [[model]]s are not available. If you want to use episodic things, you will need to [[Gameinfo.txt#Mounting content|mount the appropriate game]].
 
* SDK Base might provide mods with Lost Coast's content, '''but [[dedicated server]]s do not'''. Multiplayer mods should either not use anything from Lost Coast, or include what they do use in their dedicated server download. {{tip|In Source 2007 or later you can remove the <code>sourcetest</code> SearchPath from gameinfo.txt and Lost Coast will disappear. Unfortunately, doing this under Source 2006 (Episode One) will make the game crash immediately!}}
 
* SDK Base might provide mods with Lost Coast's content, '''but [[dedicated server]]s do not'''. Multiplayer mods should either not use anything from Lost Coast, or include what they do use in their dedicated server download. {{tip|In Source 2007 or later you can remove the <code>sourcetest</code> SearchPath from gameinfo.txt and Lost Coast will disappear. Unfortunately, doing this under Source 2006 (Episode One) will make the game crash immediately!}}
 
== 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).
 
 
There are separate builds because of the occasional break in Source's backwards compatibility. Unless you have a good reason for sticking with the an older version of the SDK Base, you should always use the most recent one available.
 
  
 
== Fixes ==
 
== Fixes ==

Revision as of 11:53, 28 June 2011

Русский

Source SDK Base is a game/tool, shared between all owners of Valve Source games and locked to a particular engine branch, on which modders can base their projects. Both singleplayer and multiplayer mods can use it.

Use of SDK Base widens the audience for your mod and prevents engine updates from breaking it.

Versions

There are currently two versions of SDK Base: the original Source 2006 version (AppID 215) and the superior Source 2007 version (AppID 218). 2006 is free, but 2007 requires the purchase of one of the games listed here (free/promotional editions do not provide access).

Alien Swarm deserves mention here too, as it is freely available and includes source code access. 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: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)