Raised This Month: $32 Target: $400
 8% 

NextMap/End of Map Vote


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gallitin
Member
Join Date: Aug 2012
Old 08-16-2012 , 13:22   NextMap/End of Map Vote
Reply With Quote #1

What would be the command to set the nextmap in game with SourceMod or have a vote at say when there are only 4 more rounds left to vote for the next map?
__________________
Gallitin is offline
mclovin189
Junior Member
Join Date: Aug 2012
Old 08-16-2012 , 13:52   Re: NextMap/End of Map Vote
Reply With Quote #2

If you look in /css/cstrike/addons/sourcemod/plugins/disabled you will find mapchooser.smx move that to /css/cstrike/addons/sourcemod/plugins/ and it will start a random vote before that map ends. Make sure ur auto-map cycle is up to date!
mclovin189 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-16-2012 , 13:53   Re: NextMap/End of Map Vote
Reply With Quote #3

mapchooser.smx
Quote:
Originally Posted by Gallitin View Post
What would be the command to set the nextmap in game with SourceMod
sm_setnextmap map_name

Quote:
Originally Posted by Gallitin View Post
or have a vote at say when there are only 4 more rounds left to vote for the next map?
look plugin config file from
...cfg/sourcemod/
__________________
Do not Private Message @me
Bacardi is offline
Gallitin
Member
Join Date: Aug 2012
Old 08-16-2012 , 14:05   Re: NextMap/End of Map Vote
Reply With Quote #4

Quote:
Originally Posted by Bacardi View Post
look plugin config file from
...cfg/sourcemod/
You mean here: /csgo/addons/sourcemod/plugins ? What file do I modify?
__________________
Gallitin is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-16-2012 , 14:14   Re: NextMap/End of Map Vote
Reply With Quote #5

Quote:
Originally Posted by Gallitin View Post
You mean here: /csgo/addons/sourcemod/plugins ? What file do I modify?
No, he means csgo/cfg/sourcemod and the file is mapchooser.cfg
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Gallitin
Member
Join Date: Aug 2012
Old 08-16-2012 , 16:50   Re: NextMap/End of Map Vote
Reply With Quote #6

I'm looking but I don't have that file there.

The only things in that folder are:
funcommands.cfg
plugin.adv_adverts_nontf2.cfg
sm_warmode_off.cfg
sm_warmode_on.cfg
sourcemod.cfg
__________________
Gallitin is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-16-2012 , 17:02   Re: NextMap/End of Map Vote
Reply With Quote #7

Quote:
Originally Posted by Gallitin View Post
I'm looking but I don't have that file there.

The only things in that folder are:
funcommands.cfg
plugin.adv_adverts_nontf2.cfg
sm_warmode_off.cfg
sm_warmode_on.cfg
sourcemod.cfg
Quote:
Originally Posted by mclovin189 View Post
If you look in /css/cstrike/addons/sourcemod/plugins/disabled you will find mapchooser.smx move that to /css/cstrike/addons/sourcemod/plugins/ and it will start a random vote before that map ends. Make sure ur auto-map cycle is up to date!
Just substitute "csgo/" where you see "/css/cstrike/" in those directions. Also, you may want rockthevote.smx and nominations.smx out of the disabled directory as well.

MapChooser creates mapchooser.cfg the first time it loads.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Gallitin
Member
Join Date: Aug 2012
Old 08-16-2012 , 17:28   Re: NextMap/End of Map Vote
Reply With Quote #8

Ah got it now.

Now where can I change the settings, such as how many rounds before maps end to vote? Or what maps to pull for voting?
__________________
Gallitin is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-17-2012 , 08:33   Re: NextMap/End of Map Vote
Reply With Quote #9

Quote:
Originally Posted by Gallitin View Post
Ah got it now.

Now where can I change the settings, such as how many rounds before maps end to vote? Or what maps to pull for voting?
rounds before maps end is in mapchooser.cfg, although I don't remember the exact cvar.

The maps pulled for voting is controller by the file specified in addons/sourcemod/configs/maplists.cfg... The mapchooser, nominations, and rockthevote sections are the ones you want to look at.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Gallitin
Member
Join Date: Aug 2012
Old 08-17-2012 , 09:12   Re: NextMap/End of Map Vote
Reply With Quote #10

Ah ok, it says for choosing the maps that are pulled for votes it's looking at this file:

addons/sourcemod/configs/adminmenu_maplist.ini

I don't have an adminmenu_maplist.ini file at that location. I assume I need to create on my own, does anyone have an example on they could put up so I can copy the format?
__________________
Gallitin is offline
Reply


Thread Tools
Display Modes

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 09:35.


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