Raised This Month: $ Target: $400
 0% 

r_fullbright


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 05-12-2007 , 19:55   r_fullbright
Reply With Quote #1

How would I use AMXX to enable/disable fullbright on specific clients?
__________________
Bad_Bud is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 05-13-2007 , 09:19   Re: r_fullbright
Reply With Quote #2

This cmd works only on software grafic, ~90% players use OpenGL.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 05-13-2007 , 13:32   Re: r_fullbright
Reply With Quote #3

Ah. Is there any other way to achieve approximately the same effect on a single player?
__________________
Bad_Bud is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-13-2007 , 17:53   Re: r_fullbright
Reply With Quote #4

Quote:
Originally Posted by Bad_Bud View Post
Ah. Is there any other way to achieve approximately the same effect on a single player?
I searched with google to get the behaviour of r_fullbright.
I found out that this enable/disable the shadows..!?
Are these information correct?

Why would you like to enable/disable shadows?

greetz regalis
__________________
regalis is offline
pRED*
Join Date: Dec 2006
Old 05-13-2007 , 18:09   Re: r_fullbright
Reply With Quote #5

http://www.amxmodx.org/funcwiki.php?go=func&id=371

Not sure if that will have the same effect as I don't really know what fullbright is but it's prob worth a try
pRED* is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 05-13-2007 , 21:15   Re: r_fullbright
Reply With Quote #6

Fullbright disables all light visablity and makes it... "fullbright". "set_lights" should give the same effect, but lights still will show colors and such.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 05-14-2007 , 00:43   Re: r_fullbright
Reply With Quote #7

Shame, set_lights seems to be for the entire server instead of just one person...
__________________
Bad_Bud is offline
pRED*
Join Date: Dec 2006
Old 05-14-2007 , 16:16   Re: r_fullbright
Reply With Quote #8

Clutching at straws maybe and I really don't know what to do with it but..

In the fakemeta_const file...

Code:
enum UserCmd { ....     // Light level at spot where we are standing     UC_LightLevel,        // byte .... };

Code:
// These functions are used with the usercmd data structure (FM_CmdStart) // Get: 0 extra params - Return integer; 1 extra param - by ref float or vector // Set: Use anything // Use 0 for uc_handle to specify the global usercmd handle native get_uc(uc_handle, UserCmd:member, {Float,_}:...); native set_uc(uc_handle, UserCmd:member, {Float,_}:...);

So you have to register the forward FM_Cmdstart and in the function that is called by that forward you can use get_uc and set_uc to change stuff.
Try using that to change the light level...
pRED* is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-14-2007 , 17:24   Re: r_fullbright
Reply With Quote #9

Or maybe emit a big huge monster flashlight....
Here is the code from avalanche's customflashlight...
Maybe you can give the desired player a monster flashlight...that would brighten the map..0o
Attached Files
File Type: sma Get Plugin or Get Source (customflashlight.sma - 744 views - 3.1 KB)
__________________
regalis is offline
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 05-15-2007 , 00:42   Re: r_fullbright
Reply With Quote #10

No, actually I was looking to make a single person have night vision, so anything that brightens the world for other people is kind of... meh.
__________________
Bad_Bud 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 10:41.


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