daytime to nighttime
Moderator: Moderators
daytime to nighttime
hey guiys just wondering how i can remove or darken some light to make DV a nighttime map instead of daylight.....i tried the $world_farplane color and the farplane but all i got was more fog and diff colored fog never darkened for me.....maybe is it farplane_light or something?....ive looked thru the ambient and some other map files couldnt find anythign though but i saw it on a server a while back....thx in advance
laterz
Tazz
laterz
Tazz
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Code: Select all
$player stufftext "set r_fastsky 1"-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
i tried all the ways yall were sayign and with a 10,000 farplane i got nothing but a little it darker looking map...tinted not darker but when i change the farplane to like 700 then made the 0 0 0 color i got the desired effect...although the sky is still light it is heavily shaded and u cant see but about 45ft in front of u which it looks like night so thanks guys....also to let u know it doesnt matter if u stufftext or not i get the same result with or without the stufftext...nothing different
Code: Select all
$player stufftext "set r_fastsky 1"
$world farplane 700
$world farplane_color (0 0 0)
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
ok i just figured this out playing with the setcvar cmd....this works and i didnt have to type it in console when i entered either to see it....heres my code for what i hope to be the permanent fix
check this out and see if it works for ya too.....thanx again for the help with this
Code: Select all
setcvar "r_fastsky" "1"
$world farplane 3500
$world farplane_color (0 0 0)check this out and see if it works for ya too.....thanx again for the help with this
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
This will only work for you and only if you host the game locally.
You need to stufftext set r_fastsky 1 to all clients that join the game, it really is the only way to make it work. The easiest way to achieve this effect is to have an infinite loop that stuffs the text to all clients at an interval of, say, 30 seconds. So the proper way is:
You need to stufftext set r_fastsky 1 to all clients that join the game, it really is the only way to make it work. The easiest way to achieve this effect is to have an infinite loop that stuffs the text to all clients at an interval of, say, 30 seconds. So the proper way is:
Code: Select all
thread nightsky
nightsky:
$world farplane 3500
$world farplane_color (0 0 0)
while(1) {
$player stufftext "set r_fastsky 1"
wait 30
}
endnot sure bout mohaa but i would guess it would be the same as spearhead.When setting
setcvar "r_fastsky" "1" in one map ,when ya get to the next map if its a daytime map it makes the sky look weird.I guess its due to the fact it puts it in ya unamed soldier.cfg...and it doesnt clear unless ya set "r_fastsky" "0" before going to next map or quit the game.
setcvar "r_fastsky" "1" in one map ,when ya get to the next map if its a daytime map it makes the sky look weird.I guess its due to the fact it puts it in ya unamed soldier.cfg...and it doesnt clear unless ya set "r_fastsky" "0" before going to next map or quit the game.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
The setcvar script command sets the cvar on the server. The server does not make any use of r_* cvars at all, since they're associated with the renderer. Therefore using it to set r_fastsky to 1 is totally ineffective on dedicated servers, and on locally hosted ones only the player who's hosting will get the effect.
There's just no way it could work without stufftexting to all clients. If it works for you, you probably have r_fastsky set to 1 in your config.
There's just no way it could work without stufftexting to all clients. If it works for you, you probably have r_fastsky set to 1 in your config.

