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

[CS:GO/ZP] ExtraItem: PlasmaGun


  • 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 02.05.2016 21:04

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

<b>Version</b>: 1.0<br /><b>Author</b>: gubka

<hr />
</td>
</tr>
</table>
</div><b>Description</b>:<br />Add new weapon to human<br /><br /><b>Bugs</b>:<ol style="list-style-type: decimal"><li>Model little bit bugged after first shoot, problem in the model</li>
<li>Addon calculate end postion of the beam not very accurately, because</li>
</ol><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 />

<div>
Originally Posted by <strong>kadet.89</strong>
(Post 2292344)
</div>
<div style="font-style:italic">Well, I suppose it's not possible. Bullet impact sprite - is a client side thing, you don't see it the same way as the server does, because of the ping-time shift. The result, the server gives to you is correct, and the sprite position is incorrect because of the prediction. The only way to minimize the difference - is to try to recalculate the prediction shift. I think the shift should be close to 'your speed'*'your ping', but I may be wrong. You should also take into account the spread of the bullets hit and recoil, it depends on the speed and the type of the weapon.<br />Perhaps this article will help you <a href="https://developer.va...iki/Prediction"target="_blank">https://developer.va...ction</a></div>

<hr />
</td>
</tr>
</table>
</div><img src="http://s8.hostingkar...50d124eba9.jpg"border="0" alt="" /><br /><br /><b>Settings</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 />

#define EXTRA_ITEM_NAME &quot;PlasmaGun&quot; <br />#define EXTRA_ITEM_COST 5<br />#define EXTRA_ITEM_LEVEL 0<br />#define EXTRA_ITEM_ONLINE 0<br />#define EXTRA_ITEM_LIMIT 0<br /><br />// Weapon<br />#define WEAPON_NAME &quot;weapon_plasma&quot;<br />#define WEAPON_REFERANCE &quot;weapon_scar20&quot;<br /><br />// Models<br />#define MODEL_WORLD &quot;models/weapons/plasma/w_snip_plasma.mdl&quot;<br />#define MODEL_VIEW &quot;models/weapons/plasma/v_snip_plasma.mdl&quot;<br />#define MODEL_BEAM &quot;materials/sprites/laserbeam.vmt&quot;<br /><br />// Sounds<br />#define SOUND_FIRE &quot;weapons/RequestsStudio/UT3/AvrilFire.mp3&quot;<br />#define SOUND_DEPLOY &quot;weapons/RequestsStudio/UT3/AvrilDeploy.mp3&quot;<br /><br />// Beam<br />#define BEAM_LIFE 0.105<br />#define BEAM_COLOR {100, 50, 253, 255}<br /><br />// Damage<br />#define WEAPON_MULTIPLIER_DAMAGE 1.23

<hr />
</td>
</tr>
</table>
</div><b>Download</b>:<br /><a href="https://yadi.sk/d/OOdEq_E4rSZtr"target="_blank">Yandex.Disk</a></div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych