Left 4 Dead 2

Left 4 Dead 2

View Stats:
Your_Pain Nov 7, 2014 @ 10:28am
left 4 dead 2
how can i play in lan with my friends? we all have the game on steam and we can't to play in offline lan. Thx!!
< >
Showing 1-15 of 15 comments
Tie Nov 7, 2014 @ 10:31am 
LAN is when all the players are hooked up to the same internet.
Basically in the same household.
You can setup a lobby, then set it to friends-only.
Invite your friends, and play away!
Your_Pain Nov 7, 2014 @ 10:35am 
we don't have internet..for example we play call of duty and other games in offline lan. i create a ad hoc network with win7, the other connects to me and after i create the server. I can't create the server in l4d2, the game give me error.
Tie Nov 7, 2014 @ 10:42am 
Create a shortcut for Left 4 Dead 2.
Open the shortcut’s properties, proceed to Shortcut tab and add the following at the end of the Target field: –insecure. Click Apply/OK to save the new setting.
Every time you run Left 4 Dead 2, you should do so by using this modified shortcut. The guide below will not work if you don’t use the shortcut.

After following the steps above, run the game. You will then need to enable the developer console. Optionally, you can also enable automatic detection of LAN games for convenience to those who will join your hosted game. Here's how:
How to enable Developer Console:


1. At the game main menu, click Options.
2. Click Keyboard/Mouse.
3. Click Allow Developer Console and select Enabled.

Left 4 Dead 2 main menu with console open.
Click image to enlarge.
How to automatically detect LAN games:

1. At the game main menu, click Options.
2. Click Multiplayer.
3. Click Automatically Discover LAN Games and select Enabled.

With all the necessary settings set up, it's now time to host a game.

How to create or host a Left 4 Dead 2 local (LAN) game:

1. Open the Developer Console by pressing ` on your keyboard. (It is the key below Esc.)
2. Type sv_lan 1 then press Enter.
3. Type sv_allow_lobby_connect_only 0 then press Enter.
4. In the console, type map then press Space.
5. Right after you press Space all the playable maps will be displayed.
6. Use your keyboard arrows to scroll to your desired map.
7. Press Enter.

Basically the command to create a local game is this:
map nameOfMapHere gameType

An example of a map is this c5m1_waterfront. c5 stands for campaign five, m1 for chapter/map one, and waterfront the corresponding name. Those with The Passing campaign, the campaign code assignment is c6.

List of all Left 4 Dead 2 maps:

Dead Center:
c1m1_hotel c1m2_streets
c1m3_mall c1m4_atrium

The Passing:
c6m1_riverbank c6m2_bedlam c6m1_port

Dark Carnival:
c2m1_highway c2m2_fairgrounds c2m3_coaster
c2m4_barns c2m5_concert

Swamp Fever:
c3m1_plankcountry c3m2_swamp
c3m3_shantytown c3m4_plantation

Hard Rain:
c4m1_milltown_a c4m2_sugarmill_a c4m3_sugarmill_b
c4m4_milltown_b c4m5_milltown_escape

The Parish:
c5m1_waterfront c5m2_park c5m3_cemetery
c5m4_quarter c5m5_bridge

List of all game modes:

campaign scavenge realism
survival versus mutation

If the gameType is left blank, the hosted game will default to a campaign game with normal difficulty. To choose another mode, just type in the console the game mode after the map name.

Example: map c1m4_atrium realism

How to join a LAN game:

When the game is created, the remaining thing to do is to let other players join the game. IfAutomatically Discover LAN Games is enabled, Steam Group Servers may appear in the main menu which players can use to join your game.

Alternately, the console command to join is connect hostIPAdresshere.

Example: connect 123.123.123.123

Steam Group Servers (at the bottom center) appears when it detects a game.
Click image to enlarge.

When clicked, you will then proceed to this window that lists all available games.
Click image to enlarge.
Determining the host's IP address:

Determining your local IP address can be tricky when you're connected to the Internet, so it's best to stay offline when hosting a game. Anyway, the game host must type net_status in the developer console. Some data will appear afterwards. You will need to look for a phrase similar to this: "Net status for host 11.111.11.11:" The numbers that appear on that phrase is the host's IP address.
Last edited by Tie; Nov 7, 2014 @ 10:46am
Your_Pain Nov 8, 2014 @ 12:15am 
perfect, today or tomorrow i'll test this. thx. How to open the console? I press \ but nothing. (it is enable)
DistortedMind87 Nov 8, 2014 @ 12:24am 
Sweet! good info, thanks! :)
Originally posted by Your_Pain:
perfect, today or tomorrow i'll test this. thx. How to open the console? I press \ but nothing. (it is enable)

Press the tilde key. The one directly under ESC.
Tie Nov 8, 2014 @ 2:07am 
Originally posted by Your_Pain:
perfect, today or tomorrow i'll test this. thx. How to open the console? I press \ but nothing. (it is enable)
You will have to go into your options in-game and hit "Enable Dev Console"
OR
Go into your launch options and type in there "-console" (without ")
Then find the tilde key, which should be right next to the 1 key.
Last edited by Tie; Nov 8, 2014 @ 2:07am
Your_Pain Nov 8, 2014 @ 2:46am 
tilde key = \ in european keyboard's layout. i press \ in call of duty and no problem!
Tie Nov 8, 2014 @ 3:03am 
Originally posted by Your_Pain:
tilde key = \ in european keyboard's layout. i press \ in call of duty and no problem!
US
Press the tilde key
US-International
Press the tilde key
AZERTY (France, Belgium)
Press the key above the TAB key
QZERTY
Press the key above the tab key
Dvorak Simplified
Press the key above the TAB key
Arabic
Press the key above the TAB key
Greek
Press the key above the TAB key
Hebrew
Press the key above the TAB key
Bulgarian
Press the key above the TAB key
Devanāgarī
Press the key above the TAB key
Chinese
Press the key above the TAB key
Hangul (Korean)
Press the key above the TAB key
Sebeolsik 390
Press the key above the TAB key
Sebeolsik Final
Press the key above the TAB key
Sebeolsic Noshift
Press the key above the TAB key
Japanese
Press the key above the TAB key
French
Press the key above the TAB key
Swedish / Finnish
Press the ½ / § key above the TAB key
U.K.
Press the grave accent key ( ' ) above the TAB key.
Norwegian
Press the key above the TAB key
Danish
Press the key above the TAB key
Your_Pain Nov 8, 2014 @ 11:15am 
nothing...i press the correct key but the console doesn't appear!
Tie Nov 8, 2014 @ 11:46am 
I think you can bind it in options.
I think.
Stark Raven Aug 12, 2016 @ 2:25pm 
Originally posted by jari86:
i dont think you can fam

You need a life.
princessAli Mar 26, 2018 @ 5:20pm 
How to know the host IP address?
flipya4real Mar 26, 2018 @ 5:30pm 
Originally posted by alimran52:
How to know the host IP address?

type "ipconfig" in command prompt on host pc. open command prompt by searching it or typing cmd into start menu search bar. type ipconfig hit enter.

nice write up Tie.

mb, didn't see the necro date.
Last edited by flipya4real; Mar 26, 2018 @ 5:33pm
ggty Mar 26, 2018 @ 5:53pm 
Originally posted by goredom:
Originally posted by alimran52:
How to know the host IP address?

type "ipconfig" in command prompt on host pc. open command prompt by searching it or typing cmd into start menu search bar. type ipconfig hit enter.

nice write up Tie.

mb, didn't see the necro date.
I agree though

Tie is a beast!
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Nov 7, 2014 @ 10:28am
Posts: 15