<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: "multimod.sma"<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: "1. Keep Current Mod" and "2. No mod - Disable Mod". 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 "multi-mod_core.sma" 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 "amx_multimodz disableMods 1" <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 "Multi-Mod Core" works completely diffent from the original <br />"MultiMod Manager". It keeps your original "plugins.ini" and add a new custom <br />set of ones (the Mod) to the current game without changing the original "plugins.ini". <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) "multi-mod_mapchooser.sma" replacement previded here. <br />There is compatibility too, with the original "galileo.sma":<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 & 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 & MAP voting<br />say_team votemod //Player command to launch MOD & MAP voting<br /><br />********************* <b>Deepening</b> ********************************************* *********<br /><br />The command "amx_multimodz help 1" display the acceptable inputs and loaded mods <br />from the file "addons/amxmodx/configs/multimod/multimod.ini". There is 2 built-in operatins <br />beyond mods activation: "amx_multimodz help 1" and "amx_multimodz disableMods 1". <br />Respectively to: Shows help and Disable any active mod.<br /><br />The command line "amx_multimodz help 1", or "amx_multimodz a a", "or amx_multimodz 1 1", <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 "amx_multimodz help 1":<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 "multi-mod_core.sma", "multi-mod_mapchooser.sma" and "plugin_resources.zip".<br /><br /><b>2.</b> Then unzip the content of "cstrike" from "plugins_resources.zip", to your cstrike folder. <br /><br /><b>3.</b> Compile the files "multi-mod_core.sma", "multi-mod_mapchooser.sma" and put the compiled <br />files "multi-mod_core.amxx", "multi-mod_mapchooser.amxx" to your plugins folder <br />"cstrike/addons/amxmodx/plugins".<br /><br /><b>4.</b> Put the next lines to your "plugins.ini" file at "cstrike/addons/amxmodx/configs" and<br />disable the original "mapchooser.amxx":<br />multi-mod_core.amxx<br />multi-mod_mapchooser.amxx<br /><br /><b>5.</b> Put the next line to your "amxx.cfg" file at "cstrike/addons/amxmodx/configs":<br />exec addons/amxmodx/configs/multiMod.cfg<br /><br /><b>6.</b> Configure your own mods at "cstrike/addons/amxmodx/configs/multimod/multimod.ini" 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 "cstrike/mods/plugins-gungame.txt" contains the plugins that compose the Mod.<br /><br /><b>2.</b> The file "cstrike/mods/plugins-gungame.cfg" contains yours special configuration, like:<br /> amxx pause amx_adminmodel<br /> sv_gravity 850<br /><br /><b>3.</b> The file (opcional) "cstrike/addons/amxmodx/configs/multimod/msg/gungame.cfg" contains <br />commands that are executed when a mod is actived by the command line "amx_multimodz". <br />Usually it contains a command to restart the server, like "amx_countdown 5 restart". <br /><b>Example</b> of "cstrike/addons/amxmodx/configs/multimod/msg/gungame.cfg":<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> "amx_countdown" needs the special plugin called "Countdown Exec" by "SniperBeamer". <br /> <a href="https://forums.allie...ad.php?t=62879"target="_blank">https://forums.allie...?t=62879</a><br /><b>The command</b> "amx_execall" needs a special plugins called "Exec" by "ToXiC".<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) "cstrike/mapcycles/gungame.ini" 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 "Extend current map" right after choose, not to restart the game at the current map.<br /> Made the "currentmod.ini" store mod ids related to the mods order at "multimod.ini".<br /> Fixed current mod message is displaying "Next Mod: ".<br /> Made "Next Mod: " 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 "multimod.sma" and some code improvements.<br /> joropito: The idea/program developer of "multimod.sma" from version v0.1 to v2.3<br /> crazyeffect: Colaborate with multilangual support of "multimod.sma"<br /> dark vador 008: Time and server for testing under czero "multimod.sma"<br /> Addons zz: The "multi-mod_core.sma" 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ł
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.
|
Guest Message by DevFuse

Multi-Mod Core v5.0
Temat rozp. Adminek AMXX.PL, 16.08.2015 21:04
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych