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

[ND] Beam Resource Points [v1.0.0 | 25-January-2024]


  • 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 509
  • Lokalizacja:AMXX.PL
Offline

Napisano 25.01.2024 16:53

<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 &quot;<b>nd_resource_point_beam.cfg</b>&quot; will automatically be created for you upon the first run in the &quot;<b>cfgsourcemod</b>&quot; 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">//&nbsp;Beam&nbsp;alpha.
<br />//&nbsp;0&nbsp;=&nbsp;Disable.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"255"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br />//&nbsp;Maximum:&nbsp;"255.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_alpha&nbsp;</span><span style="color: #DD0000">"255"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Beam&nbsp;color&nbsp;for&nbsp;consortium&nbsp;faction.
<br />//&nbsp;Use&nbsp;three&nbsp;values&nbsp;between&nbsp;0-255&nbsp;separated&nbsp;by&nbsp;spaces&nbsp;("&lt;0-255&gt;&nbsp;&lt;0-255&gt;&nbsp;&lt;0-255&gt;").
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0&nbsp;0&nbsp;255"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_color_consortium&nbsp;</span><span style="color: #DD0000">"0&nbsp;0&nbsp;255"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Beam&nbsp;color&nbsp;for&nbsp;consortium&nbsp;faction.
<br />//&nbsp;Use&nbsp;three&nbsp;values&nbsp;between&nbsp;0-255&nbsp;separated&nbsp;by&nbsp;spaces&nbsp;("&lt;0-255&gt;&nbsp;&lt;0-255&gt;&nbsp;&lt;0-255&gt;").
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"255&nbsp;0&nbsp;0"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_color_empire&nbsp;</span><span style="color: #DD0000">"255&nbsp;0&nbsp;0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Beam&nbsp;color&nbsp;for&nbsp;uncaptured&nbsp;resources.
<br />//&nbsp;Use&nbsp;three&nbsp;values&nbsp;between&nbsp;0-255&nbsp;separated&nbsp;by&nbsp;spaces&nbsp;("&lt;0-255&gt;&nbsp;&lt;0-255&gt;&nbsp;&lt;0-255&gt;").
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"255&nbsp;255&nbsp;255"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_color_none&nbsp;</span><span style="color: #DD0000">"255&nbsp;255&nbsp;255"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Enable/Disable&nbsp;the&nbsp;plugin.
<br />//&nbsp;0&nbsp;=&nbsp;Disable,&nbsp;1&nbsp;=&nbsp;Enable.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"1"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br />//&nbsp;Maximum:&nbsp;"1.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_enable&nbsp;</span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Beam&nbsp;height.
<br />//&nbsp;0&nbsp;=&nbsp;World&nbsp;Max.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0.0"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_height&nbsp;</span><span style="color: #DD0000">"0.0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Beam&nbsp;model.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"sprites/widestripe.vmt"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_model&nbsp;</span><span style="color: #DD0000">"sprites/widestripe.vmt"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;How&nbsp;often&nbsp;should&nbsp;check&nbsp;for&nbsp;capturing&nbsp;resources&nbsp;to&nbsp;toogle&nbsp;the&nbsp;color.
<br />//&nbsp;0&nbsp;=&nbsp;OFF.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0.5"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_timer_toogle&nbsp;</span><span style="color: #DD0000">"0.5"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Beam&nbsp;end&nbsp;width.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0.0"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_width_end&nbsp;</span><span style="color: #DD0000">"0.0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Beam&nbsp;start&nbsp;width.
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"25.0"
<br />//&nbsp;Minimum:&nbsp;"0.000000"
<br /></span><span style="color: #0000BB">nd_resource_point_beam_width_start&nbsp;</span><span style="color: #DD0000">"25.0"&nbsp;
<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> =&gt; 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 &quot;<b>nd_resource_point_beam.smx</b>&quot; file (click <b>Get Plugin</b>) in your &quot;<b>addonssourcemodplugins</b>&quot; 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ł




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

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