Raised This Month: $51 Target: $400
 12% 

r_screenoverlay Issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ShadowRanger
Junior Member
Join Date: Aug 2017
Old 08-25-2017 , 01:37   r_screenoverlay Issue
Reply With Quote #1

Hello everyone,

So I've made a plugin to display a custom crosshair dot on the screen using ClientCommand and r_screenoverlay. I'm having a problem though, for some reason after the command is run, the overlay will randomly disappear, and I don't know what's causing it. Does it need to be updated every so often or something? Because I don't see why it would just randomly un-apply itself.

On a side note, I'm not sure why but for some reason the crosshair texture shows up with a white outline in-game but looks fine in the texture. I found heaps of threads about it on all different games, but could not find a way to fix it for CS:GO. I heard it's something to do with the alpha channel but I don't know what's causing it.

Any ideas? I can provide the texture VTF and VMT if needed. Thanks in advance.
ShadowRanger is offline
psychonic

BAFFLED
Join Date: May 2008
Old 08-25-2017 , 12:20   Re: r_screenoverlay Issue
Reply With Quote #2

You likely do need to reapply it. Your plugin does not have exclusive control over that convar. Other plugins or the game itself can alter or clear it.
psychonic is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode