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

Vote for game mode.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hamza47sohail
Senior Member
Join Date: Jan 2014
Old 03-07-2014 , 08:40   Vote for game mode.
Reply With Quote #1

Hi,
How can I setup something that would call a vote like 5 min before map change and let people vote on the next game mode;
like FF2, Deathrun or Slender Fortress

Also to disable certain plugins for certain game modes.
hamza47sohail is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-07-2014 , 09:20   Re: Vote for game mode.
Reply With Quote #2

Quote:
Originally Posted by hamza47sohail View Post
Hi,
How can I setup something that would call a vote like 5 min before map change and let people vote on the next game mode;
like FF2, Deathrun or Slender Fortress

Also to disable certain plugins for certain game modes.
You may want to look into Ultimate Map Chooser and its guide on how to do MultiMod voting using its Group or Tiered Voting systems.

Tiered voting is neat because you can vote on the game mode first, then on the map from that mode.

Be aware of a few things if you do this:

  1. All the game mode plugins need to be in the disabled folder to prevent them from auto-loading on map change.
  2. The cfg files executed using exec need to use sm plugins unload to unload all the game mode plugins since it can't tell which one is currently running. You can combine this into a separate config and then exec that from within the exec'd cfg file.
  3. You may need to move extensions around the same way for things like Stripper: Source if you're using it to change koth maps to arena for VSH and the like.
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 01:41.


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