Page 1 of 1

Removing sky..?

Posted: Tue Jul 04, 2006 8:04 pm
by Barttje
Image

how can I remove the day light sky into black or something? :roll:

Posted: Tue Jul 04, 2006 10:03 pm
by Ophisâ„¢
on a map your making or a stock map?

Posted: Tue Jul 04, 2006 10:37 pm
by lizardkid
you can try using a different sky...

if its on a stock map night mod you'll need to assign a cvar to players' configs that's considered a hack and looks terrible, and they wont know how to get rid of it.

Posted: Wed Jul 05, 2006 4:45 am
by Barttje
It's Remagen, isn't it level.farplane because I don't know if there is a different between $world farplane and level.farplane... :? does somebody know the different and maybe to change the sky..?

Posted: Wed Jul 05, 2006 5:30 am
by Axion
You could use this as a global .scr and execute it in your main script file- I think it should work, although it does play around with cvars, which probably makes it an impractical solution:

Code: Select all


night:

setcvar "night" "1"

while(1)

{
while((getcvar "night") == "") 

{wait 1}

if(int(getcvar "night") == 1) 

{
local.player = $player[local.i]
local.player stufftext ("r_fastsky 1")

$world farplane 6000
$world farplane_color ( 0 0 0 )

wait 3
}

else

{

local.player = $player[local.i]
local.player stufftext ("r_fastsky 0")

$world farplane 99999
$world farplane_color ( 0 0 0 )

setcvar "night" "" 
} 
}

end

Posted: Wed Jul 05, 2006 2:01 pm
by Barttje
Tnx he's doing it now :) but do you or is it possible to remove the sun too?

Posted: Wed Jul 05, 2006 6:46 pm
by cardevsan
Sun can't be removed Server side.....
Clientside its kinda a cheat....

So answer on Removing Sun from Stock maps...

NADA!!!!!

Posted: Wed Jul 05, 2006 10:13 pm
by Barttje
okeey, tnx all for your good help :P :)