- Joined
- Nov 23, 2009
Hey there,
This guide is a WIP so it will be added to bit by bit.
Awhile back, I made a few videos of Zoey from L4D and L4D2 and I had a lot of people asking me about the console commands I used and if I could put up my skin for download.
When I originally made Raver Trash Zoey, skins weren't really "drop in" so you had to be familiar with the file structure and file types of the Source Engine and all that. L4D2 has an addon system which makes using them much simpler. Thought I'd write up a little guide about L4D2 resource extraction, console commands, and just general modding info I've picked up while making my Zoey skin. Pretty much everything from the first game has been moved over into L4D2 so I won't cover L4D1.
Tools
GCFScape and VTFEdit were more of a necessity when modding/ripping L4D1 but you still find uses for them. You can find them over at Nem's Tools [Home - News]
I would suggest grabbing the L4D2 Authoring Tools on Steam as well. There's a program in particular that comes in handy (vpk.exe) included in there that you will use to both extract resources and to pack your skins or other mods into an easily shareable addon file. You can download this on Steam by going to the Library window and on the right side of the search bar (although I suppose this might be in a different place depending on Steam skins), change the drop down to Tools, and find it in the list there and install it.
File types
Handy console commands
These can be punched in from the console. You will have to enable this in the game's control options otherwise you can't get to it. The default key for it is the tilde key. That one above Tab that's got the squiggly.
Handy launch options
You can add these by going to the Steam Library window, right clicking L4D2, click properties, then clicking the "SET LAUNCH OPTIONS..." button. You can enter these in any order.
This guide is a WIP so it will be added to bit by bit.
Awhile back, I made a few videos of Zoey from L4D and L4D2 and I had a lot of people asking me about the console commands I used and if I could put up my skin for download.
When I originally made Raver Trash Zoey, skins weren't really "drop in" so you had to be familiar with the file structure and file types of the Source Engine and all that. L4D2 has an addon system which makes using them much simpler. Thought I'd write up a little guide about L4D2 resource extraction, console commands, and just general modding info I've picked up while making my Zoey skin. Pretty much everything from the first game has been moved over into L4D2 so I won't cover L4D1.
Tools
GCFScape and VTFEdit were more of a necessity when modding/ripping L4D1 but you still find uses for them. You can find them over at Nem's Tools [Home - News]
I would suggest grabbing the L4D2 Authoring Tools on Steam as well. There's a program in particular that comes in handy (vpk.exe) included in there that you will use to both extract resources and to pack your skins or other mods into an easily shareable addon file. You can download this on Steam by going to the Library window and on the right side of the search bar (although I suppose this might be in a different place depending on Steam skins), change the drop down to Tools, and find it in the list there and install it.
File types
Code:
vpk - Valve pack file, these can contain game resources or resources for a single addon
vtf - Valve texture file, these are the actual textures used by the game. If you're skinning, these are of interest to you
vmt - Valve material file, these are basic text files that contain information on how to handle textures and other parameters
Handy console commands
These can be punched in from the console. You will have to enable this in the game's control options otherwise you can't get to it. The default key for it is the tilde key. That one above Tab that's got the squiggly.
Code:
sv_cheats 1 // This enables most of the commands that are of interest to you
map blah // Use the map command to load a specific map. Replace blah with the map name. The map names start with c and a number, m and a number (c for campaign, m for map), an underscore, and then the section of the map. For example: c8m1_apartments is the first campaign from L4D1 (No Mercy). If you just type in map and a space, the console actually has an autocomplete function that will let you scroll through the possible maps with the up and down arrow keys
god 1 // Makes survivors immune to damage
host_timescale x // Set the timescale. 1 is 100% = default speed. 4 is 400% = 4 times faster than normal. 0.5 is 50% = 1/2 speed
sb_move 0 // This prevents the survivors from moving
sb_dont_shoot 1 // This prevents the survivors from firing their weapons
sb_dont_bash 1 // This prevents the survivors from meleeing
give blah // Gives "blah" to a survivor. This can be an item or weapon
ent_create blah // Spawns a "blah" at your cursor. This can be an item or weapon
// Here's a short list of things you can give/create
weapon_pistol
weapon_smg
weapon_rifle
weapon_grenade_launcher
upgrade_ammo_incendiary
upgrade_ammo_explosive
upgrade_laser_sight
warp_all_survivors_here // This will teleport all the survivors (including you, if you're playing as one) to where your crosshair is pointing
warp_far_survivor_here // This will teleport the survivor furthest away from you to where your crosshair is pointing
ent_remove // Be careful using this command, it can essentially erase any entity (object) from the game world. The best way to explain the behavior of this is imagining you have a gun that fires bullets that will erase things from existence. The first thing in your line of sight it hits will be gone. This includes survivors/zombies. It is possible to erase your own character with this command so don't hit yourself in the foot with it. If this happens, you can reload the map or just restart the game
Handy launch options
You can add these by going to the Steam Library window, right clicking L4D2, click properties, then clicking the "SET LAUNCH OPTIONS..." button. You can enter these in any order.
Code:
-novid // Skips the Valve intro logo
-nointro // Skips the game specific intro movie
// I find those two help get you into the game quicker to test how skins look in game. If you're particularly obsessive and jump in and out of the game a lot, put these in for sure