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

[TF2] Gravestone Revenge Markers - 5/6/2013


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

Napisano 06.05.2013 08:53

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Spawns a tombstone at the corpse of a player when a revenge kill is made.<br />Players may only have one down at a time, so they are fairly infrequent.<br /><br /><img src="http://s22.postimg.o...gravestones.png" border="0" alt="" /><br /><br /><font size="5"><b><u>CVARs:</u></b></font><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"><b>revengestone_version</b>: version number, for tracking (don't change)<br /><b>sm_gravestones_enabled</b> (1) Enable/Disable Plugin [0/1]<br /><b>sm_gravestones_distance</b> (300) Max distance gravestones will be visible on hud from [50+]<br /><b>sm_gravestones_time</b> (600) Max time gravestones will exist for (in seconds) [0+] *</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->The props are not solid, and shouldn't interfere with combat in any way. They will always spawn pointing downward, but will adjust their angle to terrain normals.<br /><br />The player's name/epitaph index is stored inside of the gravestone prop itself, so it will persist, even if the player leaves the server, or reconnects.<br /><br /><font size="5"><b><u>Configuration File:</u></b></font>:<br />The configuration file contains consists of lines of text that will appear on the hud to clients looking at the stones.<br />use * to insert the player's name, use | to insert a newline (line break)<br />Do not use newlines in the configuration file (blank text lines) it just reads each one into the array for now :S<br />The file is read into pre-allocated arrays of fixed size. If you need many more, or want them to be extremely long, you may have to recompile the SP and change the defines at the top.<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">Here lies *|Who could replace you?|Anyone with a gun</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Translates to:<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">Here lies Player<br />Who could replace you?<br />Anyone with a gun</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="5"><b><u>Commands:</u></b></font><ul><li><b>sm_gravestones_reload</b>: (Rcon) Reloads the configuration file, changes take effect immediately.</li>
</ul><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">2013-5-6 (v1.0.0)<br />* Initial Release<br /><br />2013-5-6 (v1.0.1)<br />* Fixed bug which would allow a player with semicolon in name to interfere with string deliminator</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="5"><b><u>Installation:</u></b></font><ul><li>Place the gravestones.txt file in your &quot;addons/sourcemod/configs&quot; directory</li>
<li>Place the gravestones.smx file in your &quot;addons/sourcemod/plugins&quot; directory.</li>
</ul><br /><font size="5"><b><u>Comments:</u></b></font><ul><li>Some basic prop spawming trace/code was taken from <a href="http://forums.allied...d.php?p=1340412" target="_blank">FortWars</a></li>
<li>Some basic trace/hud code was taken from <a href="http://forums.allied...ad.php?t=157075" target="_blank">Entcontrol</a></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=119534"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1367829601">Get Source</a> (gravestones.sp - 13.0 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1367829605">gravestones.smx</a> (10.1 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1367829609">gravestones.txt</a> (1.2 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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