<div><font size="3"><b><u>Description</u></b></font><br /><br />Creates a beam distinguishing captured resource points by color.<br /><br /><font size="3"><b><u>Features</u></b></font><br /><ul><li>Allow configuring beam model/alpha/width/height.</li>
<li>Allow configuring beam color based on team capture.</li>
<li>Allow configuring time transition between captured/capturing.</li>
</ul><br /><font size="3"><b><u>Preview</u></b></font><br /><br /><iframe width="420" height="315" src="https://www.youtube....s8X2TxjI?rel=0"frameborder="0" allowfullscreen></iframe><br /><br /><br /><font size="3"><b><u>Cvars</u></b></font><br /><br />A configuration file named "<b>nd_resource_point_beam.cfg</b>" will automatically be created for you upon the first run in the "<b>cfgsourcemod</b>" folder.<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: #FF8000">// Beam alpha.
<br />// 0 = Disable.
<br />// -
<br />// Default: "255"
<br />// Minimum: "0.000000"
<br />// Maximum: "255.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_alpha </span><span style="color: #DD0000">"255"
<br />
<br /></span><span style="color: #FF8000">// Beam color for consortium faction.
<br />// Use three values between 0-255 separated by spaces ("<0-255> <0-255> <0-255>").
<br />// -
<br />// Default: "0 0 255"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_color_consortium </span><span style="color: #DD0000">"0 0 255"
<br />
<br /></span><span style="color: #FF8000">// Beam color for consortium faction.
<br />// Use three values between 0-255 separated by spaces ("<0-255> <0-255> <0-255>").
<br />// -
<br />// Default: "255 0 0"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_color_empire </span><span style="color: #DD0000">"255 0 0"
<br />
<br /></span><span style="color: #FF8000">// Beam color for uncaptured resources.
<br />// Use three values between 0-255 separated by spaces ("<0-255> <0-255> <0-255>").
<br />// -
<br />// Default: "255 255 255"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_color_none </span><span style="color: #DD0000">"255 255 255"
<br />
<br /></span><span style="color: #FF8000">// Enable/Disable the plugin.
<br />// 0 = Disable, 1 = Enable.
<br />// -
<br />// Default: "1"
<br />// Minimum: "0.000000"
<br />// Maximum: "1.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_enable </span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">// Beam height.
<br />// 0 = World Max.
<br />// -
<br />// Default: "0.0"
<br />// Minimum: "0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_height </span><span style="color: #DD0000">"0.0"
<br />
<br /></span><span style="color: #FF8000">// Beam model.
<br />// -
<br />// Default: "sprites/widestripe.vmt"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_model </span><span style="color: #DD0000">"sprites/widestripe.vmt"
<br />
<br /></span><span style="color: #FF8000">// How often should check for capturing resources to toogle the color.
<br />// 0 = OFF.
<br />// -
<br />// Default: "0.5"
<br />// Minimum: "0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_timer_toogle </span><span style="color: #DD0000">"0.5"
<br />
<br /></span><span style="color: #FF8000">// Beam end width.
<br />// -
<br />// Default: "0.0"
<br />// Minimum: "0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_width_end </span><span style="color: #DD0000">"0.0"
<br />
<br /></span><span style="color: #FF8000">// Beam start width.
<br />// -
<br />// Default: "25.0"
<br />// Minimum: "0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_width_start </span><span style="color: #DD0000">"25.0"
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><font size="3"><b><u>Admin Commands</u></b></font><br /><ul><li><b>sm_print_cvars_nd_resource_point_beam</b> => Print the plugin related cvars and their respective values to the console. (<u><b>z</b> flag required</u>)</li>
</ul><br /><font size="3"><b><u>Change Log</u></b></font><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br />1.0.0 (25-January-2024)<br /> - Initial release.<br /></div>
</div>
</div><br /><br /><font size="3"><b><u>To Do</u></b></font><br /><ul><li>Allow clients to enable/disable the beam visibility by cookies.</li>
</ul><br /><font size="3"><b><u>Thank you!</u></b></font><br /><ul><li><a href="https://forums.allie...er.php?u=54648"target="_blank" rel="noopener">databomb</a> - for all the help and plugins shared.</li>
<li>Vertex (Redstone) - for all the help and plugins shared.</li>
</ul><br /><font size="3"><b><u>Post Reply</u></b></font><br /><ul><li>Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.</li>
</ul><br /><font size="3"><b><u>Installation</u></b></font><br /><ul><li>Put the "<b>nd_resource_point_beam.smx</b>" file (click <b>Get Plugin</b>) in your "<b>addonssourcemodplugins</b>" folder.</li>
</ul></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="https://www.sourcemo...65"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1706200450">GetSource</a> (nd_resource_point_beam.sp - 25.3 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
[ND] Beam Resource Points [v1.0.0 | 25-January-2024]
Temat rozp. Adminek AMXX.PL, 25.01.2024 16:53
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych