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

[ZR] Antidote - (Infection Cure) [1.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 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 25.06.2013 16:34

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Franklin Gothic Medium"><b><font size="5"><div align="center">Zombie:Reloaded</div> </font></b><br /><font size="7"><div align="center"><b>Antidote</b></div></font><br /><b><font size="2"><div align="center">Version 1.0 by Furibaito</div></font></b></font><br /><br /><b><font size="5"><font face="Franklin Gothic Medium">Requirements</font></font></b><ul><li><b>Zombie:Reloaded</b> 3.1 latest stable version</li>
<li><b>SDKHooks</b> (Included in Sourcemod 1.5)</li>
<li><b>Sourcemod </b>1.4+</li>
</ul><br /><b><font size="5"><font face="Franklin Gothic Medium">Description</font></font></b><br />Simply allows zombies to buy a cure to turns them back to human for a price. The default price is <b>$10.000</b> and the default command is &quot;<b>!antidote</b>&quot; in chat. You can change them however you like. When a zombie have been cured, they are given a set of free weapons that you can configure.<br />This plugin could make cash more valuable in <b>Zombie:Reloaded</b>. Zombies could achieve something good with their hard-earned cash from infecting other humans. And could balance the gameplay if zombies team seems to be always wins.<br /><br />And also, this plugin detects the zombie count so that if there is only 1 zombies left, he's unable to use antidote to instantly ending the round.<br /><br /><b><font size="5"><font face="Franklin Gothic Medium">Installation</font></font></b><ul><li>Get <b>Zombie:Reloaded</b> running fine on your server.</li>
<li>Put the <b>zr_antidote.smx</b> in the <b>addons/sourcemod/plugins/</b> folder</li>
<li>Put the <b>zr_antidote.sp</b> in the <b>addons/sourcemod/scripting/</b> folder (Optional)</li>
<li>Copy these cvars into <b>server.cfg</b> or anything you prefer.</li>
</ul><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">// Enable or disable the plugin<br />zr_antidote_enable 1<br /><br />// Price of an antidote<br />zr_antidote_price 10000<br /><br />// Command in chat to buy an antidote<br />zr_antidote_command &quot;!antidote&quot;<br /><br />// What weapons will be given to those players just used an antidote? Separates with semi-colons( ; ) and dont put any empty spaces.<br />zr_antidote_weapons &quot;weapon_mp5navy;weapon_usp;weapon_hegrenade&quot;<br /><br />// Path to the sound played when a zombie using an Antidote. 0 = Disable sound. The default is from HL2 so no download. If it's custom, it's automatically set to the downloads table.<br />zr_antidote_sound &quot;items/battery_pickup.wav&quot;<br /><br />// The length (in milliseconds) of the fade when a zombie using an Antidote. Set 0 to disable fade.<br />zr_antidote_fade_length &quot;300&quot;<br /><br />// The color R G B A value of the fade.<br />zr_antidote_fade_color &quot;255 255 255 255&quot;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b><font size="5"><font face="Franklin Gothic Medium">Notes</font></font></b><br />* I would recommend setting the price relatively high to balance the gameplay.<br />* You probably need to edit Zombie:Reloaded translation file to edit or set blank the &quot;Infect human&quot; part. Why? It could get weird when you bought an antidote then suddenly a message telling the merciful gods (admins) resurrected your soul. :bee:<br /><br />It's on line <b>386</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;Infect human&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;en&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b><font size="5"><font face="Franklin Gothic Medium">To-Do</font></font></b><ul><li>CVar to disable antidote on Mother Zombies (Probably need to wait for next ZR updates for natives)</li>
<li>Announcement of antidote to inform players</li>
<li>Ability for humans to buy antidote for another zombie, probably through Antidote-Bullet or Antidote-Nade</li>
<li>Cool visual effects?</li>
<li>Translation, currently the messages are Hard Coded, I do not know how to use translation :(</li>
<li>Make a request :) And if you find a bug, please report it.</li>
</ul><br /><b><font size="5"><font face="Franklin Gothic Medium">Special Thanks to...</font></font></b><br />- <b>rhelgeby</b> and <b>GreyScale </b>, creators of <b>Zombie:Reloaded</b> for making an incredible fun plugin. <br />- All <b>Sourcemod</b> developers and the community <br />- <b>You</b> for taking your time reading this post :D<br /><br /><b>Changelog</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">[25/6/13] [0.1] <br />&nbsp;- Initial release</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>


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








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


<a href="http://www.sourcemod...?file_id=121744"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1372174286">Get Source</a> (zr_antidote.sp - 7.1 KB)


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


<a href="https://forums.allie...38;d=1372174373">zr_antidote.smx</a> (7.9 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</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