<div>This plugin gives class-specific players the ability to reload their weapons while unequipped.<br /><br />Another way to rephrase the above is that this plugin lets you offhand-reload your weapons while they're not active! aka Holster Reloading.<br /><br />The plugin uses KeyValues, here's how they work.<br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #DD0000">"HolsterReload" </span><span style="color: #FF8000">//place this in "addons/sourcemod/configs" <br /></span><span style="color: #007700">{ <br /> </span><span style="color: #DD0000">"scout" <br /> </span><span style="color: #007700">{ <br /> </span><span style="color: #DD0000">"reload_time" "100.0" </span><span style="color: #FF8000">//put '100.0' to disable backpack reloading for this class! <br /> </span><span style="color: #DD0000">"single_or_all_reload" "0" </span><span style="color: #FF8000">//1 for single and 0 for clip to be reloaded at once <br /> </span><span style="color: #DD0000">"reload_interval" "1" </span><span style="color: #FF8000">//how much ammo will be reloaded each time, ignored if "single_or_all_reload" is 1 <br /> </span><span style="color: #007700">}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>You can choose the reload time delay in seconds that the player must wait for the inactive weapon to be reloaded.<br /><br />Making it over 100 will disable it because who's going to want to wait over 100 seconds just to reload?<br /><br />You can make the weapon reload either single using the reload interval or all at one time!<br /><br />The reload interval allows you to customize how much ammo the single reload type will put in and activates every reload_time!</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...40"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1443847463">GetSource</a> (holster-reload-v1.sp - 9.5 KB)
</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/txt.gif"alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...-reload.txt</a>(1.1 KB)
</td>
</tr>
</table>
</fieldset>
</div>
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

[TF2] Holster Reloading plugin
Temat rozp. Adminek AMXX.PL, 03.10.2015 05:44
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych