AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] ChangeMode (https://forums.alliedmods.net/showthread.php?t=208090)

chinagreenelvis 02-09-2013 22:50

[CS:GO] ChangeMode
 
4 Attachment(s)
This is a modification of SouceMod's randomcycle plugin. It will both randomize your map cycle and allow you to switch game modes in-game, automatically selecting a new custom map cycle for each mode and randomly selecting a map from that list to change to.

The command is

Code:

sm_changemode_[gametype] [mapcyclefile].txt
The gametypes are armsrace, casual, competitive, deathmatch, and demolition. For example: sm_changemode_deathmatch mapcycle_deathmatch.txt

The casual game mode uses the original mapcycle.txt by default. You will need to create the additional following text files in your base directory:

mapcycle_competitive.txt
mapcycle_armsrace.txt
mapcycle_demolition.txt
mapcycle_deathmatch.txt

Some maps do not support classic modes (ar_ maps and some de_ maps). These should be reserved for deathmatch, demolition, and arms race cycles. Otherwise, you'll be pistols-only unless you use a mod like the Buy Zone Simulator.

I also recommend you download Show The Right Next Map, otherwise the wrong maps will be displayed to players in-game.

To select modes in-game, add the following to your adminmenu_custom.txt file:

Code:

"Commands"
{
        "Game Modes"
        {
                "Arms Race Mode"
                {
                        "cmd"                        "sm_changemode_armsrace mapcycle_armsrace.txt"
                        "admin"                        "sm_kick"
                        "execute"                "server"
                }
                "Casual Mode"
                {
                        "cmd"                        "sm_changemode_casual mapcycle.txt"
                        "admin"                        "sm_kick"
                        "execute"                "server"
                }
                "Competitive Mode"
                {
                        "cmd"                        "sm_changemode_competitive mapcycle_competitive.txt"
                        "admin"                        "sm_kick"
                        "execute"                "server"
                }
                "Deathmatch Mode"
                {
                        "cmd"                        "sm_changemode_deathmatch mapcycle_deathmatch.txt"
                        "admin"                        "sm_kick"
                        "execute"                "server"
                }
                "Demolition Mode"
                {
                        "cmd"                        "sm_changemode_demolition mapcycle_demolition.txt"
                        "admin"                        "sm_kick"
                        "execute"                "server"
                }
                "Random Map (Current Mode)"
                {
                        "cmd"                        "sm_changemap"
                        "admin"                        "sm_kick"
                        "execute"                "server"
                }
        }
}


chinagreenelvis 02-11-2013 20:23

Re: [CS:GO] ChangeMode
 
1 Attachment(s)
Update: v 1.1 - String lengths increased to accommodate Workshop map paths (workshop/123456789/map) when added to mapcycle files.

chinagreenelvis 02-13-2013 13:37

Re: [CS:GO] ChangeMode
 
1 Attachment(s)
Update, v. 1.2 - Added config execution for game type, corrected typos for competitive mode.

chinagreenelvis 02-14-2013 05:31

Re: [CS:GO] ChangeMode
 
1 Attachment(s)
Update, v. 1.3 - Corrected errors with every mode loading the casual config.

terrum 04-24-2013 18:28

Re: [CS:GO] ChangeMode
 
What about for the 'custom' gamemode?

Also, how about a way to change the gamemode on the same map? (So it changes the gamemode on the current map)

jwoods82 04-28-2016 21:50

Re: [CS:GO] ChangeMode
 
Im using changemode with sourcemod and metamod updated and noticing an issue i can not seem to resolve unless i remove changemode.

When the match is over is casual the default csgo mapvote comes up and the players pick a map. map is selected and it looks like in console that changemode is overriding the default map vote and picking a random map instead of what was chosen by the players.

Not sure if anyone has seen this but since i only use one server I would like to use this plug in but i do not think i can get it to work.

Any help is appreciated. Thanks

ALOROMELIXAR 05-23-2022 15:20

Re: [CS:GO] ChangeMode
 
Quote:

Originally Posted by chinagreenelvis (Post 1894073)
Update, v. 1.3 - Corrected errors with every mode loading the casual config.

can you update this plugin for new sourcemod?


All times are GMT -4. The time now is 10:44.

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