Addoninfo.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(various cleanups and added the official addoninfo.txt, the other one is probably from a beta and not yet fully documented or implemented)
Line 1: Line 1:
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]].
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]].
== Left 4 Dead ==


<source lang=ini>
<source lang=ini>
Line 26: Line 28:
</source>
</source>


== Left 4 Dead 2 ==


== BELOW IS A CUSTOMISABLE ONE FOR LEFT 4 DEAD 2.. ONLY USE WITH LEFT 4 DEAD 2!! ==
This is the official addoninfo metadata file included with the sample Dead Line 2 campaign.


Here's the addoninfo I used hope it helps you.
<source lang=ini>
found online for "Left 4 Dead 2 Only".. dunno if there is more..
// The addoninfo.txt file is a metadata file that is required by all Source Engine Add-ons.
and i've also added a lil more info for ya's.
     


<source lang=ini>
"AddonInfo"
"AddonInfo"
{
{
addonSteamAppID        550                                                    // 550 is the app ID for Left 4 Dead 2
    addonSteamAppID        550                                                    // 500 is the app ID for Left 4 Dead, 550 for Left 4 Dead 2
    addontitle              "Dead Line 2"                                          // Add-on title that shows up in Add-ons list. ~20 chars max
    addonversion     1.0                                                    // Add-on version.
    addontagline            "Catch the last subway... out of hell... Again!"     // Add-on tagline or wrap-up- a short description. ~100 chars max
    addonauthor            "Valve"                                                // Name/alias of the author
    addonSteamGroupName    "deadline2add-on"                                      // (Optional) Steam group related to the add-on. We use this to construct a URL to the group page.
    addonauthorSteamID      "YasserMalaika"                                        // (Optional) Steam ID of author. We use this to construct a URL to the author's page.
    addonContent_Campaign  1                                                     //This addon provides muliple connected maps with a finale
    addonURL0              "http://media.steampowered.com/apps/513/deadline2.html" //An html home page for the add-on that includes a download link.


addontitle "Name"
    // short description that appears in the Add-on list screen...
    addonDescription        "Survivors must escape on a subway train in this short tutorial example campaign. Get source files and tools for creating your own campaigns by downloading the Left 4 Dead 2 Authoring tools SDK, which is available under the 'Tools' tab in Steam."


addonversion "3"
    // Authors can add localized descriptions here. (Not yet supported)
    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."
}
</source>


addontagline "" //short description


addonauthor "person"
Here's the addoninfo I used hope it helps you.
found online for "Left 4 Dead 2 Only".. dunno if there is more..
and i've also added a lil more info for ya's.


addonSteamGroupName "group"
<source lang=ini>
 
"AddonInfo"
addonauthorSteamID "$"
{
 
    addonSteamAppID 550            // 550 is the app ID for Left 4 Dead 2
addonContent_Campaign 1 //if its a campaign or  
    addontitle "Name"
// or addonContent_Survival 1  
    addonversion "3"
// or addonContent_Scavenge 1  
    addontagline ""                // short description
// or addonContent_Versus 1 //etc...   
    addonauthor "person"
 
    addonSteamGroupName "group"
addonURL0 "l" //where people can download your VPK  
    addonauthorSteamID "$"
 
    addonContent_Campaign 1       // if its a campaign or  
addonDescription "This is a example file, sample for a Left 4 Dead II Addon System"  
    // or addonContent_Survival 1  
 
    // or addonContent_Scavenge 1  
addonContent_Script 0 //Has Scripts  
    // or addonContent_Versus 1   // etc...   
 
    addonURL0 "l"                 // where people can download your VPK  
addonContent_Music 0 //Has Custom Music  
    addonDescription "This is a example file, sample for a Left 4 Dead II Addon System"  
 
    addonContent_Script 0         // Has Scripts  
addonContent_Sound 0 //Has Custom Sound  
    addonContent_Music 0           // Has Custom Music  
 
    addonContent_Sound 0           // Has Custom Sound  
addonContent_prop 1 //This Add-on provides new props,  
    addonContent_prop 1           // This Add-on provides new props,  
 
    addonContent_Prefab 0         // Provides new prefabs  
addonContent_Prefab 0 //Provides new prefabs  
    addonContent_BackgroundMovie 0 // Provides a replacement for the background movie.
 
    addonContent_Survivor 0       // Provides a new survivor model. 0=false, 1=true, String in quotes if replaces specific single character, i.e. "Coach"
addonContent_BackgroundMovie 0 //Provides a replacement for the background movie.
    // eg addonContent_Survivor "rochelle" works fine, no number.   
 
    addonContent_BossInfected 0   // Provides a new boss infected model. Break these out?
addonContent_Survivor 0 //Provides a new survivor model. 0=false, 1=true, String in quotes if replaces specific single character, i.e. "Coach"
    addonContent_CommonInfected 0 // Provides a new common infected model
// eg addonContent_Survivor "rochelle" works fine, no number.   
    Content_WeaponModel 0         // Provides a new appearance to existing weapons, but does not change their function
 
    Content_weapon 0               // provides new weapons or new zombie killing functionality, i.e. guns, explosives, booby traps, hot tar,
addonContent_BossInfected 0 //Provides a new boss infected model. Break these out?
    addonContent_Skin 0           // 0 if no new skin textures for existing models. 1 if multiple skin pack. String in quotes if specific single skin
 
    addonContent_Spray 0           // Provides new sprays.
addonContent_CommonInfected 0 //Provides a new common infected model
    addonContent_Map 0             // Add-on provides a standalone map
 
Content_WeaponModel 0 //Provides a new appearance to existing weapons, but does not change their function
 
Content_weapon 0 //provides new weapons or new zombie killing functionality, i.e. guns, explosives, booby traps, hot tar,
 
addonContent_Skin 0 //0 if no new skin textures for existing models. 1 if multiple skin pack. String in quotes if specific single skin
 
addonContent_Spray 0 //Provides new sprays.
 
addonContent_Map 0 //Add-on provides a standalone map
}
}
</source>
</source>
Line 93: Line 97:
== See also ==
== See also ==
* [[L4D Campaign Add-on Tutorial]]
* [[L4D Campaign Add-on Tutorial]]
* [[L4D 2 Campaign Add-on Tutorial]]


