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

Multi-Mod Core v5.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:7179
  • Lokalizacja:AMXX.PL
Offline

Napisano 16.08.2015 21:04

<div>This plugins was originally written by JoRoPiTo. The original can only load 10 mods and <br />display a vote Mod Menu of its 10, does not save the active mod. Now, after lot work, <br />it can load until 100 mods and display a vote Mod Menu of its 100 Mods and save the loaded mod.<br />Original Plugin: &quot;multimod.sma&quot;<br /><a href="https://forums.allie...ad.php?t=95568"target="_blank">https://forums.allie...?t=95568</a><br /><br />********************** <b>Introduction</b> ********************************************* ******<br /><font size="5"><font color="Blue">How it works? </font></font><br />When remaining 5 minutes to end round, this plugins launches a vote to <br />choose which mod will be played at the next map. If less than 30% voted, the game keep <br />the current mod or keep disabled if there is no Mod enabled. The first to options of <br />the vote menu are: &quot;1. Keep Current Mod&quot; and &quot;2. No mod - Disable Mod&quot;. The others are <br />until 100 Mods loaded from “multimod.ini” file. Beyound 100 this votemenu will not display<br />then.<br /><br /><img src="http://addons.zz.mu/recursos/2015-08-16_14-08_Counter-Strike.jpg" border="0" alt="" /><br /><br />The &quot;multi-mod_core.sma&quot; Its waits the user choose to activate one Mod, by vote menu, <br />or by command line. It saves the current active mod and keep it active forever or until <br />some other mod is activate or your disable the active mod by &quot;amx_multimodz disableMods 1&quot; <br />command line. <br /><br /><img src="http://addons.zz.mu/recursos/2015-08-16_14-08_Counter-Strike(2).jpg" border="0" alt="" /><br /><br />The &quot;Multi-Mod Core&quot; works completely diffent from the original <br />&quot;MultiMod Manager&quot;. It keeps your original &quot;plugins.ini&quot; and add a new custom <br />set of ones (the Mod) to the current game without changing the original &quot;plugins.ini&quot;. <br />Its too made the votemod keep the current mod if less than 30% of players voted. <br />There is compatibility with the (AMXX Team) &quot;multi-mod_mapchooser.sma&quot; replacement previded here. <br />There is compatibility too, with the original &quot;galileo.sma&quot;:<br /><a href="https://forums.alliedmods.net/showthread.php?t=77391" target="_blank">https://forums.allie...?t=77391</a><br /><br />********************************************* ******************************************<br /><font size="5"><font color="Blue">Requirements</font></font><br />Amx Mod X 1.82<br />Counter-Strike 1.6 Steam<br />Not tested with others related mods (may work)<br /><br /><b>Cvars</b><br />amx_mintime 10 // Minimum time to play before players can make MOD voting<br />amx_multimod_mode 0 // Compatibility mode 0 [auto] ; 1 [mapachooser_multimod] ; 2 [Galileo]<br />amx_multimod_voteallowed 1 // enable (1) or disable (0) multimod voting.<br /><br /><b>Commands</b><br />amx_multimodz //Command line control of multimod system<br />amx_votemod //Admin only command to launch MOD &amp; MAP voting<br />say nextmod //Check which MOD will be running in next map<br />say_team nextmod //Check which MOD will be running in next map<br />say currentmod //Check which MOD is running in the current map<br />say votemod //Player command to launch MOD &amp; MAP voting<br />say_team votemod //Player command to launch MOD &amp; MAP voting<br /><br />********************* <b>Deepening</b> ********************************************* *********<br /><br />The command &quot;amx_multimodz help 1&quot; display the acceptable inputs and loaded mods <br />from the file &quot;addons/amxmodx/configs/multimod/multimod.ini&quot;. There is 2 built-in operatins <br />beyond mods activation: &quot;amx_multimodz help 1&quot; and &quot;amx_multimodz disableMods 1&quot;. <br />Respectively to: Shows help and Disable any active mod.<br /><br />The command line &quot;amx_multimodz help 1&quot;, or &quot;amx_multimodz a a&quot;, &quot;or amx_multimodz 1 1&quot;, <br />or anything with 2 parameters that are not valid commands, shows help options with <br />its 4 built-in and all loaded mods from multimod.ini config file.<br /><br /><b>Example</b> of usage of &quot;amx_multimodz help 1&quot;:<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

amx_multimodz help 1<br />amx_multimodz disableMods 1 | To deactivate any loaded mod.<br />amx_multimodz plugins-shero.txt plugins-shero.cfg | to use Super Heros<br />amx_multimodz plugins-warcraft.txt plugins-warcraft.cfg | to use Warcraft Ultimate Mod 3<br />amx_multimodz plugins-predator.txt plugins-predator.cfg | to use Predator Mod_b2<br />amx_multimodz plugins-knife.txt plugins-knife.cfg | to use Knife Arena Mod<br />amx_multimodz plugins-zp50Money.txt plugins-zp50Money.cfg | to use Zombie Money Mod<br />amx_multimodz plugins-zp50Ammo.txt plugins-zp50Ammo.cfg | to use Zombie Pack Ammo Mod<br />amx_multimodz plugins-csdm.txt plugins-csdm.cfg | to use CS-DM (DeathMatch)<br />amx_multimodz plugins-gungame.txt plugins-gungame.cfg | to use Gun Game Mod<br />amx_multimodz plugins-dragon.txt plugins-dragon.cfg | to use Dragon Ball Mod

<hr />
</td>
</tr>
</table>
</div>******************************** <b>Installation</b> *****************************************<br /><font size="5"><font color="Blue">To install it:</font></font><br /><b>1.</b> Download the files &quot;multi-mod_core.sma&quot;, &quot;multi-mod_mapchooser.sma&quot; and &quot;plugin_resources.zip&quot;.<br /><br /><b>2.</b> Then unzip the content of &quot;cstrike&quot; from &quot;plugins_resources.zip&quot;, to your cstrike folder. <br /><br /><b>3.</b> Compile the files &quot;multi-mod_core.sma&quot;, &quot;multi-mod_mapchooser.sma&quot; and put the compiled <br />files &quot;multi-mod_core.amxx&quot;, &quot;multi-mod_mapchooser.amxx&quot; to your plugins folder <br />&quot;cstrike/addons/amxmodx/plugins&quot;.<br /><br /><b>4.</b> Put the next lines to your &quot;plugins.ini&quot; file at &quot;cstrike/addons/amxmodx/configs&quot; and<br />disable the original &quot;mapchooser.amxx&quot;:<br />multi-mod_core.amxx<br />multi-mod_mapchooser.amxx<br /><br /><b>5.</b> Put the next line to your &quot;amxx.cfg&quot; file at &quot;cstrike/addons/amxmodx/configs&quot;:<br />exec addons/amxmodx/configs/multiMod.cfg<br /><br /><b>6.</b> Configure your own mods at &quot;cstrike/addons/amxmodx/configs/multimod/multimod.ini&quot; as follow:<br /><br />--- <font size="5"><font color="Blue">Example of: </font></font> cstrike/addons/amxmodx/configs/multimod/multimod.ini ------<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

;[mode name]:[mod tag]:[custom cvars cfg file]<br />[Gun Game]:[gungame]:[plugins-gungame.cfg]

<hr />
</td>
</tr>
</table>
</div>-------------- And you have to create the files:----------------------------<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

cstrike/addons/amxmodx/configs/multimod/mods/plugins-gungame.txt<br />cstrike/addons/amxmodx/configs/multimod/mods/plugins-gungame.cfg<br /><br />(Optinal)<br />cstrike/addons/amxmodx/configs/multimod/msg/gungame.cfg<br />cstrike/mapcycles/gungame.ini

<hr />
</td>
</tr>
</table>
</div>-------------- <b>Explanations</b> of created files above -------------------------<br /><br /><b>1.</b> The file &quot;cstrike/mods/plugins-gungame.txt&quot; contains the plugins that compose the Mod.<br /><br /><b>2.</b> The file &quot;cstrike/mods/plugins-gungame.cfg&quot; contains yours special configuration, like:<br /> amxx pause amx_adminmodel<br /> sv_gravity 850<br /><br /><b>3.</b> The file (opcional) &quot;cstrike/addons/amxmodx/configs/multimod/msg/gungame.cfg&quot; contains <br />commands that are executed when a mod is actived by the command line &quot;amx_multimodz&quot;. <br />Usually it contains a command to restart the server, like &quot;amx_countdown 5 restart&quot;. <br /><b>Example</b> of &quot;cstrike/addons/amxmodx/configs/multimod/msg/gungame.cfg&quot;:<br /> amx_execall speak ambience/ratchant<br /> amx_tsay ocean Zoobie Ammo Pack Mod sera Ativado no proximo restart!!!!<br /> amx_tsay blue Zoobie Ammo Pack Mod sera Ativado no proximo restart!!!!<br /> amx_tsay cyan Zoobie Ammo Pack Mod sera Ativado no proximo restart!!!!<br /> amx_tsay ocean Zoobie Ammo Pack Mod sera Ativado no proximo restart!!!!<br /> amx_countdown 5 restart<br />OBS: <br /><b>The command</b> &quot;amx_countdown&quot; needs the special plugin called &quot;Countdown Exec&quot; by &quot;SniperBeamer&quot;. <br /> <a href="https://forums.allie...ad.php?t=62879"target="_blank">https://forums.allie...?t=62879</a><br /><b>The command</b> &quot;amx_execall&quot; needs a special plugins called &quot;Exec&quot; by &quot;ToXiC&quot;.<br /> <a href="https://forums.alliedmods.net/showthread.php?p=3313" target="_blank">https://forums.allie...p?p=3313</a><br /><br /><b>4.</b> The file (opcional) &quot;cstrike/mapcycles/gungame.ini&quot; contains the mapcycle used when <br />gungame mod is active.<br /><br />----------------------- <b>Change Log</b> -----------------------------------------<br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

v5.0<br /> Added program code documentation.<br /> Added exception/error handling to everything.<br /> Developed a multi-page votemod menu system to display until 100 mods.<br /> Added a currentmod.ini file to save current active mod id and load it at server start.<br /> Changes the mapcycle, if and only if a custom mod mapcycle was created.<br /> Made the votemod keep the current mod if less than 30% of players voted.<br /> Made &quot;Extend current map&quot; right after choose, not to restart the game at the current map.<br /> Made the &quot;currentmod.ini&quot; store mod ids related to the mods order at &quot;multimod.ini&quot;.<br /> Fixed current mod message is displaying &quot;Next Mod: &quot;.<br /> Made &quot;Next Mod: &quot; message display there is no actived mod, when there is not.<br /> When the min vote time is not reached/disabled, display e message informing that.

<hr />
</td>
</tr>
</table>
</div>------------ <b>Credits</b> ------------------------------------------------------<br /><br /> fysiks: The first to realize the idea of &quot;multimod.sma&quot; and some code improvements.<br /> joropito: The idea/program developer of &quot;multimod.sma&quot; from version v0.1 to v2.3<br /> crazyeffect: Colaborate with multilangual support of &quot;multimod.sma&quot;<br /> dark vador 008: Time and server for testing under czero &quot;multimod.sma&quot;<br /> Addons zz: The &quot;multi-mod_core.sma&quot; developer.<br /> <br />------------ <b>TODO</b> ----------------------------------------------------------<br /><br /><br />********************************************* ******************************************<br /><br />For any problems with this plugin visit this own page or:<br /><a href="https://github.com/e...dons_zz/issues"target="_blank">https://github.com/e...z/issues</a><br />for support.<br /><br />********************************************* ******************************************</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>

<a href="http://www.amxmodx.o...81"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1439757217">GetSource</a> (multi-mod_core.sma - 39.3 KB)

</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>

<a href="http://www.amxmodx.o...82"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1439757217">GetSource</a> (multi-mod_mapchooser.sma - 8.5 KB)

</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...sources.zip</a>(44.7 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




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

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