Home| What is Steam| Community| News| Cyber Cafés| Forums| Support| Stats

Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Left 4 Dead
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rating: Thread Rating: 15 votes, 4.53 average. Display Modes
Old 12-18-2008, 12:29 PM   #1
RokkOn
Banned
 
Join Date: Apr 2008
Reputation: 27
Posts: 851
Post How to play as infected in single player

Due to request of a few people, I decided to post how to play versus in single player.
Go to steam/steamapps/common/left4dead/left4dead/cfg and make a new file called "spversus.cfg". Now, copy and paste all of this in your cfg file:
echo "SPVersus mode activated!"
sv_cheats 1
director_no_human_zombies 0
sb_all_bot_team 1
unbind "F1"
unbind "F2"
unbind "F3"
unbind "F4"
unbind "F5"
unbind "F6"
bind "F1" "z_spawn boomer"
bind "F2" "z_spawn smoker"
bind "F3" "z_spawn hunter"
bind "F4" "z_spawn tank"
bind "F5" "z_add
bind "F6" "z_spawn witch"

Then close the file, save it and make it read only, because left4dead likes to edit files. Anyway, start up left4dead in single player, doesn't matter what map, type "exec spversus.cfg" in console. Then press your team switch key and switch to infected. You can spawn as, or when you have already spawned, spawn a boomer with F1, a smoker with F2, a hunter with F3, a tank with F4, a common infected with F5 and a witch with F6. But, you will notice the so-called "zombie ladders" are missing! To fix this, you have to change to the versus levels instead of the co-op levels. type "changelevel l4d_vs(fill in the rest, the console will give you suggestions about existant maps from there on. hospital is no mercy and farm is blood harvest).
Have fun!

How to switch team even when you reached the limit:
Simply type "vs_max_team_switches 10" in the console to join a team infected even when you have reached your limit. You may want to use sm_cvar vs_max_Team_switches 10 so you don't have to use cheats.

Update:
Spawning as a special infected with z_spawn works again! Just type "give health" in console or better yet, bind it to a key, and it will work again! Your HP is normal, hunters can pounce again, your HUD appears and you no longer have 1 HP.

Update #2

You may also want to try the "all4dead" plugin for sourcemod.
http://forums.alliedmods.net/showthread.php?p=751952
Combine sourcemod and this plugin and you can use sm_cvar to alter cheat-only cvars without turning sv_cheats on, and all4dead features a handy menu that can do a lot more. Including spawning infected. All4dead will notify players of every all4dead action, but this can be turned off. Note that automatic spawning (meaning that the director chooses where to spawn it if you try to spawn an infected) is on by default. You can turn this off with a4d_automatic_placement 0 or use the admin menu-all4dead settings. This will toggle if the director chooses where to spawn the infected, or not spawn it at all if it's not fair, and toggling it off will spawn it at your crosshair. And all4dead automatically gives the spawned infected it's health so that it won't have the no-pounce no-hud no-hp glitch.
If you use all4dead you can host an spversus game while players can still join your game.
Simply scrap everything out of your spversus.cfg and replace it with this:

echo "SPVersus mode activated! Have fun!"
a4d_automatic_placement 0
bind F1 "a4d_spawn_infected Boomer"
bind F2 "a4d_spawn_infected Smoker"
bind F3 "a4d_spawn_infected Hunter"
bind F4 "a4d_spawn_infected Tank"
bind F5 "a4d_spawn_infected Common"
bind F6 "a4d_spawn_infected Witch"


Then use the sm_admin menu and go to all4dead settings-versus settings to alter if the game requires 1 human survivor and alter if it's a versus game.

Have fun!

Last edited by RokkOn : 04-10-2009 at 12:29 AM. Reason: Added All4dead sourcemod plugin.
RokkOn is offline   Reply With Quote
Old 12-18-2008, 12:31 PM   #2
linfosoma
 
Join Date: Jul 2008
Reputation: 315
Posts: 5,750
Interesting, I need to practice my hunter pounces.
Just wondering, why do you need to unbind those keys?
linfosoma is offline   Reply With Quote
Old 12-19-2008, 04:47 AM   #3
RokkOn
Banned
 