[[Category:Left 4 Dead]]
[[Category:Left 4 Dead]]

Revision as of 22:10, 24 January 2010

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 custom addons.

Left 4 Dead

// The addoninfo.txt file is a metadata file that is required by all Source Engine Add-ons. 

"AddonInfo"
{
     addonSteamAppID         500                                                     // 500 is the app ID for Left 4 Dead
     addontitle              "Dead Line"                                             // Add-on title that shows up in Add-ons list. ~20 chars max
     addonversion            1.0                                                     // Version number of add-on version of the form <major>.<minor>
     addontagline            "Catch the last subway... out of hell."	             // Add-on tagline or wrap-up- a short description. ~100 chars max
     addonauthor             "Valve"                                                 // Name/alias of the author
     addonSteamGroupName     "deadlineadd-on"                                        // (Optional) Steam group related to the add-on. We use this to construct a URL to the group page.
     addonauthorSteamID      "MikeDurand"                                            // (Optional) Steam ID of author. We use this to construct a URL to the author's page.
     addonContent_Campaign   1 	                                                     //This addon provides muliple connected maps with a finale
     addonURL0               "http://media.steampowered.com/apps/513/deadline.html"  //An html home page for the add-on that includes a download link.

     // short description that appears in the Add-on list screen...
     addonDescription        "Survivors must escape on a subway train in this short tutorial example campaign. Get source files and tools for creating your own campaigns by downloading the Left 4 Dead Authoring tools SDK, which is available under the 'Tools' tab in Steam."
	
     // Authors can add localized descriptions here. (Not yet supported)
     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 qui sont disponibles sous l'onglet 'Outils' sur Steam."	

}

Left 4 Dead 2

This is the official addoninfo metadata file included with the sample Dead Line 2 campaign.

// The addoninfo.txt file is a metadata file that is required by all Source Engine Add-ons.

"AddonInfo"
{
     addonSteamAppID         550                                                     // 500 is the app ID for Left 4 Dead, 550 for Left 4 Dead 2
     addontitle              "Dead Line 2"                                           // Add-on title that shows up in Add-ons list. ~20 chars max
     addonversion	     1.0                                                     // Add-on version.
     addontagline            "Catch the last subway... out of hell... Again!"	     // Add-on tagline or wrap-up- a short description. ~100 chars max
     addonauthor             "Valve"                                                 // Name/alias of the author
     addonSteamGroupName     "deadline2add-on"                                       // (Optional) Steam group related to the add-on. We use this to construct a URL to the group page.
     addonauthorSteamID      "YasserMalaika"                                         // (Optional) Steam ID of author. We use this to construct a URL to the author's page.
     addonContent_Campaign   1 	                                                     //This addon provides muliple connected maps with a finale
     addonURL0               "http://media.steampowered.com/apps/513/deadline2.html" //An html home page for the add-on that includes a download link.

     // short description that appears in the Add-on list screen...
     addonDescription        "Survivors must escape on a subway train in this short tutorial example campaign. Get source files and tools for creating your own campaigns by downloading the Left 4 Dead 2 Authoring tools SDK, which is available under the 'Tools' tab in Steam."

     // Authors can add localized descriptions here. (Not yet supported)
     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."	
 
}


Here's the addoninfo I used hope it helps you. found online for "Left 4 Dead 2 Only".. dunno if there is more.. and i've also added a lil more info for ya's.

"AddonInfo"
{
     addonSteamAppID 550            // 550 is the app ID for Left 4 Dead 2
     addontitle "Name"
     addonversion "3"
     addontagline ""                // short description
     addonauthor "person"
     addonSteamGroupName "group"
     addonauthorSteamID "$"
     addonContent_Campaign 1        // if its a campaign or 
     // or addonContent_Survival 1 
     // or addonContent_Scavenge 1 
     // or addonContent_Versus 1    // etc...  
     addonURL0 "l"                  // where people can download your VPK 
     addonDescription "This is a example file, sample for a Left 4 Dead II Addon System" 
     addonContent_Script 0          // Has Scripts 
     addonContent_Music 0           // Has Custom Music 
     addonContent_Sound 0           // Has Custom Sound 
     addonContent_prop 1            // This Add-on provides new props, 
     addonContent_Prefab 0          // Provides new prefabs 
     addonContent_BackgroundMovie 0 // Provides a replacement for the background movie.
     addonContent_Survivor 0        // Provides a new survivor model. 0=false, 1=true, String in quotes if replaces specific single character, i.e. "Coach"
     // eg addonContent_Survivor "rochelle" works fine, no number.  
     addonContent_BossInfected 0    // Provides a new boss infected model. Break these out?
     addonContent_CommonInfected 0  // Provides a new common infected model
     Content_WeaponModel 0          // Provides a new appearance to existing weapons, but does not change their function
     Content_weapon 0               // provides new weapons or new zombie killing functionality, i.e. guns, explosives, booby traps, hot tar,
     addonContent_Skin 0            // 0 if no new skin textures for existing models. 1 if multiple skin pack. String in quotes if specific single skin
     addonContent_Spray 0           // Provides new sprays.
     addonContent_Map 0             // Add-on provides a standalone map
}

See also