Raised This Month: $ Target: $400
 0% 

Question about nightvision (css)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
V0gelz
Senior Member
Join Date: Jun 2004
Old 01-03-2009 , 19:01   Question about nightvision (css)
Reply With Quote #1

Ok here is the thing, i want to change the color of the nightvision goggles.
I want to make that they don't see the green color but a red color. I allready searched in CCSPlayer to maybe change the color from there but no luck.

Thanks in advance
__________________
V0gelz is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 01-04-2009 , 12:38   Re: Question about nightvision (css)
Reply With Quote #2

I don't believe you can change the color of the nightvision goggles. You could easily add a red tint on the screen, but it won't make things more visible in the dark like the nightvision goggles do.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
V0gelz
Senior Member
Join Date: Jun 2004
Old 01-04-2009 , 17:00   Re: Question about nightvision (css)
Reply With Quote #3

Yea well all i wanned to do is make te map a little darker and red. tought the nightvision would be the right choise to mess around with but i didn't found any option. So, that means ill just try the set lightning thing.

Thanks for the responds duke
__________________
V0gelz is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 01-04-2009 , 23:49   Re: Question about nightvision (css)
Reply With Quote #4

A screen fade message with the appropriate alpha should do the trick then.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
V0gelz
Senior Member
Join Date: Jun 2004
Old 01-05-2009 , 17:17   Re: Question about nightvision (css)
Reply With Quote #5

Well i want to make it so its a little screapy. maybe i could add a overlay with the fading thing.. I'm making something so thing spawn on the map and weird things happen. Like that everything goes a bit darker and red. Bit horror looking. And then let people pee in there pants there comes something in front of them. something scary xD. Pretty nice idea tbh =D A horror plugin ^^
__________________
V0gelz is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 01-05-2009 , 17:47   Re: Question about nightvision (css)
Reply With Quote #6

I would use one or the other. If you use an overlay you have a lot of options besides color. You might try a screen overlay with a little texture to it. Messing around with some of the options (like $additive ???) might provide a nice effect also.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
V0gelz
Senior Member
Join Date: Jun 2004
Old 01-06-2009 , 12:43   Re: Question about nightvision (css)
Reply With Quote #7

Yeah, i was thinking in that way. Got a question tho, do yo know how you can mesure the distance between a player and an entity?
__________________
V0gelz is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 01-06-2009 , 12:56   Re: Question about nightvision (css)
Reply With Quote #8

PHP Code:
new Float:clientOrigin[3], Float:entityOrigin[3];
GetEntPropVector(clientProp_Send"m_vecOrigin"clientOrigin);
GetEntPropVector(entityProp_Send"m_vecOrigin"entityOrigin);

new 
Float:distance GetVectorDistance(clientOriginentityOrigin); 
bl4nk is offline
V0gelz
Senior Member
Join Date: Jun 2004
Old 01-10-2009 , 09:16   Re: Question about nightvision (css)
Reply With Quote #9

thanks, just what i was looking for =)
__________________
V0gelz 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 20:47.


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