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

[PLUGIN] [L4D & L4D2] Admin Cmds Change Map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-01-2011 , 13:48   [PLUGIN] [L4D & L4D2] Admin Cmds Change Map
Reply With Quote #1

Very simple plugin to change the map via console commands (it uses the ForceChangeLevel() sourcemod function). I post here because this is nothing more than a list of commands.

I'm lazy and dislike typing in the command and map name, so now I type in the numbers related to the map.

For example to change map to:
c1m1_hotel -> 11
c3m3_shantytown -> 33
c10m2_drainage -> 102
c11m5_runway -> 115

So as you can see c1m1 becomes 11, c3m3 is 33, c11m5 is 115... The rest you should be able to work out.


EDIT: Added support for L4D1:
1. No Mercy
2. Crash Course
3. Death Toll
4. Dead Air
5. Blood Harvest
6. Sacrifice

So 63 would load finale of Sacrifice, or v31 to load versus death toll 1st chapter.


Enjoy.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_changelevel.sp - 120 views - 17.7 KB)
__________________

Last edited by Silvers; 09-30-2020 at 22:38. Reason: Last Stand map added
Silvers is offline
Sev
Veteran Member
Join Date: May 2010
Old 12-02-2011 , 14:40   Re: [PLUGIN] [L4D2] Admin Cmds Change Map
Reply With Quote #2

I'd be more interested in something that combines the !setnextmap function with the Force Mission Changer Plugin.

Something that will keep playing the map you are on but you can change the next map to something other than what its going to be.
Sev is offline
januto
Member
Join Date: Mar 2011
Old 12-26-2011 , 06:03   Re: [PLUGIN] [L4D2] Admin Cmds Change Map
Reply With Quote #3

Works like a charm! (also in chat: !11,!22)
__________________
You are welcome!

januto is offline
LaDyRain
New Member
Join Date: Feb 2011
Old 01-19-2013 , 14:18   Re: [PLUGIN] [L4D2] Admin Cmds Change Map
Reply With Quote #4

I'm looking for all the maps in this format for L4d2 including the maps from L4D1...

"map l4d_hospital01_apartment" (Admin Commands to change map in game instead of voting)

Not the maps in this format c1m1_hotel
c1m2_streets
c1m3_mall
c1m4_atrium
c2m1_highway


Since there are thousands of posts on here, having a hard time finding if there is even a list. I have searched everywhere and found nothing..If someone has a list and could share, it would be much appreciated.
LaDyRain 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 14:57.


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