Create a folder that will contain the original source files that will be used to create the final released files for use in-game.For example, the source folder will contain the smd file and other files used to create the final released mdl file. Setup the Source Folder'Source' folder refers to the original files used to create the files used in L4D2 it doesn't mean 'Source engine' in this tutorial. Replace 'Rochelle' on the addonContent_Survivor line with name of the survivor your custom model replaces.Replace the text in double-quotes for the first section of fields (addonversion to addonSteamGroupName).Copy-paste the following block of text into the file.In the release folder, create a text document with this name: addoninfo.txt.Also within the release folder, create the folder tree: modelssurvivors.Within the release folder, create the folder tree: materialsmodelssurvivors.(This will be referred to as the 'release folder'.) Create a folder that will contain the final files that will be used in the game.(Pay careful attention to installation instructions because it must be placed in certain folder.) (The exe file for this can be placed anywhere.) Create a shortcut to ' vpk.exe' found (by default) in ' C:Program FilesSteamsteamappscommonleft 4 dead 2bin'.It should be placed somewhere convenient so you can drag-and-drop a folder onto it. Move the shortcut to your 'SendTo' folder (or to any other folder, such as your desktop).Create a shortcut to ' hlmv.exe' found (by default) in ' C:Program FilesSteamsteamappscommonleft 4 dead 2bin'.L4D2 has its own set of SDK tools separate from other Source engine games, including its own version of HLMV.
Setup the Tools Install Tools Found in Steam
For editing text files and for changing values in binary files.For extracting model (and other related) files from L4D2.For decompiling mdl and related model files.
Find on your computer: ' C:Program FilesSteamsteamappscommonleft 4 dead 2binhlmv.exe'.
For packaging model files into a VPK file that a user can place in his L4D2 addon folder to see custom model in-game.Find on your computer: ' C:Program FilesSteamsteamappscommonleft 4 dead 2binvpk.exe'.For testing addons (such as a custom survivor model) in L4D2.Probably need this to use some tools listed further down.Please note: Some multiplayer servers and game-modes might require you to own other games - such as Counter-Strike: Source and Team Fortress 2. Take as much or as little as you need: it’s all free. It has everything from new tools to improve your builds, to guns that fire rainbow-tinged nuclear blasts from space. We have one of the most vibrant Steam Community Workshops, with over 300'000 models, maps, and contraptions to download. Elevator: Source is gaming's first elevator thrill ride, delivering players to airlocks and kitten dance parties. Be a ball, a plant, a chair, or anything else in Prop Hunt's elaborate, shape-shifting game of Hide & Seek. In Trouble In Terrorist Town, you can be a detective solving an online murder as criminals attempt to cover up their homicides. The Garry's Mod community is a tremendous source of content and has added hundreds of unique modes to the game. But if you want to do more, we have the means. If you're not too great at construction - don't worry! You can place a variety of characters in silly positions. You can do it offline, or join the thousands of players who play online each day. You spawn objects and weld them together to create your own contraptions - whether that's a car, a rocket, a catapult or something that doesn't have a name yet - that's up to you. We give you the tools and leave you to play. There aren't any predefined aims or goals.