Valve has given permission to use assets from Valve games in content you share on Steam, so long as it is not misrepresented as being endorsed by Valve. Put them into a folder and drag the folder onto vpk.exe, then upload your add-on from the Workshop management screen in the game.Īs with anything on the Steam Community, you need to have legal permission to share the files you're uploading. ![]() Packaging an "Other" add-on is simple - you just need addoninfo.txt, the files you want to add or replace, and optionally addonimage.jpg. They can be model, sound, or texture replacements, unofficial translations, configuration files, asset libraries, loading screens, and so on. "Other" add-ons are add-ons that do not include any missions, campaigns, or challenges. Again, make sure your filenames are unique. cfg/autoexec_.cfg (only for subscribed addons)Īny filename not listed here other than addoninfo.txt and addonimage.jpg will only be loaded from one add-on.Do not include the entire contents of the file from the game, as that will cause higher memory usage and cause you to unintentionally revert changes from other add-ons.Ĭertain files are loaded from all addons, but with different names for each addon. resource/ticker.txt - Main menu stock ticker content.Īugmented files in your add-on should only contain content you added or changed.resource/swarmopedia.txt - Swarmopedia entries.resource/background_movie.txt - Main menu background movies.particles/particles_manifest.txt - List of particle effect files. ![]() resource/closecaption_*.txt - Dialogue translations (any language).English is always loaded as a fallback for translations that are missing from the player's selected language. resource/reactivedrop_*.txt - Translation files (any language).In a few rare cases, the game loads a file from all add-ons that provide it and merges them. Make sure your filenames are unique - for example, include your name or your add-on's name in the filename. Keep in mind that unless otherwise stated, the game will only load a file with a given name from the first installed add-on that provides it. AddonInfo is required for the game to load your add-on. The preview image is optional, and the Steam Workshop preview image will be used by the game instead if your add-on is on the workshop. There are other fields in addoninfo.txt, but they are optional or not read by the game.Īddonimage.jpg is a small (256x256 pixels or smaller - it will be in memory at all times when the add-on is installed) preview image for the add-on. If you override files from multiple other add-ons, you can add multiple overrideaddon keys. If your add-on intentionally overrides files from another add-on (for example, a minimap replacement), you can add an overrideaddon key with the workshop ID of the other add-on. "addondescription" "Shoot guns at bugs in this cool mission!" ![]() If your add-on contains a file named materials/example.vmt (for an unpacked add-on, this could be at reactivedrop/addons/MyAddon/materials/example.vmt), the game acts as if that file were located at reactivedrop/materials/example.vmt.Īddoninfo.txt is a VDF file that describes your add-on.Ī basic addoninfo.txt file looks like this: "AddonInfo" There are two files specific to add-ons: addoninfo.txt and addonimage.jpg.Īll other files in an add-on replace (or in some cases described later in this document, augment) files in the reactivedrop folder. This means that will be named coolsword.vtx inside the VPK. If your add-on is not in a VPK (for example, during development) you may wish to add -override_vpk to your command line arguments, which will cause loose files to be used instead of files inside packages, instead of the default behavior of preferring VPKs.Īll files stored in a VPK are lowercase, and there is only one dot in each file's name. ![]() VPK files, including the more complicated pak01_dir.vpk that stores most of the game's files, can be viewed and extracted with GCFScape. The simplest way to make one is to drag a folder onto vpk.exe, which comes with Alien Swarm: Reactive Drop in the bin folder (the same folder that includes Hammer and HLMV, not the folder that includes client.dll). Alien Swarm: Reactive Drop Add-On Packaging Guide VPK FilesĪdd-Ons are distributed in VPK (Valve PacK) files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |