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

[DoD:S] Death Overlay


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

Napisano 17.10.2023 03:07

<div>Hi,<br />I am not the author of this original plugin, but i modified for add an overlay when not dead.<br /><br /><br /><b><u>Authors :</u></b><br /><br />Originals authors : Vintage <a href="http://dodsplugins.m...?f=6&#38;t=110"target="_blank" rel="nofollow noopener">http://dodsplugins.m...38;t=110</a><br /><br /><br /><br /><b><u>Description :</u></b><br /><br />This plugin display an overlay on Player Death and another overlay when player is alive.<br /><br /><br /><b><u>Setting :</u></b><br /><br />Setting file : <div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">dod/cfg/dod_deathoverlay/dod_deathoverlay.cfg</code><hr />
</div>Be carrefull, overlay alive is disable by default.<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;This&nbsp;file&nbsp;was&nbsp;auto-generated&nbsp;by&nbsp;SourceMod&nbsp;(v1.11.0.6502)
<br />//&nbsp;ConVars&nbsp;for&nbsp;plugin&nbsp;"dod_death_overlay.smx"
<br />
<br />
<br />//&nbsp;death&nbsp;overlay&nbsp;to&nbsp;display,&nbsp;relative&nbsp;to&nbsp;materials&nbsp;folder&nbsp;without&nbsp;file&nbsp;extension&nbsp;(set&nbsp;download&nbsp;and&nbsp;precache&nbsp;in&nbsp;sourcemod/configs/dod_death_overlay_download.ini)
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"decals/death_overlay/deathoverlay1"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlay&nbsp;</span><span style="color: #DD0000">"decals/death_overlay/deathoverlay4"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;0&nbsp;:&nbsp;disable,&nbsp;1&nbsp;:&nbsp;enable&nbsp;Death&nbsp;Overlay
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"1"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlay_enable&nbsp;</span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;How&nbsp;many&nbsp;seconds&nbsp;to&nbsp;display&nbsp;overlay
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"2.0"
<br />//&nbsp;Minimum:&nbsp;"1.000000"
<br />//&nbsp;Maximum:&nbsp;"5.000000"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlaytime&nbsp;</span><span style="color: #DD0000">"2.0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;overlay&nbsp;to&nbsp;display,&nbsp;relative&nbsp;to&nbsp;materials&nbsp;folder&nbsp;without&nbsp;file&nbsp;extension&nbsp;(set&nbsp;download&nbsp;and&nbsp;precache&nbsp;in&nbsp;sourcemod/configs/dod_death_overlay_download.ini)
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"decals/death_overlay/overlay1"
<br /></span><span style="color: #0000BB">sm_dod_overlay&nbsp;</span><span style="color: #DD0000">"decals/death_overlay/overlay1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;0&nbsp;:&nbsp;disable,&nbsp;1&nbsp;:&nbsp;enable&nbsp;Overlay
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">sm_dod_overlay_enable&nbsp;</span><span style="color: #DD0000">"1"&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><b><u>Facility :</u></b><br /><ol style="list-style-type: decimal"><li>Download Zip file.</li>
<li>Unzip this file in your computer.</li>
<li>Upload all files in your server, respect the folder architecture.</li>
<li>Change map or restart server, plugin create cfg file.</li>
<li>Setting cfg file.</li>
</ol><br /><b><u>Changelog :</u></b><br />Plugin 1.0: original plugin (request by LeTaz Team MDR) Overlay too long (stay from death to respawn)<br />Plugin 1.1: added auto cfg config for overlay model and a timer duration (configurable from 1s to 5s) to display the overlay<br />Plugin 1.2 : 18/10/2023 add overlay when players alive.<br /><br />Have fun...</div>


<br /> <div style="padding:6px">


<fieldset class="fieldset">
<legend>Attached Thumbnails</legend>
<div style="padding:3px">

<a href="https://forums.allie...8;d=1697508886"rel="Lightbox_2811716" id="attachment201897"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=201897&amp;stc=1&amp;thumb=1&amp;d=1697508886" border="0" alt="Click image for larger version

Name: death1.jpg
Views: N/A
Size: 89.5 KB
ID: 201897" /></a>
&nbsp;

<a href="https://forums.allie...8;d=1697508903"rel="Lightbox_2811716" id="attachment201898"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=201898&amp;stc=1&amp;thumb=1&amp;d=1697508903" border="0" alt="Click image for larger version

Name: death2.jpg
Views: N/A
Size: 95.2 KB
ID: 201898" /></a>
&nbsp;

</div>
</fieldset>







<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...95"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1697508460">GetSource</a> (dod_death_overlay.sp - 5.7 KB)


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


<a href="https://forums.allie....0-6502.zip</a>(6.81 MB)


</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