Page 1 of 1
Overlays
Posted: Fri Feb 26, 2016 7:30 am
by BackRaw
Hi everybody,
Is there a tutorial of how to create some overlays and use them with SP (CSS/CSGO)? If not, I'd much appreciate it if someone could write on
Thanks y'all!
Posted: Sun Feb 28, 2016 3:41 pm
by iPlayer
What do you mean by overlays? Screen overlays? If so, you just execute a client command
r_screenoverlay <path to vmt-file>
To remove overlay, you execute
r_screenoverlay off
Posted: Mon Feb 29, 2016 8:25 am
by BackRaw
iPlayer wrote:What do you mean by overlays? Screen overlays? If so, you just execute a client command
r_screenoverlay <path to vmt-file>
To remove overlay, you execute
r_screenoverlay off
Exactly! Thanks a bunch. How can I set their position?
Posted: Mon Feb 29, 2016 9:33 am
by iPlayer
I'm afraid you can't. VMT-file will be stretched and fill the whole screen. Plus you only can set one overlay at a time. Might look into env_screenoverlay entity too.
Basically if you want a red circle in the bottom right, you create 1920x1080 overlay, draw a circle in the bottom right and pray client doesn't have 4:3 resolution.
Posted: Mon Feb 29, 2016 9:41 am
by BackRaw
iPlayer wrote:I'm afraid you can't. VMT-file will be stretched and fill the whole screen. Plus you only can set one overlay at a time. Might look into env_screenoverlay entity too.
Basically if you want a red circle in the bottom right, you create 1920x1080 overlay, draw a circle in the bottom right and pray client doesn't have 4:3 resolution.
Great info, thank you very much.