<!-- BEGIN TEMPLATE: postbit_external -->
<div><u><font size="3"><b>About<b></b>:</b></font></u><ul><li>Save up to 32 Ammo Piles for auto-spawning. Saved to <font color="Green">l4d_ammo_spawn.cfg</font> in your servers <font color="Green">addonssourcemoddata</font> folder.</li>
<li>1 model for L4D (coffee ammo), 2 for L4D2 (default and ammo crate).</li>
</ul><br /><br /><u><font size="3"><b>Thanks:</b></font></u><ul><li>Everyone who requested (lots of you), finally I bothered.</li>
<li>dcx2 - Helped testing.</li>
<li>Sev - Helped testing.</li>
</ul><br /><br /><u><font size="3"><b>Admin Commands:</b> (requires "z" flag)</font></u><br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<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">sm_ammo_spawn </span><span style="color: #FF8000">// Spawns a temporary ammo pile at your crosshair. Usage: sm_ammo_spawn [1=L4D model, 2=L4D2 model, 2=L4D2 Crate]
<br /></span><span style="color: #0000BB">sm_ammo_spawn_save </span><span style="color: #FF8000">// Spawns an ammo pile at your crosshair and saves to config. Usage: sm_ammo_spawn_save [1=L4D model, 2=L4D2 model, 2=L4D2 Crate]
<br /></span><span style="color: #0000BB">sm_ammo_spawn_del </span><span style="color: #FF8000">// Removes the ammo pile you are pointing at and deletes from the config if saved.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_kill </span><span style="color: #FF8000">// Removes all ammo piles from the current map and deletes them from the config.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_glow </span><span style="color: #FF8000">// Toggle to enable glow on all ammo piles to see where they are placed.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_list </span><span style="color: #FF8000">// Display a list ammo pile positions and the total number of.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_tele </span><span style="color: #FF8000">// Teleport to an ammo pile (Usage: sm_ammo_spawn_tele <index: 1 to MAX_SPAWNS (32)>).
<br /></span><span style="color: #0000BB">sm_ammo_spawn_ang </span><span style="color: #FF8000">// Displays a menu to adjust the ammo pile angles your crosshair is over.
<br /></span><span style="color: #0000BB">sm_ammo_spawn_pos </span><span style="color: #FF8000">// Displays a menu to adjust the ammo pile origin your crosshair is over.
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><br /><u><font size="3"><b>CVars:</b></font></u><br /><br />Saved to <font color="Green">l4d_ammo_spawn.cfg</font> in your servers <font color="Green">cfgsourcemod</font> folder.<br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<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: #FF8000">// 0=Plugin off, 1=Plugin on.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_allow </span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">// 0=Off, Sets the max range at which the ammo pile glows.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_glow </span><span style="color: #DD0000">"200"
<br />
<br /></span><span style="color: #FF8000">// 0=Default glow color. Three values between 0-255 separated by spaces. RGB: Red Green Blue.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_glow_color </span><span style="color: #DD0000">"255 0 0"
<br />
<br /></span><span style="color: #FF8000">// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_modes </span><span style="color: #DD0000">""
<br />
<br /></span><span style="color: #FF8000">// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_modes_off </span><span style="color: #DD0000">""
<br />
<br /></span><span style="color: #FF8000">// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_modes_tog </span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">// -1=All, 0=None. Otherwise randomly select this many ammo piles to spawn from the maps confg.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_random </span><span style="color: #DD0000">"-1"
<br />
<br /></span><span style="color: #FF8000">// Ammo Pile Spawner plugin version.
<br /></span><span style="color: #0000BB">l4d_ammo_spawn_version
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><br /><u><font size="3"><b>Changes:</b></font></u><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">1.0 (18-Jul-2013)<br /> - Initial Release.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><br /><u><font size="3"><b>Installation:</b></font></u><ol style="list-style-type: decimal"><li>Click "<b>Get Plugin</b>" and put the .smx file into your servers <font color="Green">addonssourcemodplugins</font> folder.</li>
</ol></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=122839"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1374142123">Get Source</a> (l4d_ammo_spawn.sp - 31.6 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
[L4D & L4D2] Ammo Pile Spawner (1.0) [18-Jul-2013]
Temat rozp. Adminek AMXX.PL, 18.07.2013 10:48
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych