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

[TF2] Throwsap 0x02 (12/19/2013)


  • 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 20.12.2013 07:04

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="3"><b>[TF2] Spy's Throwable Sapper</b></font><br /><br /><b>Description:</b><ul><li>This plugin allows spies to throw a sapper by using +attack3 (defaults to mouse3 which defaults to your scroll wheel).<br />The thrown sapper will disable buildings within a set radius and deal continuous damage (up to around 50 damage or 1/3 of a dispenser).<br />Can only be used if not cloaked or ready to feign death.<br /><br />Just like from <a href="http://youtu.be/OR4N5OhcY9s?t=1m36s" target="_blank">Meet the Spy</a>!<br /><br />(Real demonstration video coming soon).<br /><br />Credits to Tak (Chaosxk) who made playpoints from which I isolated code from and RIKUSYO who originally created the RMF ability pack.</li>
</ul><br /><b>CVARs:</b><ul><li>1 = Enabled; 0 = Disabled;</li>
<li>sm_throwsap_version &quot;0x01&quot; - Throwsap Version</li>
<li>sm_throwsap_enabled &quot;1&quot; - Enable/Disable throwsap plugin. (Applied on map change).</li>
<li>sm_throwsap_sapradius &quot;300.0&quot; - Radius of effect for sappers</li>
</ul><br /><b>Installation:</b><ul><li>Make sure you have Sourcemod.</li>
<li><b>Get Plugin</b> below.</li>
<li>throwsap.smx goes in tf/addons/sourcemod/plugins/</li>
<li>plugin.throwsap.cfg goes in tf/cfg/sourcemod/<br /> - This file will be auto-generated by the plugin with the default values shown above. There's no real reason to DL this yet.</li>
<li>throwsap.sp is only needed for programmers</li>
</ul><br /><b>Changelist:</b><br /><!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<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 />

0x02 (12/19/2013) - An hour after initial release<br /><br />* Fixed a timer related confliction.<br /><br />0x01 (12/19/2013)<br /><br />* Initial release - Also my first plugin submission<br />* Isolated throw sapper code.<br />* If using the red-tape recorder or Wheatley, throw that instead.<br />* Cannot throw if cloaked or ready to feign death.<br />* Changed the lightning color of the rings to a better color.<br />* Fixed a HUD glitch that made it disappear constantly.<br />* Fixed sapping buildings that were spawn solely by the map with no owner.<br />* Fixed the plugin trying to sap non-building objects.<br />* Fixed the plugin keeping dead sappers.<br />* Fixed a timer related memory leak.<br />* Cloak can no longer be sapped to negative values.

<hr />
</td>
</tr>
</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable --><b>TODO:</b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;">CVARs to add:<br /><br />* Sapper durtation<br />* Damage vs buildings<br />* Cloak drain rate<br />* Do you lose it after throwing it?<br />* Does it recharge? (Or must you resupply locker)?<br />* How fast does it recharge?<br />* How many buildings can it sap at once?<br />* Can you throw it while disguised?<br />* If you throw it while disguised, does it remove your disguise?<br />* What button do you use to activate it?<br /><br />Other changes to make:<br />* Change it to work with +reload as well as/instead of +attack3 (lolvaccinator)<br />* Remake the .inc for ThrowSapper();<br />* Change behavior of throwing a red-tape recorder<br />* Make sure all useless code is removed<br />* Short circuit destroying the prop<br />* Show dispenser HP in upper left<br />* MVM support<br />* Building destroyed event in upper right<br />* Smoothen cloak drain<br />* Custom client side models?<br />* Fix some code qwerks<br />* Optimize some code<br />* Search and destroy bugs<br /><br />Planned default interactions:<br />* Sapper can be thrown while disguised, but removes the disguise.<br />* Throwing the sapper means you lose it, and must resupply.<br />* The Red-Tape Recorder doesn't do damage, but degenerates buildings.<br />* Play sounds related to the Red-Tape Recorder and Wheatley.</div>
</div>
</div><br /><b>Wanna support me?</b><ul><li>Post suggestions and...<br />Join TF2Data or play the Hale server (and throw useless sappers at him)! ;p</li>
</ul><b>Want support?</b><ul><li>Post questions and...<br />Join TF2Data if you have questions not related to this plugin.</li>
</ul><b>What's TF2Data?</b><ul><li>Links are in my siggy.</li>
</ul></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=128657"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1387522746">Get Source</a> (throwsap.sp - 20.0 KB)


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


<a href="https://forums.allie...38;d=1387522749">plugin.throwsap.cfg</a> (307 Bytes)


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