Skocz do zawartości

[RSS] [ANY] Server Overlay Banner (1.0.0)


GameNation

Rekomendowane odpowiedzi

[ANY] Server Overlay Banner
[ Toggle On/Off Server Banner with flags or vip list and more... ]

68747470733a2f2f757365722d696d616765732e



.:[ ConVars ]:.
Spoiler

Code:

// enable overlay plugin?
// 1= yes
// 0= no
ov_enable_plugin "1"

// Path to the start Overlay DONT TYPE .vmt or .vft
ov_overlay_path "overlay/goldkingzbanner"

// show overlay to?
// 2= alive players only and exclude died/spectators
// 1= died/spectators only
// 0= all alive + dead/spectators
ov_show_overlay "0"

//==========================================================================================

// make banner togglable?
// 3= yes ( specific steamids ov_steamid_list_path ) need restart server
// 2= yes ( specific flags ov_flags )
// 1= yes ( everyone can toggle on/off )
// 0= no (disable toggle on/off )
ov_enable_toggle "0"

// [if ov_enable_toggle 2] which flags is it
ov_flags "abcdefghijklmnoz"

// [if ov_enable_toggle 3] where is list steamid located in addons/sourcemod/
ov_steamid_list_path "configs/viplist.txt"

//==========================================================================================

// [if ov_enable_toggle 1 or 2 or 3] which commands would you like to make it  toggle on/off hide banner (need restart server)
// -
// Default: "sm_hidebanner;sm_bannerhide;sm_banner"
ov_cmd "sm_hidebanner;sm_bannerhide;sm_banner"




.:[ Tutorial ]:.
Spoiler


>>Video<<
Spoiler






>>Text<<
Spoiler


1- make sure you have template or just go to any game and screen shot 3840x2160 resolution.

2- Make new project in photoshop with transparent background, then edit photo as you like and let template guide you.

68747470733a2f2f6769746875622e636f6d2f6f

3- After you done make sure you delete/hide template and save files as PNG.
68747470733a2f2f6769746875622e636f6d2f6f
68747470733a2f2f6769746875622e636f6d2f6f

4- Download VTFEdit and use x86 or x64 depend on your pc.

5- Before you do anything you must enable "View"->"Mask" To see the result of transparency in real time after importing PNG (green, black,white) means not good image transparent.
6- Also Disable "Options"->"Auto Create VMT File" To disable auto create VMT will will do it manually.

7- Play PNGs and see which number is ended/lays do you like to add if you want animated.
8- Then "File"->"Save As..." and name the file + locate where you want to put VTF path then save it and remember the path + file name.
9- After that "Tools"->"Create VMT File"->"Textures" press on browser of "Base Texture 1" and locate VTF + we make sure path not included csgo/materials.
10- Then "Tools"->"Create VMT File"->"Options" make sure "Shader > UnlitGeneric" + Tick/Enable on Translucent then save save VTF located.
11- You will have now 2 files .VTF and .VMT at same path.

12- Now if you want animated open .VMT and add These Lines under "$translucent" 1 and edit "animatedTextureFrameRate" "X" For how many frames.
13- Uploaded it both server and FASTDL and make sure edit "Server-Overlay-Banner.cfg > ov_overlay_path" add path and file name without .VTF or .VMT at end.





.:[ Change Log ]:.
Spoiler

(1.0.0)
-Initial Release



.:[ Download ]:.

Przeczytaj cały wpis na stronie AlliedModders

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.