<!-- 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 <hamsandwich><br />#include <fakemeta><br />#include <cstrike><br />#include <engine><br /><br /><font size="4">Customizations:</font><br /><font size="4"><font size="2">#define SoundFire "weapons/rocketfire1.wav" (string)<br />#define SoundTravel "weapons/rocket1.wav" </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define SoundFly "zs/fly2.wav" </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define SoundBlow "zs/blow.wav" </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define SoundPickup "events/task_complete.wav" </font></font><font size="4"><font size="2"><font size="4"><font size="2">(string)</font></font><br />#define ModelRocket "models/rpgrocket.mdl" (string)<br />#define ModelJetpack_P "models/p_egon.mdl" (string)<br />#define ModelJetpack_W "models/w_egon.mdl" (string)<br />#define ModelJetpack_V "models/v_egon.mdl" (string)<br />#define ClassJetpack "gg_jetpack" (string)<br />#define ClassJetpack_P "gg_jetpack_p" (string)<br />#define ClassRocket "gg_bazooka" (string)<br />#define ItemName "Jetpack+Bazooka" (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ł
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

[CS1.6|CZ] Improved Jetpack+Bazooka
Temat rozp. Adminek AMXX.PL, 30.10.2014 09:42
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych