[DoD:S] Death Overlay
Adminek AMXX.PL 17.10.2023
<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&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">// This file was auto-generated by SourceMod (v1.11.0.6502)
<br />// ConVars for plugin "dod_death_overlay.smx"
<br />
<br />
<br />// death overlay to display, relative to materials folder without file extension (set download and precache in sourcemod/configs/dod_death_overlay_download.ini)
<br />// -
<br />// Default: "decals/death_overlay/deathoverlay1"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlay </span><span style="color: #DD0000">"decals/death_overlay/deathoverlay4"
<br />
<br /></span><span style="color: #FF8000">// 0 : disable, 1 : enable Death Overlay
<br />// -
<br />// Default: "1"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlay_enable </span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">// How many seconds to display overlay
<br />// -
<br />// Default: "2.0"
<br />// Minimum: "1.000000"
<br />// Maximum: "5.000000"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlaytime </span><span style="color: #DD0000">"2.0"
<br />
<br /></span><span style="color: #FF8000">// overlay to display, relative to materials folder without file extension (set download and precache in sourcemod/configs/dod_death_overlay_download.ini)
<br />// -
<br />// Default: "decals/death_overlay/overlay1"
<br /></span><span style="color: #0000BB">sm_dod_overlay </span><span style="color: #DD0000">"decals/death_overlay/overlay1"
<br />
<br /></span><span style="color: #FF8000">// 0 : disable, 1 : enable Overlay
<br />// -
<br />// Default: "0"
<br /></span><span style="color: #0000BB">sm_dod_overlay_enable </span><span style="color: #DD0000">"1"
<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&stc=1&thumb=1&d=1697508886" border="0" alt="Click image for larger version
Name: death1.jpg
Views: N/A
Size: 89.5 KB
ID: 201897" /></a>
<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&stc=1&thumb=1&d=1697508903" border="0" alt="Click image for larger version
Name: death2.jpg
Views: N/A
Size: 95.2 KB
ID: 201898" /></a>
</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ł
<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">// This file was auto-generated by SourceMod (v1.11.0.6502)
<br />// ConVars for plugin "dod_death_overlay.smx"
<br />
<br />
<br />// death overlay to display, relative to materials folder without file extension (set download and precache in sourcemod/configs/dod_death_overlay_download.ini)
<br />// -
<br />// Default: "decals/death_overlay/deathoverlay1"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlay </span><span style="color: #DD0000">"decals/death_overlay/deathoverlay4"
<br />
<br /></span><span style="color: #FF8000">// 0 : disable, 1 : enable Death Overlay
<br />// -
<br />// Default: "1"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlay_enable </span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">// How many seconds to display overlay
<br />// -
<br />// Default: "2.0"
<br />// Minimum: "1.000000"
<br />// Maximum: "5.000000"
<br /></span><span style="color: #0000BB">sm_dod_deathoverlaytime </span><span style="color: #DD0000">"2.0"
<br />
<br /></span><span style="color: #FF8000">// overlay to display, relative to materials folder without file extension (set download and precache in sourcemod/configs/dod_death_overlay_download.ini)
<br />// -
<br />// Default: "decals/death_overlay/overlay1"
<br /></span><span style="color: #0000BB">sm_dod_overlay </span><span style="color: #DD0000">"decals/death_overlay/overlay1"
<br />
<br /></span><span style="color: #FF8000">// 0 : disable, 1 : enable Overlay
<br />// -
<br />// Default: "0"
<br /></span><span style="color: #0000BB">sm_dod_overlay_enable </span><span style="color: #DD0000">"1"
<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&stc=1&thumb=1&d=1697508886" border="0" alt="Click image for larger version
Name: death1.jpg
Views: N/A
Size: 89.5 KB
ID: 201897" /></a>
<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&stc=1&thumb=1&d=1697508903" border="0" alt="Click image for larger version
Name: death2.jpg
Views: N/A
Size: 95.2 KB
ID: 201898" /></a>
</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ł