This article relates to the game "Left 4 Dead 2". Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

L4D2 Level Design/Add-on Notes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m ({{lang}}, and minor rewording)
(undone multipage)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Lang|L4D2 Level Design/Add-on Notes}}
{{LanguageBar}}
{{l4D2 topicon}}{{Source topicon}}
 
{{L4D2 level intro menu}}
{{L4D2 level intro menu}}
This summarizes the changes for {{l4d2}} Left 4 Dead 2 [[Add-on]]s to {{l4d}} Left 4 Dead's.
This summarizes the changes for {{l4d2|4}}'s [[Add-on]]s from {{l4d|4}}'s.


== AppID ==
== AppID ==
The addoninfo.txt file in your L4D2 add-on must have the proper app ID:
The <code>addoninfo.txt</code> file in your L4D2 add-on must have the proper app ID:
<pre>
<pre>
  addonSteamAppID  550
  addonSteamAppID  550
Line 10: Line 12:
If this isn't included, or if it's set to the Left 4 Dead 1 ID (500), VPK files will not be installed properly when users double click on them. (Or technically, the<code>addoninstaller.exe</code>program.)
If this isn't included, or if it's set to the Left 4 Dead 1 ID (500), VPK files will not be installed properly when users double click on them. (Or technically, the<code>addoninstaller.exe</code>program.)


== VPK install ==
== VPK Install ==
If users double click a VPK while the game is not running, it gets copied to a temporary location under:
If users double click a VPK while the game is not running, it gets copied to a temporary location under:
<pre>
<pre>

Latest revision as of 06:16, 13 July 2024

English (en)Русский (ru)中文 (zh)Translate (Translate)

This summarizes the changes for Left 4 Dead 2 Left 4 Dead 2's Add-ons from Left 4 Dead Left 4 Dead's.

AppID

The addoninfo.txt file in your L4D2 add-on must have the proper app ID:

 addonSteamAppID   550

If this isn't included, or if it's set to the Left 4 Dead 1 ID (500), VPK files will not be installed properly when users double click on them. (Or technically, theaddoninstaller.exeprogram.)

VPK Install

If users double click a VPK while the game is not running, it gets copied to a temporary location under:

 Steam\steamapps\SourceMods\addons

Then, when Left 4 Dead seriesLeft 4 Dead series are launched, they look for add-ons in those directories, then moves them over to their own respective add-ons folder.

See also