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

[CS1.6|CZ] Improved Jetpack+Bazooka


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

Napisano 30.10.2014 09:42

<!-- BEGIN TEMPLATE: postbit_external -->
<div>I know this kind of plugins already exist in this forum but none of them is working like i want. So i create my own Jetpack+Bazooka plugin for classic CS1.6 and also available for Zombie Plague mod too. This plugin will help you fly around the map and can shoot infinity rocket with interval.<br /><br /><font size="4">Features:</font><br />- Use FM_CmdStart instead of FM_StartFrame.<br />- No need to loop for 32 (hardcoded) players for jetpack forward.<br />- Knockback based on damage dealt.<br />- Option to fully disable knockback.<br />- Support p, w, v models.<br />- I see many people want EF_LIGHT on rocket entity so this plugin add it.<br />- Use interval to draw sprites so it will decrease lag both server/client side.<br />- Fully re-write.<br />- Press E to slowly falldown (invisible parachute.)<br />- Can fire rocket using any weapons :)<br />- Bouncing dropped Jetpack, more challenging to catch it.<br /><br /><font size="4">Modules:</font><br />#include &lt;hamsandwich&gt;<br />#include &lt;fakemeta&gt;<br />#include &lt;cstrike&gt;<br />#include &lt;engine&gt;<br /><br /><font size="4">Customizations:</font><br /><font size="4"><font size="2">#define SoundFire &quot;weapons/rocketfire1.wav&quot; (string)<br />#define SoundTravel &quot;weapons/rocket1.wav&quot; </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define SoundFly &quot;zs/fly2.wav&quot; </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define SoundBlow &quot;zs/blow.wav&quot; </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define SoundPickup &quot;events/task_complete.wav&quot; </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define ModelRocket &quot;models/rpgrocket.mdl&quot; (string)<br />#define ModelJetpack_P &quot;models/p_egon.mdl&quot; (string)<br />#define ModelJetpack_W &quot;models/w_egon.mdl&quot; (string)<br />#define ModelJetpack_V &quot;models/v_egon.mdl&quot; (string)<br />#define ClassJetpack &quot;gg_jetpack&quot; (string)<br />#define ClassJetpack_P &quot;gg_jetpack_p&quot; (string)<br />#define ClassRocket &quot;gg_bazooka&quot; (string)<br />#define ItemName &quot;Jetpack+Bazooka&quot; (string)<br />#define ItemCost 10000 -- item name (integer)<br />#define RocketSpeed 1500 -- rocket speed (integer)<br />#define RocketDamage 100.0 -- rocket explosion damage (float)<br />#define RocketRadius 300.0 -- rocket explosion radius (float)<br />#define JpFwdSpeed 400 -- jetpack forward speed (integer)<br />#define JpUpVelocity 200.0 -- jetpack up velocity (float)<br />#define MaxGas 300 -- max gas (integer)</font></font><font size="4"><font size="2"><br />#define IconGreenGas 299 -- gas amount for green icon (integer)<br />#define IconYellowGas 200 -- gas amount for yellow icon </font></font><font size="4"><font size="2"><font size="4"><font size="2">(integer)<br /></font></font>#define IconRedGas 100 -- gas amount for red icon </font></font><font size="4"><font size="2"><font size="4"><font size="2">(integer)<br /></font></font>#define FlameAndSoundRate 6 -- rate to draw flame and play sound, lower mean very often (integer)<br /></font></font><br /><font size="4"><font size="2"><font size="4">Enable/Disable:<br /><font size="2">//Uncomment this to fully disable knockback<br />//#define DISABLE_ALL_KNOCKBACK<br /><br />//Uncomment this to make dropped jetpack bouncing<br />//#define MAKE_JETPACK_BOUNCING<br /><br />//Uncomment this to allow player to drop their jetpack<br />//#define ALLOW_DROP_JETPACK<br /><br />//Uncomment this to enable death effect (gibs and blood) killed by rocket<br />//#define MAKE_DEATH_EFFECT<br /><br />//Uncomment this to enable status icon<br />//#define MAKE_STATUS_ICON</font></font><br /><br /><font size="4">Client Commands:</font><br />drop_jp -- drop jetpack (available only if you allow drop jetpack).<br /><br /><font size="4">Changes Log:</font><br /><b>Version 0.0.1</b><br />- First release for classic CS1.6<br /><br />For Zombie Plague see <a href="https://forums.allie...ad.php?t=229532" target="_blank">https://forums.allie...t=229532</a><br /></font></font></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.../attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1414658378">soundfiles.zip</a> (32.3 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...?file_id=139333"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1414658378">Get Source</a> (gg_item_jp_bazooka2.sma - 14.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