## L4D2 Demo - Versus Mod (Play as infected, now)

### L4D2 Demo - Versus Mod (Play as infected, now)

Don't beleive no one has posted this yet

http://www.l4dmods.com/index.php?option ... &Itemid=13

Although the AI survivors are incredibley stupid on their own. They hardly move. And its really hard to get anywhere near them as a jockey/smoker/boomer. As their aimbot is far to good. Haing said that, why cant they play this well when they're on a team with you!?
'
'

colossuss

Player: Colossuss
STEAM_0:1:20166590

Posts: 1192
Joined: Mon Aug 18, 2008 8:12 pm

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

I'm going to try this now on my server and if it works have some fun.
*30 minutes later*Works in single player no problem having trouble with my hosted server will keep trying I want to share the fun and scare players playing the demo on my server.

Sir Bob Geldof
UKCS iSeries Attendee

Player: Geldof Section 9
STEAM_0:0:13484122

Posts: 2034
Joined: Fri Jul 06, 2007 5:25 pm
Location: Dublin Ireland

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

Seemed pretty simple to do with Singeplayer, whats been the trouble on the server?
'
'

colossuss

Player: Colossuss
STEAM_0:1:20166590

Posts: 1192
Joined: Mon Aug 18, 2008 8:12 pm

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

commands don't work and the plugin not being recognised by my hosted server. I haven't had time yet to look at it more but I'll have another go at it.

Sir Bob Geldof
UKCS iSeries Attendee

Player: Geldof Section 9
STEAM_0:0:13484122

Posts: 2034
Joined: Fri Jul 06, 2007 5:25 pm
Location: Dublin Ireland

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

Just played it on someone's server, was great fun!
Going to install it now and run a little server :3

EDIT:
# Type the following into console:
plugin_cvar sb_all_bot_team 1
plugin_allow_remote_commands 1
# To become Infected, type the following into console:
set_infected 1
# To change back to survivor, type the following:
set_infected 0
# You can force a client in your server to be infected/survivor by using:
plugin_set_infected <their userid> <0 = make survivor, 1 = make infected>
# Don't want your clients to be able to make themselves infected and manually spawn? Then use the following command:
plugin_allow_remote_commands 0
# If you want your clients to spawn themselves by using infected_spawn, and to disable auto-respawning, use this command:
plugin_infected_autorespawn 0

Pasting it here so i get easy acces from my own server to the commands
Being infected and let innocent people join is awesome

Frying Dutchman

Player: Frying Dutchman
STEAM_0:1:23273517

Posts: 3026
Joined: Fri Apr 24, 2009 5:59 pm
Location: The Netherlands

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

frying you could just setup a cfg and echo the command in console alot easier.

Sir Bob Geldof
UKCS iSeries Attendee

Player: Geldof Section 9
STEAM_0:0:13484122

Posts: 2034
Joined: Fri Jul 06, 2007 5:25 pm
Location: Dublin Ireland

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

Sir Bob Geldof wrote:frying you could just setup a cfg and echo the command in console alot easier.
Yeah make a cfg to do it then give it an alias so you can get all information you need (And the first two commands executed) nice and easily
'
'

colossuss

Player: Colossuss
STEAM_0:1:20166590

Posts: 1192
Joined: Mon Aug 18, 2008 8:12 pm

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

How? I'm stoopeed.

Frying Dutchman

Player: Frying Dutchman
STEAM_0:1:23273517

Posts: 3026
Joined: Fri Apr 24, 2009 5:59 pm
Location: The Netherlands

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

Its not to hard

1. Open up notepad and copy the text you have here into it.
2. If you want to see the commands in console just do this for each command and make sure you have a separate echo and each line has a separate echo
Code: Select all
 echo plugin_cvar sb_all_bot_team 1echo plugin_allow_remote_commands 1echo To become Infected, type the following into console: set_infected 1echo To change back to survivor, type the following: set_infected 0echo You can force a client in your server to be infected/survivor by using:echo plugin_set_infected <their userid> <0 = make survivor, 1 = make infected>echo Don't want your clients to be able to make themselves infected and manually spawn? Then use the following command:echo plugin_allow_remote_commands 0echo If you want your clients to spawn themselves by using infected_spawn, and to disable auto-respawning, use this command:echo plugin_infected_autorespawn 0

3. The first two commands can be executed in console by just having them in cfg without echo command so they are executed not commented.
Code: Select all
plugin_cvar sb_all_bot_team 1plugin_allow_remote_commands 1echo .....

4.Save the text as a cfg by changing the save file to all files and typing in for example infected.cfg. This will save it as a cfg and you can put it in your cfg folder which is steam/steamapps/common/left 4 dead 2 demo\left4dead2\cfg.
5. to use in game just bring up console and type eg. exec infected.cfg and it will exec your cfg. If you have just echoed all the commands they will all display in the console but if you didnt comment the first two commands then it will exec those two commands and echo the other commands.

Hopefully that can be useful frying.

Sir Bob Geldof
UKCS iSeries Attendee

Player: Geldof Section 9
STEAM_0:0:13484122

Posts: 2034
Joined: Fri Jul 06, 2007 5:25 pm
Location: Dublin Ireland

### Re: L4D2 Demo - Versus Mod (Play as infected, now)

Then if you want to make life even easier you can add this to your autoexec.cfg:

Code: Select all
alias  versus  "exec **the cfg name here without .cfg**"

So whenever you type versus in the console it will exec your cfg file
'
'

colossuss