Raised This Month: $ Target: $400
 0% 

Fade Screen on Outside?


Post New Thread Reply   
 
Thread Tools Display Modes
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 02-17-2007 , 12:51   Re: Fade Screen on Outside?
Reply With Quote #11

Quote:
Originally Posted by aceofspades View Post
This script from Mc.Fly using mattie eventscripts is able to use a texture overlay in this script without any cheat or cl_restrict_server_command problems so it must be possible:

http://www.youtube.com/watch?v=fUhHPwZUm-w

Just have to figure out how mattie did it.
That video was uploaded in September of 2006, so it was done before cl_rsc was added. I assume he's using r_screenoverlay in a client-command.
L. Duke is offline
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 02-17-2007 , 12:59   Re: Fade Screen on Outside?
Reply With Quote #12

Quote:
Originally Posted by L. Duke View Post
That video was uploaded in September of 2006, so it was done before cl_rsc was added. I assume he's using r_screenoverlay in a client-command.
Code:
es_cexec event_var(userid) r_screenoverlay server_var(BINoverlay)
Ghey
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
aceofspades
Member
Join Date: Aug 2005
Old 02-18-2007 , 09:26   Re: Fade Screen on Outside?
Reply With Quote #13

So, your saying this cant be done?

It sounds like env_screenoverlay can do it but there must be a way to stop it executing on all players.

Is there any alternatives to using a texture overlay to get an effect like this. In hidden source they have an animate refracting effect which is built into CSS and hl2, can this not be used an a pluigin to get the same effect?
aceofspades is offline
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 02-18-2007 , 09:28   Re: Fade Screen on Outside?
Reply With Quote #14

Quote:
Originally Posted by aceofspades View Post
So, your saying this cant be done?

It sounds like env_screenoverlay can do it but there must be a way to stop it executing on all players.

Is there any alternatives to using a texture overlay to get an effect like this. In hidden source they have an animate refracting effect which is built into CSS and hl2, can this not be used an a pluigin to get the same effect?
r_screenoverlay can do it, the problem is cl_restrict doesn't allow it.

I'm just wondering though, shouldn't I just add in a dialog telling users that the command must be set to 0, and it kicks them after a minute if it isn't?

OR

Have the green effect I posted on the ZM forums for players with it at 1, and the cool effect if it's at 0? Their own loss!
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 02-18-2007 , 11:44   Re: Fade Screen on Outside?
Reply With Quote #15



How's that look? Oh and yes, it shimmers ;)

A little video of it in action.
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 02-18-2007 , 13:10   Re: Fade Screen on Outside?
Reply With Quote #16

This is very strange, I can execute it from my console, but if I try and use ClientCommand I get an sv_cheats error message even though I enable it o.O

Or it just doesn't do anything, not even an erro about cl_restrict, any ideas?
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 02-18-2007 , 16:09   Re: Fade Screen on Outside?
Reply With Quote #17

It's probably only checked client-side, where it is marked as a cheat.
L. Duke is offline
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 02-19-2007 , 04:22   Re: Fade Screen on Outside?
Reply With Quote #18

mm but if I remove the FCVAR_NOTIFY flag from sv_cheats and then server exec sv_cheats 1 it doesn't report the cheat message but it doesn't enable the overlay either.

I also tried give ent_overlay and ent_fire which also works in the client console but not if the server executes the command.

I wonder would it be possible to create an env_screenoverlay entity using CreateEntity...
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 02-19-2007 , 10:34   Re: Fade Screen on Outside?
Reply With Quote #19

I've done that in a couple plugins. As far as I've been able to tell, you have to show the overlay to everyone though. You can't target one person.

EDIT: I've messed with this a lot a while back. I wanted to show an overlay to one person so I could use it to display icons on the screen indicating special abilities were available. I never did figure a way to do it, but I did figure out the env_screenoverlay stuff.
L. Duke is offline
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 02-19-2007 , 12:17   Re: Fade Screen on Outside?
Reply With Quote #20

Quote:
Originally Posted by L. Duke View Post
I've done that in a couple plugins. As far as I've been able to tell, you have to show the overlay to everyone though. You can't target one person.

EDIT: I've messed with this a lot a while back. I wanted to show an overlay to one person so I could use it to display icons on the screen indicating special abilities were available. I never did figure a way to do it, but I did figure out the env_screenoverlay stuff.
There has to be one way to do this o.O When you were doing this did you investigate the r_screenoverlay command? It should have worked back then?
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
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 07:35.


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