Rate Thread
Retakes - Bombsite overlays for
splewis Retakes
Shows on roundstart a overlays which bombsite is active.
ConVars
Code:
sm_retake_overlays_team - Show overlays only for counter-terrorists
sm_retake_overlays_time - How long show the Bombsite overlays? in seconds
sm_retake_overlays_path_a - Path to the bombsite A overlay DONT TYPE .vmt or .vft
sm_retake_overlays_path_b - Path to the bombsite B overlay DONT TYPE .vmt or .vft
Required plugins
Tutorial "how to make your own overlay":
Spoiler
In this tutorial, I try so "noob-like" as I can, to show you how to make custom overlays.
You need a windows PC, VTFEdit, an graphic editor like Photoshop or GIMP (For this tutorial I presume you know how to use a graphic software) & an text editor like SPEdit, Sublime Text or Notepad++.
- Design a new image with your graphic editor with the following size: 1820px * 1024px (optimal view at 16:9)
- Squeeze it to a 1024px * 1024px square.
- Save your image as a RGB/8bit *.png file. In this example as overlay.png
- Open VTFEdit and press the Import Button or 'Ctrl + I'
- Import your custom image from step 3
- A option windows pops up. I run good with these settings:
- Press OK & check the following settings. I run good with these:
- Save as *.vtf file. In this example as overlay.vtf
- Open your text editor and start a new file (Ctrl + N)
- Copy & Paste the following to your new text file:
Code:
MonitorScreen"
{
"$basetexture" "overlays/MyFirstOverlay/OVERLAY_PLACEHOLDER"
"$translucent" 1
}
- Edit OVERLAY_PLACEHOLDER to your filename you choose in step 8. Don't write the file extension.vft
- example with overlay.vtf:
Code:
"MonitorScreen"
{
"$basetexture" "overlays/MyFirstOverlay/overlay"
"$translucent" 1
}
- Save as *.vmt file with same name you choose in step 8. In this example as overlay.vmt
- Upload the *.vtf & *.vmt file to following folder of your server & FastDL:
Overlay: ...\csgo\materials\overlays\MyFirstOverlay
Congratulations!
Tutorial take from
here
ChangeLog
Quote:
v1.1- use userid instead of clientid for remove overlay (thx good_live)
v1.0
|
Credits
good_live
Big thanks @splewis for his great work!
Also big thanks to all sourcemod & metamod developers out there!
Include file for compile
Installation
Quote:
- Open gameserver folder and copy the folders addons/ & materials/ to your gameservers root csgo/ directory
- Open fastDL folder and copy the folder materials/ to your FastDownload servers csgo/ directory
- Edit your pure_server_whitelist.txt and add the line "materials\overlays\... allow_from_disk" - I realy recommend this instead of sv_pure "0"
- Run plugin for the first time and .cfg file will be generated
- Have fun! Give feedback!
|
Github
https://github.com/shanapu/retakes-overlays
You like my work for the community? Buy me a beer!