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

[ANY] Server Overlay Banner (1.0.0)


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

Napisano 05.07.2023 15:20

<div><div align="center"><b><font size="5"><font color="DarkOrange">[ANY] Server Overlay Banner</font></font></b><br /><font size="3">[ Toggle On/Off Server Banner with flags or vip list and more... ]</font><br /><br /><a class="proxied-img-link" href="https://user-images.githubusercontent.com/48490385/251177863-1dc63c23-25f9-4ea2-a302-ca93270986df.gif" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/668d21dda248f201ad2ea29d3ee499fa47c18ea3/68747470733a2f2f757365722d696d616765732e67697468756275736572636f6e74656e742e636f6d2f34383439303338352f3235313137373836332d31646336336332332d323566392d346561322d613330322d6361393332373039383664662e676966" border="0" alt="" /></a><br /><br /><br /><br /><font size="2"><b><font color="DarkOrange">.:[ ConVars ]:.</font></b></font><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 /><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">// enable overlay plugin?<br />// 1= yes<br />// 0= no<br />ov_enable_plugin &quot;1&quot;<br /><br />// Path to the start Overlay DONT TYPE .vmt or .vft<br />ov_overlay_path &quot;overlay/goldkingzbanner&quot;<br /><br />// show overlay to?<br />// 2= alive players only and exclude died/spectators<br />// 1= died/spectators only<br />// 0= all alive + dead/spectators<br />ov_show_overlay &quot;0&quot;<br /><br />//==========================================================================================<br /><br />// make banner togglable?<br />// 3= yes ( specific steamids ov_steamid_list_path ) need restart server<br />// 2= yes ( specific flags ov_flags )<br />// 1= yes ( everyone can toggle on/off )<br />// 0= no (disable toggle on/off )<br />ov_enable_toggle &quot;0&quot;<br /><br />// [if ov_enable_toggle 2] which flags is it<br />ov_flags &quot;abcdefghijklmnoz&quot;<br /><br />// [if ov_enable_toggle 3] where is list steamid located in addons/sourcemod/<br />ov_steamid_list_path &quot;configs/viplist.txt&quot;<br /><br />//==========================================================================================<br /><br />// [if ov_enable_toggle 1 or 2 or 3] which commands would you like to make it&nbsp; toggle on/off hide banner (need restart server)<br />// -<br />// Default: &quot;sm_hidebanner;sm_bannerhide;sm_banner&quot;<br />ov_cmd &quot;sm_hidebanner;sm_bannerhide;sm_banner&quot;</code><hr />
</div></div>
</div>
</div><br /><br /><br /><font size="2"><b><font color="DarkOrange">.:[ Tutorial ]:.</font></b></font><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 /><br /><font size="2"><b><font color="Yellow">&gt;&gt;Video&lt;&lt;</font></b></font><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 /><br /><iframe width="420" height="315" src="https://www.youtube....qOZvUrhI?rel=0"frameborder="0" allowfullscreen></iframe><br /><br /></div>
</div>
</div><br /><br /><font size="2"><b><font color="Yellow">&gt;&gt;Text&lt;&lt;</font></b></font><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 /><br />1- Make sure you have <a href="https://github.com/o.../template .png"target="_blank" rel="nofollow noopener">template</a> or just go to any game and screen shot <b>3840x2160</b> resolution.<br /><br />2- Open photoshop/any edit program with transparent background <b>3840x2160</b>.<br /><a class="proxied-img-link" href="https://github.com/oqyh/Server-Overlay-Banner/raw/main/img/projectres.png" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/6bad899da50afc21276c698c173d4ae165c124cf/68747470733a2f2f6769746875622e636f6d2f6f7179682f5365727665722d4f7665726c61792d42616e6e65722f7261772f6d61696e2f696d672f70726f6a6563747265732e706e67" border="0" alt="" /></a><br /><br />3- Now import template and let it guide you where to locate banner at screen.<a class="proxied-img-link" href="https://github.com/oqyh/Server-Overlay-Banner/raw/main/img/lineup.png" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/b507ade515abfa0b455f81ab6ba8d56f8a7fbfbd/68747470733a2f2f6769746875622e636f6d2f6f7179682f5365727665722d4f7665726c61792d42616e6e65722f7261772f6d61696e2f696d672f6c696e6575702e706e67" border="0" alt="" /></a><br /><br />4- After you done make sure you delete/hide template and save files as PNG.<br /><a class="proxied-img-link" href="https://github.com/oqyh/Server-Overlay-Banner/raw/main/img/lineup2.png" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/754ed0ababd2d643a882bf385b995e9d4893a998/68747470733a2f2f6769746875622e636f6d2f6f7179682f5365727665722d4f7665726c61792d42616e6e65722f7261772f6d61696e2f696d672f6c696e657570322e706e67" border="0" alt="" /></a><br /><a class="proxied-img-link" href="https://github.com/oqyh/Server-Overlay-Banner/raw/main/img/lineup3.png" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/730a460cb015a69ea7b921468d363f69b159d53e/68747470733a2f2f6769746875622e636f6d2f6f7179682f5365727665722d4f7665726c61792d42616e6e65722f7261772f6d61696e2f696d672f6c696e657570332e706e67" border="0" alt="" /></a><br /><br />5- Download <a href="https://github.com/NeilJed/VTFLib" target="_blank" rel="nofollow noopener">VTFEdit </a> and use x86 or x64 depend on your pc.<br /><br />6- Before you do anything you must enable &quot;View&quot;-&gt;&quot;Mask&quot; To see the result of transparency in real time after importing PNG (green or black or white) transparency means not good image transparent.<br /><br />7- Also Disable &quot;Options&quot;-&gt;&quot;Auto Create VMT File&quot; To disable auto create VMT will will do it manually.<br /><br />8- After That &quot;File&quot;-&gt;&quot;&quot;Import&quot; with following settings<br /><a class="proxied-img-link" href="https://github.com/oqyh/Server-Overlay-Banner/raw/main/img/VTFEdit-1.png" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/1177ece5b185c70063e0ed042642d4ab932fd118/68747470733a2f2f6769746875622e636f6d2f6f7179682f5365727665722d4f7665726c61792d42616e6e65722f7261772f6d61696e2f696d672f565446456469742d312e706e67" border="0" alt="" /></a><br /><a class="proxied-img-link" href="https://github.com/oqyh/Server-Overlay-Banner/raw/main/img/VTFEdit-2.png" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/b24c03afadbbc58175a9419fdf43e8b7a78c2431/68747470733a2f2f6769746875622e636f6d2f6f7179682f5365727665722d4f7665726c61792d42616e6e65722f7261772f6d61696e2f696d672f565446456469742d322e706e67" border="0" alt="" /></a><br /><br />9- Play with PNGs and see which number is ended/layers do you like to add if you want animated later in .VMT file at &quot;animatedTextureFrameRate&quot;.<br /><br />10- Then &quot;File&quot;-&gt;&quot;Save As...&quot; and name the file + locate where you want to put VTF path then save it and remember the path + file name.<br /><br />11- After that &quot;Tools&quot;-&gt;&quot;Create VMT File&quot;-&gt;&quot;Textures&quot; press on browser of &quot;Base Texture 1&quot; and locate VTF + we make sure path not included csgo/materials.<br /><br />12- Then &quot;Tools&quot;-&gt;&quot;Create VMT File&quot;-&gt;&quot;Options&quot; make sure &quot;Shader &gt; UnlitGeneric&quot; + Tick/Enable on Translucent then press on &quot;Create&quot;.<br /><br />13- You will have now 2 files .VTF and .VMT at same path.<br /><br />14- Now if you want animated open .VMT and add <a href="https://github.com/oqyh/Server-Overlay-Banner/blob/main/img/Animated%20VTF.txt" target="_blank" rel="nofollow noopener">These Lines</a> under &quot;$translucent&quot; 1 and edit &quot;animatedTextureFrameRate&quot; &quot;X&quot; For how many frames.<br /><br />15- Uploaded it both server and FASTDL and make sure edit &quot;Server-Overlay-Banner.cfg &gt; ov_overlay_path&quot; add path and file name without .VTF or .VMT at end.<br /><br /></div>
</div>
</div><br /></div>
</div>
</div><br /><br /><br /><font size="2"><b><font color="DarkOrange">.:[ Change Log ]:.</font></b></font><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)<br />-Initial Release<br /></div>
</div>
</div><br /><br /><br /><font size="2"><b><font color="DarkOrange">.:[ Download ]:.</font></b></font><br /><br /><div align="center"><font size="4"><b><font color="royalblue"><a href="https://github.com/o...Overlay-Banner"target="_blank" rel="nofollow noopener">GitHub</a></font></b> || <b><font color="royalblue"><a href="https://github.com/oqyh/Server-Overlay-Banner/releases" target="_blank" rel="nofollow noopener">Download</a></font></b></font></div></div></div>

Wyświetl pełny artykuł




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

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