Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

Gamemode Manager


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

Napisano 22.09.2013 16:21

<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><font size="4">Gamemode Manager</font><br /><font size="1">A plugin for SourceMod that helps load gamemodes.</font></div><br /><b>Features</b><ul><li>unloads all other gamemodes before loading chosen gamemode to avoid conflicts</li>
<li>changes gamemode for next map at current map's end</li>
<li>works well with Ultimate Mapchooser (using <font face="Courier New">postvote-command</font> as <font face="Courier New">sm_nextgamemode &lt;gamemode&gt;</font>)</li>
</ul><br /><b>Usage</b><br /><br /><i>CVars</i><ul><li><font face="Courier New">gamemode_manager_version</font> - Gamemode Manager version</li>
<li><font face="Courier New">gamemode_manager_use_default &lt;0|1&gt;</font> - how map change should be handled if no gamemode was specifically set (0 - use gamemode of current map, 1 - use default gamemode specified by <font face="Courier New">gamemode_manager_default_gamemode</font>)</li>
<li><font face="Courier New">gamemode_manager_default_gamemode &lt;gamemode&gt;</font> - the default gamemode to be loaded each map (for <font face="Courier New">gamemode_manager_use_default 1</font>)</li>
<li><font face="Courier New">gamemode_manager_debug &lt;0|1&gt;</font> - turns on debugging and action logging</li>
</ul><br /><i>Commands</i><ul><li><font face="Courier New">sm_reloadgamemodes</font> - reload game modes from file config</li>
<li><font face="Courier New">sm_nextgamemode [gamemode]</font> - get/set the next map's gamemode</li>
</ul><br /><b>Configuration</b><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&quot;gamemodes&quot;<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;vanilla&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // a gamemode included by default that unloads all other gamemodes when run<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;super-awesome-nonexistent-gamemode&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // name of the gamemode (e.g. <font face="Courier New">sm_nextgamemode super-awesome-nonexistent-gamemode</font>)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;plugins&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // moved between plugins/ and plugins/disabled/ and loaded/unloaded in order specified<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;important-dependency.smx&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // load/unload dependency first<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;gamemode/super-awesome-gamemode.smx&quot;&nbsp; &nbsp; &nbsp; &nbsp; // include full path to plugin<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;3&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;gamemode/gamemode-modifier.smx&quot;&nbsp; &nbsp; &nbsp; &nbsp; // load plugin that depends on the gamemode last<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;enable-commands&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // executed in the order written after plugins loaded<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;super_gamemode_enabled 1&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;2&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;super_gamemode_type 3&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;3&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;gamemode_modifier 5.0&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;disable-commands&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // executed in the order written before plugins unloaded<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;1&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;super_gamemode_enabled 0&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b>Requirements</b><ul><li>SourceMod</li>
</ul><br /><b>Changelog</b><br /><br /><i>1.0.2</i> (2013-09-22)<ul><li>fixed up documentation a little</li>
</ul><br /><i>1.0.1</i> (2013-09-22)<ul><li>made version CVar public</li>
<li>changed path sizes to SourceMod constant</li>
</ul><br /><i>1.0.0</i> (2013-09-22)<ul><li>initial release</li>
</ul><br /><b>Installation</b><ol style="list-style-type: decimal"><li>Place <font face="Courier New">plugins/gamemode-manager.smx</font> in your <font face="Courier New">plugins</font> directory.</li>
<li>Edit <font face="Courier New">configs/gamemodes.cfg</font> appropriately and place it in your <font face="Courier New">configs</font> directory.</li>
</ol><br /><b>Download</b><ol style="list-style-type: decimal"><li><a href="https://raw.github.c...ode-manager.smx" target="_blank"><font face="Courier New">plugins/gamemode-manager.smx</font></a></li>
<li><a href="https://raw.github.c...mode-manager.sp" target="_blank"><font face="Courier New">scripting/gamemode-manager.sp</font></a></li>
<li><a href="https://raw.github.c...s/gamemodes.cfg" target="_blank"><font face="Courier New">configs/gamemodes.cfg</font></a></li>
</ol></div>


<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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