Join Date: Apr 2008
Reputation: 27
Posts: 851
I just added the instructions for the F# keys.
@linfosoma: Because the keys are then already bound to certain things. Voteyes and voteno to F1 and F2 and something else to F4, but I forgot what it was. But as soon as you exit the session, your keys will be set back to what they were.
RokkOn is offline   Reply With Quote
Old 12-19-2008, 04:55 AM   #4
drunkenrobot
 
Join Date: May 2008
Reputation: 0
Posts: 96
How do you create cfg files?
drunkenrobot is offline   Reply With Quote
Old 12-19-2008, 04:56 AM   #5
RokkOn
Banned
 
Join Date: Apr 2008
Reputation: 27
Posts: 851
You create a new .txt file, change the extension to .cfg. That's it.
RokkOn is offline   Reply With Quote
Old 12-19-2008, 05:00 AM   #6
grep
 
Join Date: Sep 2007
Reputation: 65
Posts: 714
Very cool! have rep, man!
grep is offline   Reply With Quote
Old 12-19-2008, 05:30 AM   #7
RokkOn
Banned
 
Join Date: Apr 2008
Reputation: 27
Posts: 851
Also, I'm still trying to figure out if there is any way to make boss infected spawn at versus rates, and there are already a few console commands that look like it, but sadly, they don't work.
RokkOn is offline   Reply With Quote
Old 12-19-2008, 06:07 AM   #8
Marcan
 
Join Date: Dec 2008
Reputation: 0
Posts: 29
That's great, thanks.
Marcan is offline   Reply With Quote
Old 12-19-2008, 06:17 AM   #9
CENSOR
Banned
 
Join Date: Nov 2008
Reputation: 3
Posts: 156
Erm, does this not work for anyone else either?

I made the doc, named it correctly, did all that. But in game after I type "exec spversus.cfg" in console, it says "exec: couldn't exec spversus.cfg"
CENSOR is offline   Reply With Quote
Old 12-19-2008, 07:23 AM   #10
Marcan
 
Join Date: Dec 2008
Reputation: 0
Posts: 29
Check the file path and that you put it in the correct folder.
Marcan is offline   Reply With Quote
Old 12-19-2008, 09:42 AM   #11
RokkOn
Banned
 
Join Date: Apr 2008
Reputation: 27
Posts: 851
Put the cfg file in steam\steamapps\common\left4dead\left4dead\cfg. If you COPIED AND PASTED the list that I gave what the contents should be, and it's in the correct folder, it should work. Unless you made a typo in the file name. Either in the console or the file itself.
Ontopic: I think I finally found the console cmd for special infected respawn rates:
z_special_spawn_interval #

Last edited by RokkOn : 12-19-2008 at 09:48 AM.
RokkOn is offline   Reply With Quote
Old 12-19-2008, 09:57 AM   #12
The_Musician
 
Join Date: Jun 2007
Reputation: 5
Posts: 712
old news is old.
The_Musician is offline   Reply With Quote
Old 12-19-2008, 09:58 AM   #13
herschede16
 
Join Date: Oct 2008
Reputation: 31
Posts: 208
thanks for the info

what does z_add do though?
herschede16 is offline   Reply With Quote
Old 12-19-2008, 10:00 AM   #14
mystrdat
 
Join Date: Nov 2008
Reputation: 250
Posts: 2,483
This has already been covered in Essential Console Commands thread.
mystrdat is offline   Reply With Quote
Old 12-19-2008, 10:23 AM   #15
gotrice42000
 
Join Date: Nov 2008
Reputation: 0
Posts: 25
do you need to be connect to the net for this to work?
gotrice42000 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Idea: Introduce Personal Banlists Pack A Lunch Left 4 Dead 65 02-08-2009 05:25 PM
Single Player Infected Mode! Robofire Left 4 Dead 9 12-16-2008 07:44 PM
Is it still possible to play as infected in single player? moosenukes Left 4 Dead 23 11-26-2008 08:13 AM
Respawning in single player LiquidLithium Source Coding 0 09-04-2008 09:07 AM


All times are GMT -8. The time now is 10:21 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Site Content Copyright Valve Corporation 1998-2009, All Rights Reserved.