Raised This Month: $ Target: $400
 0% 

[IDEA][CS:GO]Flash Color


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 08-03-2015 , 21:31   [IDEA][CS:GO]Flash Color
Reply With Quote #1

Is it possible to change white flash color to other color?
such as black, red, pink, green, blue or others.
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Old 08-05-2015 , 01:50   Re: [IDEA][CS:GO]Flash Color
Reply With Quote #2

Quote:
Originally Posted by rogeraabbccdd View Post
Is it possible to change white flash color to other color?
such as black, red, pink, green, blue or others.
I honestly don't think so, what you could do is display an overlay with a certain alpha value and decrease it every .5 seconds or something.
__________________
SourcePawn Coding Level: Novice
DJ Data is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-05-2015 , 11:19   CS:S|CS:GO Flash Color
Reply With Quote #3

http://www.sourcemod.net/plugins.php...flash&search=1

There is one but works only in cs:s, csgo again use protobuf usermessages.

So free to try this updated versio.

I tried replicate original flash fade effect as close as I can.

cvar usage:
sm_flashbang_flash_color "-1 -1 -1" //random colors
sm_flashbang_flash_color "255 0 0" // RGB values
sm_flashbang_flash_color "" //Disable


CS:S|CS:GO Flash color
__________________
Do not Private Message @me

Last edited by Bacardi; 08-05-2015 at 11:23. Reason: erase extra code
Bacardi is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 08-05-2015 , 17:11   Re: CS:S|CS:GO Flash Color
Reply With Quote #4

OMG THANK YOU!!!
I just test it in my server, and it works fine!!!

And here are the files.
Attached Files
File Type: sp Get Plugin or Get Source (flashcolor.sp - 10427 views - 2.8 KB)
File Type: smx flashcolor.smx (5.8 KB, 987 views)
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd 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 05:14.


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