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

[CS:GO] Next Map Mode (1.3.0)


  • 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 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 02.11.2012 18:25

Next Map ModeVersion 1.3.0Table of Contents----------------------------------------------------DescriptionComplementary PluginsCommands and CvarsRequirementsInstallationDependenciesCreditsChangelogTo DoNotesDownloadDescription----------------------------------------------------Next Map Mode is a plugin that allows you todefine modes for specific maps. It will automaticallychange game type and mode appropriately.Complementary Plugins----------------------------------------------------

  • RockTheMode - https://forums.allie...ng class='bbc'>Commands and Cvars----------------------------------------------------Commandsnmm_version - Displays plugin version.sm_nmm - (ADMFLAG_CHANGEMAP) Set the next map mode. This overrides any other settings and convars. Acceptable arguments for : (0, 1, 2, 3, Casual, Competitive, [ArmsRace, Arms_Race, Arms Race], Demolition).Cvarssm_nmm_version - Plugin version.sm_nmm_enable - (Default 1) Enable or disable plugin (1 - enable, 0 - disable).sm_nmm_defaultmode - (Default 0) What mode should be used if the next map mode is not specified (0-Casual, 1-Competitive, 2-Arms Race, 3-Demolition.sm_nmm_random - (Default 0) Randomize the next map mode (1 - randomize, 0 - don't randomize).sm_nmm_maps_casual - (Default "") Comma (,) delimited list of casual maps.sm_nmm_maps_competitive - (Default "") Comma (,) delimited list of competitive maps.sm_nmm_maps_armsrace - (Default "") Comma (,) delimited list of arms race maps.sm_nmm_maps_demolition - (Default "") Comma (,) delimited list of demolition maps.Requirements----------------------------------------------------Counter-Strike: Global OffensiveSourceMod 1.5.0+Installation----------------------------------------------------Place nextmapmode.smx in the /csgo/addons/sourcemod/plugins directory.Change settings in csgo/cfg/sourcemod/nextmapmode.cfg.Dependencies----------------------------------------------------NoneCredits----------------------------------------------------
    • Jasperman (https://forums.allie...ad.php?t=193912) for the original plugin idea and code.
    • musashiwook (https://forums.allie...ng class='bbc'>Changelog---------------------------------------------------- Spoiler
      • 1.1.1 (16 September 2012)-Changed HookConVarChange for changelevel and sm_map to AddCommandListener. This returns the argument of sm_map and changelevel, allowing us to see what the map has been changed to.-Added boolean manual_change. OnMapStart, manual_change is set to false. When AddCommandListener intercepts a map change and changes mode settings, it sets this to true, so that the OnMapEnd block will not overwrite the mode settings by looking at sm_nextmap, which is probably incorrect.-Made nextmapmode_enable actually work. (Removed handler function, added check in setNextMapMode).-The correct next map is now passed as an argument through getnext_map_mode and setNextMapMode. This either comes from the changelevel or sm_map argument (for a manual change), or sm_nextmap (if the map has ended normally).-Fixed the gameMode strings in the setNextMapMode Switch block ("Arms Race" and "Demolition" were incorrectly labeled as Classic)
      • 1.1.1b (24 September 2012)-Bug fix: Previously, attempting to switch to an invalid map caused problems with the plugin (thanks to Teki).
      • 1.1.2 (26 September 2012)-Bug fix: Plugin now sets mode appropriately for servers waking up from hibernation.
      • 1.2.0 (28 September 2012)-Complete code overhaul.-Bug fix: Previously, the plugin would incorrectly identify the mode for maps with identical partial names (for instance, de_dust, de_dust2, and de_dust2_se), if they had different mode settings.-The plugin now changes mode on game intermission instead of on map end. As a result:-Bug fix: Loading screens now always show the correct mode for the upcoming map.-Maps no longer need to be present in mapcycle.txt for the plugin to work (they just need to be on the server)-Cvars and their parameters have changed.
      • 1.2.2 (29 September 2012)-Bug fix: Setting the next map mode manually now works properly.-Plugin version made public.-Scoreboard now displays correctly at the end of the map (thanks to Teki).
      • 1.3.0 (2 November 2012)-Added random mode support with sm_nmm_random cvar.-Admin command sm_nmm now supports strings as arguments ("Casual", "Competitive", "Arms Race", "Demolition")-Plugin now execs nextmapmode.cfg in /cfg/sourcemod.-Support for whitespace before and after commas in the maplists config.
      To Do----------------------------------------------------
      • None.
      Notes----------------------------------------------------
      • Once the plugin has been loaded, /csgo/cfg/sourcemod/nextmapmode.cfg will be created automatically. Simply place the map names in the config file. For example, sm_nmm_maps_competitive "de_dust2_se, cs_office_se, de_inferno_se".
      Download---------------------------------------------------- Attached Files Dołączona grafika Get Plugin or Get Source (nextmapmode.sp - 8.4 KB)

      Wyświetl pełny artykuł




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

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