Raised This Month: $51 Target: $400
 12% 

L4D2 Maplist.txt and Mapcycle.txt worthless?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
moxie2020
Veteran Member
Join Date: Aug 2011
Old 07-27-2012 , 20:03   L4D2 Maplist.txt and Mapcycle.txt worthless?
Reply With Quote #1

Are the maplists and mapcycles even used in L4D2?

I am guessing no since I cannot find a complete list anywhere.

I found this plugins to change campaigns: https://forums.alliedmods.net/showth...paigns&page=66

I am just curious what map loads next once you launch a server or does the lobby take over the server?

What about map votes? Can I use mapchooser with L4D2? If so does anyone have a complete list of L4D2 maps?
moxie2020 is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 07-29-2012 , 06:04   Re: L4D2 Maplist.txt and Mapcycle.txt worthless?
Reply With Quote #2

The plugin you have there is the best way to do it, mapchooser will not work.
May I also suggest https://forums.alliedmods.net/showthread.php?p=1582772 , cause a lot of people will not like to play on a modded server, and will use the return to lobby vote. With the plugin I posted you can easily control what votes non admins can preform.
If someone connects to your server from lobby it will change to the map they set in the lobby, and if I remember correctly that plugin wont return players to the lobby after a mission is over, it will simply change mission.

https://forums.alliedmods.net/showthread.php?p=1140972 Here is a map voter for l4d/l4d2

Also I hope you have installed smac, as there is a lot of cheaters in l4d2, https://forums.alliedmods.net/showthread.php?p=1491240 I also use that one in addition to smac on my servers.

Last edited by checkster; 07-29-2012 at 06:05.
checkster is offline
PatriotGames
AlliedModders Donor
Join Date: Feb 2012
Location: root@irs:/# rm -rf /
Old 07-31-2012 , 16:03   Re: L4D2 Maplist.txt and Mapcycle.txt worthless?
Reply With Quote #3

Hi,

In short, no, the maplist.txt and mapcycle.txt are not used in L4D2. However, maplist.txt can be used to populate the map selection in your admin menu. To do so, change these lines in your addons/sourcemod/configs/maplists.cfg file from:

PHP Code:
/* Admin menu, map menu */
    
"sm_map menu"
    
{
        
"file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    
}
    
    
/* Admin menu, map voting menu */
    
"sm_votemap menu"
    
{
        
"file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    

To this:
PHP Code:

    
/* Admin menu, map menu */
    
"sm_map menu"
    
{
        
"file"            "maplist.txt"
    
}
    
    
/* Admin menu, map voting menu */
    
"sm_votemap menu"
    
{
        
"file"            "maplist.txt"
    

Of course, you have to populate your maplist.txt file with the maps you want to have listed in the admin menu. Here is a complete list you can use:
PHP Code:
c1m1_hotel
c1m2_streets
c1m3_mall
c1m4_atrium
c2m1_highway
c2m2_fairgrounds
c2m3_coaster
c2m4_barns
c2m5_concert
c3m1_plankcountry
c3m2_swamp
c3m3_shantytown
c3m4_plantation
c4m1_milltown_a
c4m2_sugarmill_a
c4m3_sugarmill_b
c4m4_milltown_b
c4m5_milltown_escape
c5m1_waterfront
c5m2_park
c5m3_cemetery
c5m4_quarter
c5m5_bridge
c6m1_riverbank
c6m2_bedlam
c6m3_port
c7m1_docks
c7m2_barge
c7m3_port
c8m1_apartment
c8m2_subway
c8m3_sewers
c8m4_interior
c8m5_rooftop
c9m1_alleys
c9m2_lots
c10m1_caves
c10m2_drainage
c10m3_ranchhouse
c10m4_mainstreet
c10m5_houseboat
c11m1_greenhouse
c11m2_offices
c11m3_garage
c11m4_terminal
c11m5_runway
c12m1_hilltop
c12m2_traintunnel
c12m3_bridge
c12m4_barn
c12m5_cornfield
c13m1_alpinecreek
c13m2_southpinestream
c13m3_memorialbridge
c13m4_cutthroatcreek 
What you put in the list is entirely up to you.

Regarding automatic map changes, you do have to use a plugin, and the Force Mission Changer you linked works very well. The map rotation is determined by the sm_l4d_mapchanger.txt file included with the plugin. You can edit that file to have pretty much any rotation you want. Either way, it is a fixed rotation without voting.

Another map change plugin that includes voting is Automatic Campaign Switcher that el Psycho has taken over developing. It's worth a look.

Best regards,

PG
PatriotGames is offline
moxie2020
Veteran Member
Join Date: Aug 2011
Old 07-31-2012 , 16:29   Re: L4D2 Maplist.txt and Mapcycle.txt worthless?
Reply With Quote #4

Quote:
Originally Posted by PatriotGames View Post
Hi,

In short, no, the maplist.txt and mapcycle.txt are not used in L4D2. However, maplist.txt can be used to populate the map selection in your admin menu. To do so, change these lines in your addons/sourcemod/configs/maplists.cfg file from:

PHP Code:
/* Admin menu, map menu */
    
"sm_map menu"
    
{
        
"file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    
}
    
    
/* Admin menu, map voting menu */
    
"sm_votemap menu"
    
{
        
"file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    

To this:
PHP Code:

    
/* Admin menu, map menu */
    
"sm_map menu"
    
{
        
"file"            "maplist.txt"
    
}
    
    
/* Admin menu, map voting menu */
    
"sm_votemap menu"
    
{
        
"file"            "maplist.txt"
    

Of course, you have to populate your maplist.txt file with the maps you want to have listed in the admin menu. Here is a complete list you can use:
PHP Code:
c1m1_hotel
c1m2_streets
c1m3_mall
c1m4_atrium
c2m1_highway
c2m2_fairgrounds
c2m3_coaster
c2m4_barns
c2m5_concert
c3m1_plankcountry
c3m2_swamp
c3m3_shantytown
c3m4_plantation
c4m1_milltown_a
c4m2_sugarmill_a
c4m3_sugarmill_b
c4m4_milltown_b
c4m5_milltown_escape
c5m1_waterfront
c5m2_park
c5m3_cemetery
c5m4_quarter
c5m5_bridge
c6m1_riverbank
c6m2_bedlam
c6m3_port
c7m1_docks
c7m2_barge
c7m3_port
c8m1_apartment
c8m2_subway
c8m3_sewers
c8m4_interior
c8m5_rooftop
c9m1_alleys
c9m2_lots
c10m1_caves
c10m2_drainage
c10m3_ranchhouse
c10m4_mainstreet
c10m5_houseboat
c11m1_greenhouse
c11m2_offices
c11m3_garage
c11m4_terminal
c11m5_runway
c12m1_hilltop
c12m2_traintunnel
c12m3_bridge
c12m4_barn
c12m5_cornfield
c13m1_alpinecreek
c13m2_southpinestream
c13m3_memorialbridge
c13m4_cutthroatcreek 
What you put in the list is entirely up to you.

Regarding automatic map changes, you do have to use a plugin, and the Force Mission Changer you linked works very well. The map rotation is determined by the sm_l4d_mapchanger.txt file included with the plugin. You can edit that file to have pretty much any rotation you want. Either way, it is a fixed rotation without voting.

Another map change plugin that includes voting is Automatic Campaign Switcher that el Psycho has taken over developing. It's worth a look.

Best regards,

PG
Thanks that is hugely informative.
moxie2020 is offline
Reply



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

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

Forum Jump


All times are GMT -4. The time now is 16:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode