Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Packing your Custom Skin/Model into a VPK

A Tutorial for Left 4 Dead 2

Members see zero ads. Membership is 100% free

No more editing pak01.vpk now you can make your own!

[title]Packing your Custom Skin/Model into a VPK[/title] [u]F.A.Q.[/u] [b]Q: Why pack your skin/model/etc.. into a VPK?[/b] [i]A: Easy packaging, all the player has to do is drop it in the addons folder and select the addons in extras. And the skin/model replacement will appear in-game.[/i] [u]Tutorial[/u] Please note this tutorial assumes you've completed your model/skin replacement and ready to release it! [b]Step 1: Creating the folder[/b] Create a folder and name it to match your release (Ex/ If I was releasing a ellis skin I'd probably call it ellisreskin.) in your Left 4 Dead 2's 'Addons' folder (Found in [i]Steam/steamapps/common/left 4 dead 2/left 4 dead 2/[/i]) Now move your custom model, material, sound, etc. in the folder. Keep the folder structure. (Ex/ ellisreskin/materials/models/survivors/mechanic) [b]Step 2: Making the addoninfo.txt[/b] Create a new text file called 'addoninfo' and open it. Copy the following in the file. Configure it to your need. [i] // The addoninfo.txt file is a metadata file that is required by all Left 4 Dead Add-ons. "AddonInfo" { addontitle "Skin Test" // Add-on title that shows up in Add-ons list. ~20 chars max addonversion 1 // Add-on version. addontagline "Test to see if custom skins work." // Add-on tagline or wrap-up- a short description. ~100 chars max addonauthor "JakeB" // Name/alias of the author addonauthorSteamID "http://steamcommunity.com/id/frostbite" // Steam Profile URL of author or group addonContent_Campaign 0 //This addon provides muliple connected maps with a finale addonURL0 "l" //An html home page for the add-on that includes a download link. // short description that appears in the Add-on list screen... addonDescription "Test to see if custom skins work." // Authors can add localized descriptions here. (Not yet supported) addonDescription_FR "Bonjour." addonContent_Script 0 addonContent_Music 0 addonContent_Sound 0 addonContent_prop 0 //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. "Francis" addonContent_BossInfected 0 //Provides a new boss infected model. Break these out? addonContent_CommonInfected 0 //Provides a new common infected model addonContent_WeaponModel 0 //Provides a new appearance to existing weapons, but does not change their function addonContent_weapon 0 //provides new weapons or new zombie killing functionality, i.e. guns, explosives, booby traps, hot tar, addonContent_Skin 1 //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 } [/i] This part shouldn't require much explaining since all the comments pretty much explain the options. If you require additional assistance please write in the comments and I'll try to answer you ASAP. [b]Step 3: Packing it all up into a VPK.[/b] Now that you've finished the addoninfo.txt you can finally pack it up into a easily distributable VPK file. Go to [i]Steam\steamapps\common\left 4 dead 2\bin[i] and create a shortcut of 'vpk.exe' (for convenience.) and throw it on your desktop. Once that's done drag your folder from 'addons' onto the shortcut. It will create a VPK file of your addon which you can now zip up and upload it for the masses. (You can also remove your folder as it's useless, although you'll need it if you're going to make additional modifications to your VPK file.)

Comments

Sign up to access this!
1-10 of 15
1
Pages
  • 1
  • 2
Go to page:
  • Jasperan avatar
    Jasperan Joined 8y ago
    Offline
    access_time 8y
    Uh...I think I got mine to work, but the problem is that every time I go to the addons in Extras, both the skin and a campaign I had are listed as the same thing. Help?
    Bananite
    URL to post:
  • Lt. Azrael avatar
    Lt. Azrael Joined 9y ago
    Offline
    498 points Ranked 45391st
    access_time 9y
    So, I tried replacing the standard M16, using twinkemastas hk-416 for css, but i realized i don't know how to make it replace anything. How do i do that? Edit, i just read how. Thanks if it works..
    Bananite
    URL to post:
  • GRTNT avatar
    GRTNT Joined 9y ago
    Offline
    access_time 9y
    Pros: addoninfo works and in l4d! Cons: none Improvements: none Notes: thx
    Bananite
    URL to post:
  • SeiakuBlackheart avatar
    SeiakuBlackheart Joined 9y ago
    Offline
    access_time 9y
    Pros: easy to read and the code was pasted for us to acquire Improvements: maybe more screen shots Notes: great job
    HunterPunter
    URL to post:
  • JinNakamura avatar
    JinNakamura Joined 9y ago
    Offline
    access_time 9y
    I recently made a map that finally got NAV to work. It's a survival map, but I understand I can't just upload the bsp map files to the site and work for multiplayer. And so far as I understand it, it'll have to be a VPK format. And so here I am, I followed your instruction, and put it into my addon folder. But when I load my game up, it saids or something like that. And I DID put my name and stuff on it, so what's the deal?
    Bananite
    URL to post:
  • panzer1b avatar
    panzer1b Joined 11y ago
    Offline
    access_time 10y
    One thing i DISAGREE with: pak01.dir DOES NEED EDITING IF YOU WANT CUSTOM STUFF IN ANYTHING BUT SINGLE PLAYER OR CAMPAIN! so besides thet a good tut if ya ask me, now good thing i got mahself some colt 1911s in l4d2 with decent anims, no more darn floating pistols with no walk anims
    End of Line Man...
    URL to post:
  • Anonymous
    access_time 10y
    Oh wow, this is wayy too complicated.
    URL to post:
  • Anonymous
    access_time 10y
    Well, you forgot one thing. It's necessary to install L4D2 Authoring Tools to have vpk.exe in bin directory. "Question where does the addoninfo.txt go? If I get more then one skin in there from me it gets screwed up." In root directory from campaign/model.
    URL to post:
  • Piggy avatar
    Piggy Joined 12y ago
    Offline
    1,081 points Ranked 23962nd
    7 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    access_time 10y
    Question where does the addoninfo.txt go? If I get more then one skin in there from me it gets screwed up.
    Cool Beans
    URL to post:
  • Alex Longclaw avatar
    Alex Longclaw Joined 10y ago
    Offline
    access_time 10y
    Posted by JakeyB
    Posted by Alex Longclaw This only works with survivor skins? Because I tried with a medkit reskin and it didnt worked.
    It only works in Campaign mode, but it works online!
    Well, I tested in singleplayer, didn't worked...
    Oh hai :D
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Jake
Creator

Submitter

FBX avatar
FBX Joined 11y ago
Offline
4,779 points Ranked 1375th
FBX
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 4
  • remove_red_eye 21.2k
  • mode_comment 16
  • access_time 10y
  • access_time 10y

More from Submitter

menu

WiPs by Submitter

menu

More Other/Misc Tutorials

bcp.crwdcntrl.net tracking pixel