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] ChangeMode


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

Napisano 10.02.2013 04:50

This is a modification of SouceMod's randomcycle plugin. It will both randomize your map cycle and allow you to switch game modes in-game, automatically selecting a new custom map cycle for each mode and randomly selecting a map from that list to change to.The casual game mode uses the original mapcycle.txt by default. You will need to create the additional following text files in your base directory:mapcycle_competetive.txtmapcycle_armsrace.txtmapcycle_demolition.txtmapcycle_deathmatch.txtYou must set up your gamemodes_server.txt to allow all game modes to use the same mapgroup, which will contain every map on your server: Code: "GameModes_Server.txt"{ "gameTypes" { "classic" { "gameModes" { "casual" { "mapgroupsMP" { "mg_allmaps" "" } } "competetive" { "mapgroupsMP" { "mg_allmaps" "" } } } } "gungame" { "gameModes" { "gungameprogressive" { "mapgroupsMP" { "mg_allmaps" "" } } "gungametrbomb" { "mapgroupsMP" { "mg_allmaps" "" } } "deathmatch" { "mapgroupsMP" { "mg_allmaps" "" } } } } } "mapgroups" { "mg_allmaps" { "name" "mg_allmaps" "maps" { "ar_baggage" "" "ar_monastery" "" "ar_shoots" "" "cs_assault" "" "cs_italy" "" "cs_office" "" "de_aztec" "" "de_bank" "" "de_dust" "" "de_dust2" "" "de_inferno" "" "de_lake" "" "de_nuke" "" "de_safehouse" "" "de_shorttrain" "" "de_stmarc" "" "de_sugarcane" "" "de_train" "" "de_vertigo" "" } } }}Then, in your srcds launch options, set the following: Code: +game_type 0 +game_mode 0 +mapgroup mg_allmaps +mapcyclefile mapcycle.txtThis is the default for casual game mode; if you change the default mode, make sure you also change the default mapcycle file.Some maps do not support classic modes (ar_ maps). These should be reserved for deathmatch and gungame cycles.I also recommend you download Show The Right Next Map, otherwise the wrong maps will be displayed to players in-game.To select modes in-game, add the following to your adminmenu_custom.txt file: Code: "Commands"{ "Game Modes" { "Casual" { "cmd" "sm_changemode_casual" "admin" "sm_kick" "execute" "server" } "Competetive" { "cmd" "sm_changemode_casual" "admin" "sm_kick" "execute" "server" } "Arms Race" { "cmd" "sm_changemode_casual" "admin" "sm_kick" "execute" "server" } "Demolition" { "cmd" "sm_changemode_casual" "admin" "sm_kick" "execute" "server" } "Deathmatch" { "cmd" "sm_changemode_casual" "admin" "sm_kick" "execute" "server" } "Random Map (Current Mode)" { "cmd" "sm_changemap" "admin" "sm_kick" "execute" "server" } }} Attached Files Dołączona grafika Get Plugin or Get Source (changemode.sp - 4.9 KB)

Wyświetl pełny artykuł




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

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