Difference between revisions of "L4D AddonInfo Authoring"

From Valve Developer Community
Jump to: navigation, search
(Keys: Change to table.)
m (Keys: moved the "Obsolete" tempolate in the list in front of the title. For aestetics)
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Deadline and Deadline 2 AddonInfo Files}}
+
In {{l4ds}}, add-ons require metadata setup to appear in the add-ons menu with the proper descriptions, be categorizable by the tags sorting system, or load assets at only the appropiate moment. This is all done with the<code>addoninfo.txt</code>file. In {{l4d2}}, add-ons attained from workshop subscription uses the Steam Workshop to build metadata, so<code>addoninfo.txt</code>file is either only for locally installed add-ons, or workshop add-ons converted into a local add-on.
  
This is the addoninfo metadata file included with the sample Deadline campaign. Feel free to use this as a template for the metadata for your own [[Add-on|custom addons]]. The full add-on and source files can be downloaded off a website hosted by Steam:
+
{{warning|Add-ons without<code>addoninfo.txt</code>will not be accessible in the menu when installed locally! Even in {{l4d2}}, you should build a<code>addoninfo.txt</code>file for add-ons submitted to the Steam Workshop, since users ''do'' convert the add-ons locally.}}
* {{l4d}} [http://media.steampowered.com/apps/513/deadline.html Dead Line]
+
{{note|In {{l4d}}, add-ons don't reload until you relaunch the game, whereas in {{l4d2}}, add-ons reload everytime you enter and exit the add-ons menu, but are locked from being replaced while its active.}}
* {{l4d2}} [http://media.steampowered.com/apps/513/deadline2.html Dead Line 2]
 
  
 
== Keys ==
 
== Keys ==
 +
Some of the keys present are for the add-ons menu's tag system only.<code>'..'</code> will be appended if the add-on has 4+ tags for {{l4d}}'s default menu UI, while for {{l4d2}}'s default menu UI, its a 30 character limited. In {{l4d2}}, add-ons will be filtered to appear for the respective tag filter settings.
 
{| class=wikitable |
 
{| class=wikitable |
 
! Key !! Description
 
! Key !! Description
 
|-
 
|-
| addonSteamAppID || Steam App ID: 500 for Left 4 Dead, 550 for Left 4 Dead 2
+
| addonSteamAppID || Steam App ID the add-on is for. Put 500 for {{l4d}} and 550 for {{l4d2}}.
|-
 
| addonTitle || Title of the addon, ~20 characters maximum
 
|-
 
| addonVersion || Version number of the addon, <major>.<minor>
 
|-
 
| addonTagline || Tagline/wrap-up short description, ~100 characters maximum
 
|-
 
| addonAuthor || Name of the author
 
|-
 
| addonAuthorSteamID || (Optional) Steam ID of author. We use this to construct a URL to the author's page.
 
|-
 
| addonSteamGroupName || (Optional) Steam group related to the add-on. We use this to construct a URL to the group page.
 
|-
 
| addonURL0 || Home page of addon with a download link
 
|-
 
| addonContent_Campaign || If the addon is a series of connected maps with a finale
 
 
|-
 
|-
| addonContent_Survival || If the addon supports survival
+
| addonTitle || Title of the add-on. Mind that the default add-on menu can't show long titles in full.
 
|-
 
|-
| addonContent_Scavenge || If the addon supports scavenge
+
| addonVersion || Version number of the add-on. Used to determine if an user's add-on is mismatched to the lobby hoster's. {{confirm|It is best to keep the number as an integer, so no decimals.}}
 
|-
 
|-
| addonContent_Versus || If the addon supports versus
+
| addonTagline || Tagline/wrap-up short description; for custom map add-ons only. In {{l4ds}}, it appears only when selecting a custom map in the game setup menu. {{confirm|In {{l4d}}, it is present when viewing the scoreboard in the custom map; right below the map's title.}}
 
|-
 
|-
| addonContent_Map || If the addon is a standalone map
+
| addonAuthor || Name of the author.
 
|-
 
|-
| addonContent_Survivor || If the addon replaces a character model: 0=false, 1=true, String in quotes if replaces specific single character, i.e. "Coach"
+
| addonAuthorSteamID || (Optional) Steam ID of author, which will be used to construct an URL to the author's page. {{todo|How does this look like?}}
 
|-
 
|-
| addonContent_Skin || If the addon provides a new skin: 0 for no new skin(s), 1 for multiple skins, string for single skin
+
| addonSteamGroupName || (Optional) Steam group related to the add-on, which will be used to construct an URL to the group page. {{todo|How does this look like?}}
 
|-
 
|-
| addonContent_BossInfected || If the addon provides a new boss model
+
| addonURL0 || Home page of addon with a download link. Appears only in the menu when trying to join games, or joining a lobby eith a content you don't have downloaded. (e.g. Mutations) {{note|Some websites allow you to create a page for your addon before you publish it. Copy that "Unpublished" addon link into this field.}}
 
|-
 
|-
| addonContent_CommonInfected || If the addon provides a new common infected
+
| addonContent_Campaign || {{l4ds}} Modifies add-on assets to only load when the maps set in the mission file are loaded. <br>Also marks add-on with''<code>Campaign</code>''tag in {{l4d}}, while the''<code>Campaigns</code>''tag in {{l4d2}}. {{confirm|Is the first sentence's statement true for {{l4d}}?}}
 
|-
 
|-
| addonContent_Music || If the addon has custom music
+
| addonContent_Survival || {{todo|Exact function unknown.}}
 
|-
 
|-
| addonContent_Sound || If the addon has custom sounds
+
| addonContent_Scavenge {{only|{{l4d2}}}} || {{todo|Exact function unknown.}}
 
|-
 
|-
| addonContent_Prop || If the addon has custom props
+
| addonContent_Versus || {{todo|Exact function unknown.}}
 
|-
 
|-
| addonContent_Prefab || If the addon has custom prefabs
+
| addonContent_Map || In {{l4d}}, marks add-on with''<code>Maps</code>''tag. In {{l4d2}}, marks add-on with''<code>Campaigns</code>''tag. {{l4ds}} Doesn't get used if<code>addonContent_Campaign</code>is already used.
 
|-
 
|-
| addonContent_Spray || If the addon provides new sprays
+
| addonContent_Survivor || In {{l4d}}, marks add-on with''<code>Survivor Models</code>''tag. In {{l4d2}}, marks add-on with''<code>Survivors</code>''tag. Use a single string in quotes if replaces specific single character, i.e. "Coach".<br>{{todo|Clarify the latter}}
 
|-
 
|-
| addonContent_Script || If the addon has scripts
+
| addonContent_Skin || In {{l4ds}}, marks add-on with''<code>Skins</code>''tag. In {{l4d2}}, use a single string for single skin possible. {{todo|How is the single string set up, and what would happen if we do this?}}
 
|-
 
|-
| addonContent_BackgroundMovie || If the addon replaces the background movie
+
| addonContent_BossInfected || In {{l4d}}, marks add-on with''<code>Boss Models</code>''tag. In {{l4d2}}, marks add-on with''<code>Infected</code>''tag. Doesn't conflict with<code>addonContent_BossInfected</code>tag.
 
|-
 
|-
| Content_Weapon || If the addon provides a new weapon, i.e. guns, explosives, booby traps, hot tar, etc.
+
| addonContent_CommonInfected || In {{l4d}}, marks add-on with''<code>Common Models</code>''tag. In {{l4d2}}, marks add-on with''<code>Infected</code>''tag. Doesn't conflict with<code>addonContent_CommonInfected</code>tag.
 
|-
 
|-
| Content_WeaponModel || If the addon overrides a weapon skin (for existing weapons)
+
| addonContent_Music || In {{l4d}}, marks add-on with''<code>Music</code>''tag. In {{l4d2}}, marks add-on with''<code>Sounds</code>''tag.
 
|-
 
|-
| addonDescription || Description of addon
+
| addonContent_Sound || In {{l4ds}}, marks add-on with''<code>Sounds</code>''tag.
 
|-
 
|-
| addonDescription_DA || Danish description
+
| addonContent_Prop  || In {{l4d}}, marks add-on with''<code>Prop Models</code>''tag. In {{l4d2}}, marks add-on with''<code>Items</code>''tag.
 
|-
 
|-
| addonDescription_NL || Dutch description
+
| addonContent_Weapon  || In {{l4d}}, marks add-on with''<code>Weapon Models</code>''tag. In {{l4d2}}, marks add-on with''<code>Weapons</code>''tag.
 
|-
 
|-
| addonDescription_FI || Finnish description
+
| addonContent_Script || In {{l4ds}}, marks add-on with''<code>Scripts</code>''tag.
 
|-
 
|-
| addonDescription_FR || French description
+
| {{obs}} <del>addonContent_Prefab</del> || Deprecated. Prefabs refer to Hammer VMF prefabs. This doesn't alter the menu tags in anyway.
 
|-
 
|-
| addonDescription_DE || German description
+
| {{obs}} <del>addonContent_Spray</del> || Deprecated. This doesn't alter the menu tags in anyway.
 
|-
 
|-
| addonDescription_IT || Italian description
+
| {{obs}} <del>addonContent_BackgroundMovie</del> || Deprecated. This doesn't alter the menu tags in anyway.
 
|-
 
|-
| addonDescription_JA || Japanese description
+
| {{obs}} <del>Content_Weapon</del> || Deprecated. Meant to be used when the addon "provides a new weapon, i.e. guns, explosives, booby traps, hot tar, etc.". This might not be technically feasible in {{l4d}}, while too much effort required in {{l4d2}}. This doesn't alter the menu tags in anyway.
 
|-
 
|-
| addonDescription_KO || Korean description
+
| {{obs}} <del>Content_WeaponModel</del> || Deprecated. Meant to be used when the addon overrides a weapon skin (for existing weapons). This doesn't alter the menu tags in anyway.
 
|-
 
|-
| addonDescription_NO || Norwegian description
+
| addonDescription || Description of addon. In {{l4d2}}, Add-ons from subscription of Steam Workshop have a 499 characters limit for descriptions.<br>This tag has extra localization key variants (e.g.<code>addonDescription_DA</code>) meant to be accessed by appending certain characters at the right of this key; all of them being:
|-
+
* _DA - Danish
| addonDescription_PL || Polish description
+
* _NL - Dutch
|-
+
* _FI - Finnish
| addonDescription_PT || Portuguese description
+
* _FR - French
|-
+
* _DE - German
| addonDescription_RU || Russian description
+
* _IT - Italian
|-
+
* _JA - Japanese
| addonDescription_ZH || Chinese description
+
* _KO - Korean
|-
+
* _NO - Norwegian
| addonDescription_ES || Spanish description
+
* _PL - Polish
|-
+
* _PT - Portugal
| addonDescription_SV || Swedish description
+
* _RU - Russian
 +
* _ZH - Chinese
 +
* _ES - Spanish
 +
* _SV - Sweden
 +
{{confirm|Are these localization tags defunct? In {{l4d2}}, reports of the workshop localization working only on the webpage, but don't transfer to the in-game menu, exists.}}
 
|}
 
|}
  
== Left 4 Dead ==
+
== File Samples ==
<source lang=ini>
+
These are the addoninfo metadata files from the sample Deadline campaign in in both {{l4ds}}, which is meant to provide example material for custom [[Add-on|add-ons]].<br>
 +
The full add-on and source files can be downloaded off a website hosted by Steam:
 +
* {{l4d}} [http://media.steampowered.com/apps/513/deadline.html Dead Line]
 +
* {{l4d2}} [http://media.steampowered.com/apps/513/deadline2.html Dead Line 2]
 +
=== Dead Line {{l4d}} ===
 +
{{ExpandBox|nostarterlinebreak=1|
 +
<pre>
 
"AddonInfo"
 
"AddonInfo"
 
{
 
{
Line 120: Line 114:
 
"addonContent_Music"              "0"
 
"addonContent_Music"              "0"
 
"addonContent_Sound"              "0"
 
"addonContent_Sound"              "0"
"addonContent_Prop"                "1"
+
"addonContent_Prop"                "0"
 
"addonContent_Prefab"              "0"
 
"addonContent_Prefab"              "0"
 
"addonContent_Spray"              "0"
 
"addonContent_Spray"              "0"
Line 134: Line 128:
 
"addonDescription_FI"              "Survivors on pelastautua metro tässä lyhyessä harjoitusesimerkit kampanja. Hanki lähdetiedostot ja työkalut luoda omia kampanjoita lataamalla Left 4 Dead 2 Authoring Tools SDK, joka on käytettävissä Työkalut-välilehti Steam."
 
"addonDescription_FI"              "Survivors on pelastautua metro tässä lyhyessä harjoitusesimerkit kampanja. Hanki lähdetiedostot ja työkalut luoda omia kampanjoita lataamalla Left 4 Dead 2 Authoring Tools SDK, joka on käytettävissä Työkalut-välilehti Steam."
 
"addonDescription_FR"              "Les survivants doivent s'échapper en métro dans cette carte du tutoriel. Obtenez les fichiers et les outils pour créer vos propres cartes en chargeant les outils de création SDK Left 4 Dead 2 qui sont disponibles sous l'onglet 'Outils' sur Steam."
 
"addonDescription_FR"              "Les survivants doivent s'échapper en métro dans cette carte du tutoriel. Obtenez les fichiers et les outils pour créer vos propres cartes en chargeant les outils de création SDK Left 4 Dead 2 qui sont disponibles sous l'onglet 'Outils' sur Steam."
"addonDescription_DE"              "Survivors muss auf einer U-Bahn in diesem kurzen Tutorial beispielsweise Kampagne entkommen. Holen Sie sich die Quelldateien und Werkzeuge für die Erstellung eigener Kampagnen, indem Sie die Left 4 Dead 2 Authoring Tools SDK, welches unter der Registerkarte "Tools" in Steam."
+
"addonDescription_DE"              "Survivors muss auf einer U-Bahn in diesem kurzen Tutorial beispielsweise Kampagne entkommen. Holen Sie sich die Quelldateien und Werkzeuge für die Erstellung eigener Kampagnen, indem Sie die Left 4 Dead 2 Authoring Tools SDK, welches unter der Registerkarte 'Tools' in Steam."
 
"addonDescription_IT"              "I sopravvissuti devono sfuggire su un treno della metropolitana in questa breve campagna esempio tutorial. Ottenere file di origine e di strumenti per la creazione di campagne scaricando il Left 4 Dead 2 Authoring Tools SDK, che è disponibile sotto la scheda 'Strumenti' nel vapore."
 
"addonDescription_IT"              "I sopravvissuti devono sfuggire su un treno della metropolitana in questa breve campagna esempio tutorial. Ottenere file di origine e di strumenti per la creazione di campagne scaricando il Left 4 Dead 2 Authoring Tools SDK, che è disponibile sotto la scheda 'Strumenti' nel vapore."
 
"addonDescription_JA"              "生存者はこの短いチュートリアルの例のキャンペーンの地下鉄電車の中でエスケープする必要があります。スチームで[ツール]タブの下で利用可能ですレフト4デッドオーサリングツールのSDKをダウンロードすることにより、独自のキャンペーンを作成するためのソースファイルやツールを入手してください。"
 
"addonDescription_JA"              "生存者はこの短いチュートリアルの例のキャンペーンの地下鉄電車の中でエスケープする必要があります。スチームで[ツール]タブの下で利用可能ですレフト4デッドオーサリングツールのSDKをダウンロードすることにより、独自のキャンペーンを作成するためのソースファイルやツールを入手してください。"
 
"addonDescription_KO"              "생존자들은이 짧은 튜토리얼 예제 캠페인 지하철에서 탈출해야합니다. 증기의 '도구'탭에 따라 사용할 수 있습니다 레프트 4 데드 저작 도구 SDK를 다운로드하여 자신의 캠페인을 만들기위한 소스 파일과 도구를 얻을."
 
"addonDescription_KO"              "생존자들은이 짧은 튜토리얼 예제 캠페인 지하철에서 탈출해야합니다. 증기의 '도구'탭에 따라 사용할 수 있습니다 레프트 4 데드 저작 도구 SDK를 다운로드하여 자신의 캠페인을 만들기위한 소스 파일과 도구를 얻을."
"addonDescription_NO"              "Overlevende må rømme på et tog i denne korte opplæringen eksempel kampanjen. Få kildefilene og verktøy for å lage dine egne kampanjer ved å laste ned Left 4 Dead 2 Authoring verktøy SDK, som er tilgjengelig under "Verktøy"-fanen i Steam."
+
"addonDescription_NO"              "Overlevende må rømme på et tog i denne korte opplæringen eksempel kampanjen. Få kildefilene og verktøy for å lage dine egne kampanjer ved å laste ned Left 4 Dead 2 Authoring verktøy SDK, som er tilgjengelig under 'Verktøy'-fanen i Steam."
"addonDescription_PL"              "Ocaleni muszą uciekać na pociąg metra w tej krótkiej kampanii przykład samouczka. Pobierz pliki źródłowe i narzędzia do tworzenia własnych kampanii pobierając Left 4 Dead 2 Authoring narzędzi SDK, który jest dostępny w zakładce "Narzędzia" w Steam."
+
"addonDescription_PL"              "Ocaleni muszą uciekać na pociąg metra w tej krótkiej kampanii przykład samouczka. Pobierz pliki źródłowe i narzędzia do tworzenia własnych kampanii pobierając Left 4 Dead 2 Authoring narzędzi SDK, który jest dostępny w zakładce 'Narzędzia' w Steam."
"addonDescription_PT"              "Sobreviventes deve escapar em um trem do metrô nesta campanha exemplo curto tutorial. Obter arquivos de origem e ferramentas para criar suas próprias campanhas baixando o Left 4 Dead 2 Authoring ferramentas SDK, que está disponível na aba "Ferramentas" no Steam."
+
"addonDescription_PT"              "Sobreviventes deve escapar em um trem do metrô nesta campanha exemplo curto tutorial. Obter arquivos de origem e ferramentas para criar suas próprias campanhas baixando o Left 4 Dead 2 Authoring ferramentas SDK, que está disponível na aba 'Ferramentas' no Steam."
"addonDescription_RU"              "Выжившие должны бежать на поезд метро, ​​в этой короткой кампании пример урока. Получить исходные файлы и инструменты для создания собственных кампаний, загрузив Left 4 Dead 2 Authoring инструментов SDK, который доступен на вкладке "Инструменты" в Steam."
+
"addonDescription_RU"              "Выжившие должны бежать на поезд метро, ​​в этой короткой кампании пример урока. Получить исходные файлы и инструменты для создания собственных кампаний, загрузив Left 4 Dead 2 Authoring инструментов SDK, который доступен на вкладке 'Инструменты' в Steam."
"addonDescription_ZH"              "幸存者必须逃离地铁列车在这个简短的教程示例活动。获取源文件和工具下载左4人死亡创作工具SDK,这是可以在“工具”选项卡下蒸汽用于创建您自己的运动。"
+
"addonDescription_ZH"              "在这个简短的示范性的战役中,生还者必须逃出地铁列车。通过下载求生之路2的专属工具(Left 4 Dead 2 Authoring tools SDK)----此SDK可以在steam平台的库中的工具一栏找到----来获取起源引擎的文件和工具以创建属于您自己的战役。"
"addonDescription_ES"              "Los sobrevivientes deben escapar en un tren subterráneo en esta corta campaña de ejemplo del tutorial. Obtenga los archivos de origen y las herramientas para crear sus propias campañas por descargar el Left 4 Dead 2 Authoring herramientas SDK, que está disponible en la pestaña "Herramientas" en Steam."
+
"addonDescription_ES"              "Los sobrevivientes deben escapar en un tren subterráneo en esta corta campaña de ejemplo del tutorial. Obtenga los archivos de origen y las herramientas para crear sus propias campañas por descargar el Left 4 Dead 2 Authoring herramientas SDK, que está disponible en la pestaña 'Herramientas' en Steam."
"addonDescription_SV"              "Överlevande måste fly på ett tunnelbanetåg i denna korta handledning exempel kampanjen. Få källfiler och verktyg för att skapa dina egna kampanjer genom att ladda ner Left 4 Dead 2 Authoring Tools SDK, som är tillgänglig under "Verktyg" fliken i Steam."
+
"addonDescription_SV"              "Överlevande måste fly på ett tunnelbanetåg i denna korta handledning exempel kampanjen. Få källfiler och verktyg för att skapa dina egna kampanjer genom att ladda ner Left 4 Dead 2 Authoring Tools SDK, som är tillgänglig under 'Verktyg' fliken i Steam."
 
}
 
}
</source>
+
</pre>}}
  
== Left 4 Dead 2 ==
+
=== Dead Line 2 {{l4d2}} ===
<source lang=ini>
+
{{ExpandBox|nostarterlinebreak=1|
 +
<pre>
 
"AddonInfo"
 
"AddonInfo"
 
{
 
{
Line 174: Line 169:
 
"addonContent_Music"              "0"
 
"addonContent_Music"              "0"
 
"addonContent_Sound"              "0"
 
"addonContent_Sound"              "0"
"addonContent_Prop"                "1"
+
"addonContent_Prop"                "0"
 
"addonContent_Prefab"              "0"
 
"addonContent_Prefab"              "0"
 
"addonContent_Spray"              "0"
 
"addonContent_Spray"              "0"
Line 188: Line 183:
 
"addonDescription_FI"              "Survivors on pelastautua metro tässä lyhyessä harjoitusesimerkit kampanja. Hanki lähdetiedostot ja työkalut luoda omia kampanjoita lataamalla Left 4 Dead 2 Authoring Tools SDK, joka on käytettävissä Työkalut-välilehti Steam."
 
"addonDescription_FI"              "Survivors on pelastautua metro tässä lyhyessä harjoitusesimerkit kampanja. Hanki lähdetiedostot ja työkalut luoda omia kampanjoita lataamalla Left 4 Dead 2 Authoring Tools SDK, joka on käytettävissä Työkalut-välilehti Steam."
 
"addonDescription_FR"              "Les survivants doivent s'échapper en métro dans cette carte du tutoriel. Obtenez les fichiers et les outils pour créer vos propres cartes en chargeant les outils de création SDK Left 4 Dead 2 qui sont disponibles sous l'onglet 'Outils' sur Steam."
 
"addonDescription_FR"              "Les survivants doivent s'échapper en métro dans cette carte du tutoriel. Obtenez les fichiers et les outils pour créer vos propres cartes en chargeant les outils de création SDK Left 4 Dead 2 qui sont disponibles sous l'onglet 'Outils' sur Steam."
"addonDescription_DE"              "Survivors muss auf einer U-Bahn in diesem kurzen Tutorial beispielsweise Kampagne entkommen. Holen Sie sich die Quelldateien und Werkzeuge für die Erstellung eigener Kampagnen, indem Sie die Left 4 Dead 2 Authoring Tools SDK, welches unter der Registerkarte "Tools" in Steam."
+
"addonDescription_DE"              "Survivors muss auf einer U-Bahn in diesem kurzen Tutorial beispielsweise Kampagne entkommen. Holen Sie sich die Quelldateien und Werkzeuge für die Erstellung eigener Kampagnen, indem Sie die Left 4 Dead 2 Authoring Tools SDK, welches unter der Registerkarte 'Tools' in Steam."
 
"addonDescription_IT"              "I sopravvissuti devono sfuggire su un treno della metropolitana in questa breve campagna esempio tutorial. Ottenere file di origine e di strumenti per la creazione di campagne scaricando il Left 4 Dead 2 Authoring Tools SDK, che è disponibile sotto la scheda 'Strumenti' nel vapore."
 
"addonDescription_IT"              "I sopravvissuti devono sfuggire su un treno della metropolitana in questa breve campagna esempio tutorial. Ottenere file di origine e di strumenti per la creazione di campagne scaricando il Left 4 Dead 2 Authoring Tools SDK, che è disponibile sotto la scheda 'Strumenti' nel vapore."
 
"addonDescription_JA"              "生存者はこの短いチュートリアルの例のキャンペーンの地下鉄電車の中でエスケープする必要があります。スチームで[ツール]タブの下で利用可能ですレフト4デッド2オーサリングツールのSDKをダウンロードすることにより、独自のキャンペーンを作成するためのソースファイルやツールを入手してください。"
 
"addonDescription_JA"              "生存者はこの短いチュートリアルの例のキャンペーンの地下鉄電車の中でエスケープする必要があります。スチームで[ツール]タブの下で利用可能ですレフト4デッド2オーサリングツールのSDKをダウンロードすることにより、独自のキャンペーンを作成するためのソースファイルやツールを入手してください。"
 
"addonDescription_KO"              "생존자들은이 짧은 튜토리얼 예제 캠페인 지하철에서 탈출해야합니다. 증기의 '도구'탭에 따라 사용할 수 있습니다 레프트 4 데드 2 제작 도구 SDK를 다운로드하여 자신의 캠페인을 만들기위한 소스 파일과 도구를 얻을."
 
"addonDescription_KO"              "생존자들은이 짧은 튜토리얼 예제 캠페인 지하철에서 탈출해야합니다. 증기의 '도구'탭에 따라 사용할 수 있습니다 레프트 4 데드 2 제작 도구 SDK를 다운로드하여 자신의 캠페인을 만들기위한 소스 파일과 도구를 얻을."
"addonDescription_NO"              "Overlevende må rømme på et tog i denne korte opplæringen eksempel kampanjen. Få kildefilene og verktøy for å lage dine egne kampanjer ved å laste ned Left 4 Dead 2 Authoring verktøy SDK, som er tilgjengelig under "Verktøy"-fanen i Steam."
+
"addonDescription_NO"              "Overlevende må rømme på et tog i denne korte opplæringen eksempel kampanjen. Få kildefilene og verktøy for å lage dine egne kampanjer ved å laste ned Left 4 Dead 2 Authoring verktøy SDK, som er tilgjengelig under 'Verktøy'-fanen i Steam."
"addonDescription_PL"              "Ocaleni muszą uciekać na pociąg metra w tej krótkiej kampanii przykład samouczka. Pobierz pliki źródłowe i narzędzia do tworzenia własnych kampanii pobierając Left 4 Dead 2 Authoring narzędzi SDK, który jest dostępny w zakładce "Narzędzia" w Steam."
+
"addonDescription_PL"              "Ocaleni muszą uciekać na pociąg metra w tej krótkiej kampanii przykład samouczka. Pobierz pliki źródłowe i narzędzia do tworzenia własnych kampanii pobierając Left 4 Dead 2 Authoring narzędzi SDK, który jest dostępny w zakładce 'Narzędzia' w Steam."
"addonDescription_PT"              "Sobreviventes deve escapar em um trem do metrô nesta campanha exemplo curto tutorial. Obter arquivos de origem e ferramentas para criar suas próprias campanhas baixando o Left 4 Dead 2 Authoring ferramentas SDK, que está disponível na aba "Ferramentas" no Steam."
+
"addonDescription_PT"              "Sobreviventes deve escapar em um trem do metrô nesta campanha exemplo curto tutorial. Obter arquivos de origem e ferramentas para criar suas próprias campanhas baixando o Left 4 Dead 2 Authoring ferramentas SDK, que está disponível na aba 'Ferramentas' no Steam."
"addonDescription_RU"              "Выжившие должны бежать на поезд метро, ​​в этой короткой кампании пример урока. Получить исходные файлы и инструменты для создания собственных кампаний, загрузив Left 4 Dead 2 Authoring инструментов SDK, который доступен на вкладке "Инструменты" в Steam."
+
"addonDescription_RU"              "Выжившие должны бежать на поезд метро, ​​в этой короткой кампании пример урока. Получить исходные файлы и инструменты для создания собственных кампаний, загрузив Left 4 Dead 2 Authoring инструментов SDK, который доступен на вкладке 'Инструменты' в Steam."
"addonDescription_ZH"              "幸存者必须逃离地铁列车在这个简短的教程示例活动。获取源文件和工具下载左4人死亡2制作工具SDK,这是可以在“工具”选项卡下蒸汽用于创建您自己的运动。"
+
"addonDescription_ZH"              "在这个简短的示范性的战役中,生还者必须逃出地铁列车。通过下载求生之路2的专属工具(Left 4 Dead 2 Authoring tools SDK)----此SDK可以在steam平台的库中的工具一栏找到----来获取起源引擎的文件和工具以创建属于您自己的战役。"
"addonDescription_ES"              "Los sobrevivientes deben escapar en un tren subterráneo en esta corta campaña de ejemplo del tutorial. Obtenga los archivos de origen y las herramientas para crear sus propias campañas por descargar el Left 4 Dead 2 Authoring herramientas SDK, que está disponible en la pestaña "Herramientas" en Steam."
+
"addonDescription_ES"              "Los sobrevivientes deben escapar en un tren subterráneo en esta corta campaña de ejemplo del tutorial. Obtenga los archivos de origen y las herramientas para crear sus propias campañas por descargar el Left 4 Dead 2 Authoring herramientas SDK, que está disponible en la pestaña 'Herramientas' en Steam."
"addonDescription_SV"              "Överlevande måste fly på ett tunnelbanetåg i denna korta handledning exempel kampanjen. Få källfiler och verktyg för att skapa dina egna kampanjer genom att ladda ner Left 4 Dead 2 Authoring Tools SDK, som är tillgänglig under "Verktyg" fliken i Steam."
+
"addonDescription_SV"              "Överlevande måste fly på ett tunnelbanetåg i denna korta handledning exempel kampanjen. Få källfiler och verktyg för att skapa dina egna kampanjer genom att ladda ner Left 4 Dead 2 Authoring Tools SDK, som är tillgänglig under 'Verktyg' fliken i Steam."
 
}
 
}
</source>
+
</pre>
 +
}}
  
 
== See also ==
 
== See also ==

Latest revision as of 04:55, 24 June 2021

In Left 4 Dead Left 4 Dead 2, add-ons require metadata setup to appear in the add-ons menu with the proper descriptions, be categorizable by the tags sorting system, or load assets at only the appropiate moment. This is all done with theaddoninfo.txtfile. In Left 4 Dead 2, add-ons attained from workshop subscription uses the Steam Workshop to build metadata, soaddoninfo.txtfile is either only for locally installed add-ons, or workshop add-ons converted into a local add-on.

Warning.png Warning: Add-ons withoutaddoninfo.txtwill not be accessible in the menu when installed locally! Even in Left 4 Dead 2, you should build aaddoninfo.txtfile for add-ons submitted to the Steam Workshop, since users do convert the add-ons locally.
Note.png Note: In Left 4 Dead, add-ons don't reload until you relaunch the game, whereas in Left 4 Dead 2, add-ons reload everytime you enter and exit the add-ons menu, but are locked from being replaced while its active.

Keys

Some of the keys present are for the add-ons menu's tag system only.'..' will be appended if the add-on has 4+ tags for Left 4 Dead's default menu UI, while for Left 4 Dead 2's default menu UI, its a 30 character limited. In Left 4 Dead 2, add-ons will be filtered to appear for the respective tag filter settings.

Key Description
addonSteamAppID Steam App ID the add-on is for. Put 500 for Left 4 Dead and 550 for Left 4 Dead 2.
addonTitle Title of the add-on. Mind that the default add-on menu can't show long titles in full.
addonVersion Version number of the add-on. Used to determine if an user's add-on is mismatched to the lobby hoster's.
Confirm:It is best to keep the number as an integer, so no decimals.
addonTagline Tagline/wrap-up short description; for custom map add-ons only. In Left 4 Dead Left 4 Dead 2, it appears only when selecting a custom map in the game setup menu.
Confirm:In Left 4 Dead, it is present when viewing the scoreboard in the custom map; right below the map's title.
addonAuthor Name of the author.
addonAuthorSteamID (Optional) Steam ID of author, which will be used to construct an URL to the author's page. To do: How does this look like?
addonSteamGroupName (Optional) Steam group related to the add-on, which will be used to construct an URL to the group page. To do: How does this look like?
addonURL0 Home page of addon with a download link. Appears only in the menu when trying to join games, or joining a lobby eith a content you don't have downloaded. (e.g. Mutations)
Note.png Note: Some websites allow you to create a page for your addon before you publish it. Copy that "Unpublished" addon link into this field.
addonContent_Campaign Left 4 Dead Left 4 Dead 2 Modifies add-on assets to only load when the maps set in the mission file are loaded.
Also marks add-on withCampaigntag in Left 4 Dead, while theCampaignstag in Left 4 Dead 2.
Confirm:Is the first sentence's statement true for Left 4 Dead?
addonContent_Survival To do: Exact function unknown.
addonContent_Scavenge (only in Left 4 Dead 2) To do: Exact function unknown.
addonContent_Versus To do: Exact function unknown.
addonContent_Map In Left 4 Dead, marks add-on withMapstag. In Left 4 Dead 2, marks add-on withCampaignstag. Left 4 Dead Left 4 Dead 2 Doesn't get used ifaddonContent_Campaignis already used.
addonContent_Survivor In Left 4 Dead, marks add-on withSurvivor Modelstag. In Left 4 Dead 2, marks add-on withSurvivorstag. Use a single string in quotes if replaces specific single character, i.e. "Coach".
To do: Clarify the latter
addonContent_Skin In Left 4 Dead Left 4 Dead 2, marks add-on withSkinstag. In Left 4 Dead 2, use a single string for single skin possible. To do: How is the single string set up, and what would happen if we do this?
addonContent_BossInfected In Left 4 Dead, marks add-on withBoss Modelstag. In Left 4 Dead 2, marks add-on withInfectedtag. Doesn't conflict withaddonContent_BossInfectedtag.
addonContent_CommonInfected In Left 4 Dead, marks add-on withCommon Modelstag. In Left 4 Dead 2, marks add-on withInfectedtag. Doesn't conflict withaddonContent_CommonInfectedtag.
addonContent_Music In Left 4 Dead, marks add-on withMusictag. In Left 4 Dead 2, marks add-on withSoundstag.
addonContent_Sound In Left 4 Dead Left 4 Dead 2, marks add-on withSoundstag.
addonContent_Prop In Left 4 Dead, marks add-on withProp Modelstag. In Left 4 Dead 2, marks add-on withItemstag.
addonContent_Weapon In Left 4 Dead, marks add-on withWeapon Modelstag. In Left 4 Dead 2, marks add-on withWeaponstag.
addonContent_Script In Left 4 Dead Left 4 Dead 2, marks add-on withScriptstag.
<Obsolete> addonContent_Prefab Deprecated. Prefabs refer to Hammer VMF prefabs. This doesn't alter the menu tags in anyway.
<Obsolete> addonContent_Spray Deprecated. This doesn't alter the menu tags in anyway.
<Obsolete> addonContent_BackgroundMovie Deprecated. This doesn't alter the menu tags in anyway.
<Obsolete> Content_Weapon Deprecated. Meant to be used when the addon "provides a new weapon, i.e. guns, explosives, booby traps, hot tar, etc.". This might not be technically feasible in Left 4 Dead, while too much effort required in Left 4 Dead 2. This doesn't alter the menu tags in anyway.
<Obsolete> Content_WeaponModel Deprecated. Meant to be used when the addon overrides a weapon skin (for existing weapons). This doesn't alter the menu tags in anyway.
addonDescription Description of addon. In Left 4 Dead 2, Add-ons from subscription of Steam Workshop have a 499 characters limit for descriptions.
This tag has extra localization key variants (e.g.addonDescription_DA) meant to be accessed by appending certain characters at the right of this key; all of them being:
  • _DA - Danish
  • _NL - Dutch
  • _FI - Finnish
  • _FR - French
  • _DE - German
  • _IT - Italian
  • _JA - Japanese
  • _KO - Korean
  • _NO - Norwegian
  • _PL - Polish
  • _PT - Portugal
  • _RU - Russian
  • _ZH - Chinese
  • _ES - Spanish
  • _SV - Sweden
Confirm:Are these localization tags defunct? In Left 4 Dead 2, reports of the workshop localization working only on the webpage, but don't transfer to the in-game menu, exists.

File Samples

These are the addoninfo metadata files from the sample Deadline campaign in in both Left 4 Dead Left 4 Dead 2, which is meant to provide example material for custom add-ons.
The full add-on and source files can be downloaded off a website hosted by Steam:

Dead Line Left 4 Dead


Dead Line 2 Left 4 Dead 2


See also