Raised This Month: $ Target: $400
 0% 

Super Mapchooser


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 04-25-2012 , 17:20   Super Mapchooser
Reply With Quote #1

Introduction ;)
It was requested here. I took original Super Mapchooser v2.0 plugin well-known in Russia and rewrite about half of code to bring new functionality and to improve. It was not so easy task. I spent 16 hours ;)

Description
It is simple plugin for limit-based next map vote with one key feature and some effects.

Key features
Vote for next map occurs at the beginning of the last round. Screen is faded, players are frozen and vote begins… and some other effects. See screenshots.

Key improvements from v2.0
- true ML support
- pcvars
- support for round-based limits

Attention
My version of plugin is suitable for CS 1.6 only but not for CSDM, GunGame or other mods that are don't have rounds in general. It is because it relies on rounds.
Plugin requires AMXX nextmap base plugin (nextmap.amxx).

Notes
Plugin manipulates with mp_timelimit of map to make sure that last round will be and will be completed.

In case of ANY map management plugin if you have option 'extend map' you SHOULD restore mp_timelimit value using one of 2 methods:
1. Recommended Create such record into server.cfg file:
mapchangecfgfile mapchange.cfg
Then create text file named mapchange.cfg in the same folder. Then put into that file cvars that should be restored after EACH map change. I mean true HLDS cvars which are exist with AND without AMXX presence.
2. Put such cvars into amxx.cfg file.


Cvars
amx_extendmap_max - base AMXX cvar, default 90 minutes;
amx_extendmap_step - base AMXX cvar, default 15 minutes;
amx_vote_answers - show what players voted for, 1=yes, 0=no, default 1;
mapchooser_votetime - delay between when vote starts and when votes are tallied, default 15 seconds;
mapchooser_votemaps - how many maps offer for vote besides 'prolong current map' option, from 1 to 8, default 5 maps;
Color for vote results in RRRGGGBBB format, where RRR, GGG, BBB - numbers from 0 to 255, def. 000 255 100 - light green:
mapchooser_result_red RRR - red component;
mapchooser_result_green GGG - green component;
mapchooser_result_blue BBB - blue component.

Credits:
TRUE RED - for the idea and testing the plugin;
fysiks - advices, eforie - ML.

--

Current version: v3.0 04/26/2012
The most recent changed files are attached directly.

[IMG]http://img252.**************/img252/7198/smapinfo.th.jpg[/IMG] [IMG]http://img844.**************/img844/5042/smapvote.th.jpg[/IMG] [IMG]http://img706.**************/img706/9791/smapresults.th.jpg[/IMG] [IMG]http://img85.**************/img85/2637/smapfinal.th.jpg[/IMG]
Attached Files
File Type: zip super_mapchooser_3.0.zip (8.9 KB, 3375 views)
File Type: sma Get Plugin or Get Source (super_mapchooser.sma - 4505 views - 17.5 KB)
File Type: txt super_mapchooser.txt (2.6 KB, 2248 views)

Last edited by isotonic; 04-26-2012 at 18:11.
isotonic is offline
 



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 07:43.


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