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

[CSGO] Fixing rouge flashlight sprites


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 12-22-2015 , 23:55   [CSGO] Fixing rouge flashlight sprites
Reply With Quote #1

I'm stuck at work before christmas and it's boring as hell!!

Please entertain me!!!!

For a while now, I've wanted to try and fix a problem with flashlights in CS:GO and release a nice !flashlight plugin.

So most of us know, for CSGO you can use the client console command "impulse 100" to toggle your flashlight when mp_flashlight is set to 1.

Say you have a big zombie map as an example. If players whom have a flashlight enabled run into an area where you can no longer see them (visleaf), the players flashlight sprite becomes stuck at where they crossed into the non visible leaf.

So I'm thinking a good fix would be.

1. Detecting when a player enters a new visleaf (not even sure if its possible)
2. Toggling off impulse and toggling it back on the next frame

Any thoughts from anyone?
__________________
Neuro Toxin is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 12-23-2015 , 00:09   Re: [CSGO] Fixing rouge flashlight sprites
Reply With Quote #2

So,
stuck at work before Christmas and it's boring as hell?
Hey, here I am, let me entertain you well!
Add FL_EDICT_ALWAYS to the players my friend,
and have flashlight fun, that will never end!

(FYI you're not really my friend, iirc you're kind of a dick but I'm stuck with this rhyme challenge so that being nice and helpful isn't too boring)
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 12-23-2015 , 00:28   Re: [CSGO] Fixing rouge flashlight sprites
Reply With Quote #3

Quote:
Originally Posted by Dr. Greg House View Post
Add FL_EDICT_ALWAYS to the players my friend
Hmm, correct me if im wrong.

Wouldnt this mean that all player movements are sent to all clients?

Meaning, this would enable wallhacks across entire maps / break the new occlusion stuff Valve introduced a while back to reduce wallhack effectiveness?

Quote:
Originally Posted by Dr. Greg House View Post
FYI you're not really my friend, iirc you're kind of a dick but I'm stuck with this rhyme challenge so that being nice and helpful isn't too boring
Feelings hurt
__________________

Last edited by Neuro Toxin; 12-23-2015 at 00:28.
Neuro Toxin is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 12-23-2015 , 00:33   Re: [CSGO] Fixing rouge flashlight sprites
Reply With Quote #4

Yes, the traffic will spike and the cost is quite high,
but if you do this instead, then your end may be neigh.
https://developer.valvesoftware.com/wiki/PVS
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 12-23-2015 , 00:54   Re: [CSGO] Fixing rouge flashlight sprites
Reply With Quote #5

Thats exactly what I'm after.

Now I wonder if any of this this exposed for use in SM?

Looks like I would have to write a MetaMod plugin (which is way outside of my skillset).

Does anyone have any other ideas of how to resolve the rouge ghost flashlight sprites as players move outside of a PVS set?
__________________
Neuro Toxin is offline
bally
Senior Member
Join Date: Aug 2015
Old 12-23-2015 , 05:23   Re: [CSGO] Fixing rouge flashlight sprites
Reply With Quote #6

nvm
__________________
Perhaps my lack of faith was my undoing,

Last edited by bally; 12-23-2015 at 11:31.
bally is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-23-2015 , 09:30   Re: [CSGO] Fixing rouge flashlight sprites
Reply With Quote #7

Quote:
Originally Posted by Neuro Toxin View Post
Meaning, this would enable wallhacks across entire maps / break the new occlusion stuff Valve introduced a while back to reduce wallhack effectiveness?
There's already ways around that, so it shouldn't be something stopping you.

Quote:
Originally Posted by Neuro Toxin View Post
So most of us know, for CSGO you can use the client console command "impulse 100" to toggle your flashlight when mp_flashlight is set to 1.
I do have a flashlight plugin i made 2 years ago..
But it still has issues like that.

Last edited by Mitchell; 12-23-2015 at 09:32.
Mitchell 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 01:38.


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