Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[forums.alliedmods.net] Super Mapchooser


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 25.04.2012 22:20

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 vote next map 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. 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 MUST 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

--

Current version: v3.0 04/26/2012

Dołączona grafika Dołączona grafika Dołączona grafika Dołączona grafika

Attached Files Dołączona grafika Get Plugin or Get Source (super_mapchooser.sma - 17.5 KB) Dołączona grafika super_mapchooser_3.0.zip (8.9 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych