r_fastky question...

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
G3mInI
First Lieutenant
Posts: 187
Joined: Sat Jun 29, 2002 3:49 am

r_fastky question...

Post by G3mInI »

I am testing a server side mod using this bit of script:

Code: Select all

sky: 
	
	while(1)
		{
   	for(local.i=1;local.i<=$player.size;local.i++) 
   		$player[local.i] stufftext "r_fastsky 1" 
		waitframe    
		}

end
Now I have had a person come back to me and say that when they left and played on another server, their sky was all funky. The map they were playing was Remagen. My question is, I know that this loop stuffs that r_fastsky 1 into each players console, but when that map is done or they leave how can I return the r_fastsky cvar back to r_fastsky 0 ?? Or is this really a bad way to mod a stock map ?

G3mInI
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

local

Post by tltrude »

It should just be for "local.player" maybe.
Tom Trude,

Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Na I don't think their is any reliable way to set it back to 0 :(
Image
User avatar
G3mInI
First Lieutenant
Posts: 187
Joined: Sat Jun 29, 2002 3:49 am

Post by G3mInI »

Well thats a bummer. This has not actually happened to me, but is it likely it will happen to people often? The person who had this happen is chronic for having all kinds of issues. In fact he was the same person who sees the smoke on opelgreentruck_d. Seems he always has an issue, but I do see how it would of happened. Just wondering if I will be creating havoc on the server and have to tell everyone on the next map to put r_fastsky 0 in their console.
Post Reply