<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><img src="http://imageshack.us...3/6705/jbu1.jpg" border="0" alt="" /></div><br /><br /><u><font size="3"><b>Related Plugins:</b></font></u><ul><li><a href="http://forums.alliedmods.net/showthread.php?t=221111" target="_blank">[L4D & L4D2] Ammo Pile Spawner</a></li>
<li><a href="http://forums.allied...ad.php?t=222931" target="_blank">[L4D & L4D2] Gun Cabinet</a></li>
<li><a href="http://forums.allied...ad.php?t=222932" target="_blank">[L4D & L4D2] Weapon Crate</a></li>
<li><a href="http://forums.allied...ad.php?t=222934" target="_blank">[L4D & L4D2] Weapon Spawn</a></li>
</ul><br /><br /><u><font size="3"><b>About<b></b>:</b></font></u><ul><li>The locker and crate models are non-solid, the weapons will not collide with them and can fall freely.</li>
<li>This plugin comes with a data config (<font color="Green">l4d_gun_cabinet_presets</font>) and lists 7 presets you can customise to select which weapons spawn.</li>
<li>The presets config is required for the plugin to work. View the config for information on the settings and different weapons/items you can spawn.</li>
<li>To enable CSS weapons you must have the <a href="http://forums.allied...d.php?p=1041458" target="_blank">Weapon Unlock plugin</a>, and set the cvar <font color="Blue">"l4d_gun_cabinet_css"</font> to "1".</li>
</ul><ul><li>The entity is not fully solid, so to delete or adjust origin/angles you must either look at the side, top or center above the middle.</li>
<li>These solid points will not move when you change the origin/angles, neither will the weapons.</li>
<li>You can use the commmand <font color="Red">sm_gun_cabinet_reload</font> to reset the plugin, this will remove and reload all cabinets so for example if you changed the origin/angles and saved the data. Otherwise the weapons and solid box will not be aligned.</li>
</ul><br /><br /><u><font size="3"><b>Thanks:</b></font></u><ul><li>disawar1 - Helped with code fixes.</li>
<li>Herbie</li>
<li>worminater</li>
<li>Sev</li>
</ul><br /><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_gun_cabinet </span><span style="color: #FF8000">// Opens a menu to spawn and save a Gun Cabinet to the data config for auto spawning.<br /></span><span style="color: #0000BB">sm_gun_cabinet_del </span><span style="color: #FF8000">// Removes the Gun Cabinet you are pointing at and deletes from the config.<br /></span><span style="color: #0000BB">sm_gun_cabinet_clear </span><span style="color: #FF8000">// Removes all Gun Cabinets from the current map.<br /></span><span style="color: #0000BB">sm_gun_cabinet_wipe </span><span style="color: #FF8000">// Removes all Gun Cabinets from the current map and deletes them from the config.<br /></span><span style="color: #0000BB">sm_gun_cabinet_glow </span><span style="color: #FF8000">// Toggle to enable glow on all Gun Cabinets to see where they are placed.<br /></span><span style="color: #0000BB">sm_gun_cabinet_list </span><span style="color: #FF8000">// Display a list of Gun Cabinet positions and the total number of.<br /></span><span style="color: #0000BB">sm_gun_cabinet_reload </span><span style="color: #FF8000">// Reloads the plugin, reads the preset data config and spawns any save Gun Cabinets.<br /></span><span style="color: #0000BB">sm_gun_cabinet_tele </span><span style="color: #FF8000">// Teleport to a Gun Cabinet (Usage: sm_gun_cabinet_tele <index: 1 to MAX_SPAWNS (5)>).<br /></span><span style="color: #0000BB">sm_gun_cabinet_ang </span><span style="color: #FF8000">// Displays a menu to adjust the Gun Cabinet angles your crosshair is over.<br /></span><span style="color: #0000BB">sm_gun_cabinet_pos </span><span style="color: #FF8000">// Displays a menu to adjust the Gun Cabinet 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 /><br /><u><font size="3"><b>Cvars:</b></font></u><br /><br />Saved to <font color="Green">l4d_gun_cabinet.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_gun_cabinet_allow </span><span style="color: #DD0000">"1"<br /><br /></span><span style="color: #FF8000">// 0=Off, 1=Allow spawning CSS weapons when using the 'random' value in the preset config.<br /></span><span style="color: #0000BB">l4d_gun_cabinet_css </span><span style="color: #DD0000">"0"<br /><br /></span><span style="color: #FF8000">// 0=Off, Sets the max range at which the cabinet glows.<br /></span><span style="color: #0000BB">l4d_gun_cabinet_glow </span><span style="color: #DD0000">"0"<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_gun_cabinet_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_gun_cabinet_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_gun_cabinet_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_gun_cabinet_modes_tog </span><span style="color: #DD0000">"0"<br /><br /></span><span style="color: #FF8000">// Maximum number of primary weapons to spawn (max is 10).<br /></span><span style="color: #0000BB">l4d_gun_cabinet_max_gun </span><span style="color: #DD0000">"8"<br /><br /></span><span style="color: #FF8000">// Maximum number of pistols to spawn (max is 4).<br /></span><span style="color: #0000BB">l4d_gun_cabinet_max_pistol </span><span style="color: #DD0000">"2"<br /><br /></span><span style="color: #FF8000">// Maximum number of items to spawn (max is 2).<br /></span><span style="color: #0000BB">l4d_gun_cabinet_max_item </span><span style="color: #DD0000">"1"<br /><br /></span><span style="color: #FF8000">// -1=All, 0=None. Otherwise randomly select this many weapons to spawn from the maps config.<br /></span><span style="color: #0000BB">l4d_gun_cabinet_random </span><span style="color: #DD0000">"-1"<br /><br /></span><span style="color: #FF8000">// Weapon Spawn plugin version.<br /></span><span style="color: #0000BB">l4d_gun_cabinet_version
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><br /><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 (08-Aug-2012)<br /> - Initial release.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><u><font size="3"><b>Installation:</b></font></u><ul><li>Click "<b>Get Plugin</b>" and put the .smx file into your servers <font color="Green">addonssourcemodplugins</font> folder.</li>
<li>Download "<b>l4d_gun_cabinet_presets.cfg</b>" and put into your servers <font color="Green">addonssourcemoddata</font> folder.</li>
</ul></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=123921"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1375963718">Get Source</a> (l4d_gun_cabinet.sp - 60.3 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/cfg.gif" alt="File Type: cfg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...38;d=1375963723">l4d_gun_cabinet_presets.cfg</a> (4.4 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] Gun Cabinet [08-Aug-2013]
Temat rozp. Adminek AMXX.PL, 08.08.2013 13:08
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych