Delta Force Barracks Forums

Turning the sun off

kacha=ftw= - 2-10-2004 at 01:24 PM

Anoshi,

this may be a dumb question but how do you turn the sun off? Is in possible in a WAC file? I messed around with the sun settings with little effect. I would like to use a day environment but get rid of the sun or at least tone it down. Any other details on this would be appreciated.

thanks in advance.

K=ftw=

Eagle_Eye - 2-10-2004 at 01:38 PM

Copy and paste this into your text ed...have a play..

;TOD Test
;
;sun # # # sets sun rgb ENV override
;sky # # # sets sky rgb
;ground # # # sets ground rgb
;lightning # # # sets the color of the lightning
;cloud # # # sets the cloud color
;gain # # # sets the brightness of the whole scene
;skyfogcolor # # # set fogcolor to R,G,B (same as fogcolor)
;fogcolor # # # set fogcolor to R,G,B, changes in 1 second
;fogtype # set fog type 0=fog, 1=haze, 2=haze wall, 3=fog wall
;fogdist # sets fogdist to # meters (same as set(fog,#)
;

;************** Time of Day Change Fade to Night **************






if never and past 2 then ;Must occur after 1 tick or else will click to settings upon mission start

colorfade 1200 ;Time (in seconds, MAX 3600 = 1hr) to fade to settings below (Default 0)

cloud 6 6 6
skyfogcolor 4 4 4
fogcolor 8 8 8
fogtype 2

sunfade 100 120

colorfade 0 ;Reset Time variable to avoid resetting other mission event

colorfade 900

sun 2 2 2
sky 8 8 8
ground 2 2 2

colorfade 0



endif




Regards
EE

kacha=ftw= - 2-10-2004 at 03:11 PM

Hey EE,

thanks for the quick response. That was some very useful info. Especially the sunfade command.

take care,

K=ftw=

anoshi - 2-11-2004 at 11:48 AM

good show eagle eye :cool:

Eagle_Eye - 2-11-2004 at 12:04 PM

Thanks mate...still can't fill your shoes thou mate..

anoshi - 2-12-2004 at 04:56 PM

ever seen me try to skin an ah-6?

trust me, you don't know your own value eagle eye! ;)

Eagle_Eye - 2-12-2004 at 06:50 PM

Yeah, I suppose....I get spread pretty thin sometimes...now with the new EXP incoming, there's a heap of new stuff to do..items to make, skin...maps etc..still need your knowledge...If I actually U2U'd you every time I scatched my head with some of the problems here..You'd still be reading them...LOL..I've almost lost my Cool a few times this week....Repeating myself...over..and over...

chrislew200 - 2-12-2004 at 09:51 PM

i agree eagle if you notice i aint posted this much due to the failure of bt. but anyway as you will notice i no longer post replies twice in a row cause i find it agrivating after the 20th time.

Note: im am wondering at this time if eagle is now bald. because if i scratched my head each time i was trying to work something out i would have a dip in my skull.

Extra Note: did anyone notice that the note was the near enough the same size as the actual message i posted and that this extra note will be around the same size as the last note.

HumanTarget - 2-12-2004 at 10:44 PM

lol chris. yeah very noticable now that u point it out to us mere plebs :P

Day to Night

KRULL*GP - 2-13-2004 at 08:40 AM

Thanks for the information on the day to night settings. Anoshi, it was good seeing your name in BHD/TS map rating again. And I hope better maps are created from your comments.

Thanks,
KRULL

What about from Night to Day?

BoyTigas - 8-20-2004 at 01:27 PM

I've seen one, but it didn't work.
Could someone post a working wac commands for changing Night to Day on this thread?
Thanks.

BT

Well...

-Hawkeye- - 8-20-2004 at 10:51 PM

Just an idea, but: might one be able to set Colorfade properties to negative...giving the same effect as colorbrighten (which I assume doesn't exist)? I would assume that, starting with a night map, you couldn't use any Sun settings as the sun doesn't appear on-screen.

joselz - 8-21-2004 at 09:05 AM

Quote:
Originally posted by BoyTigas
I've seen one, but it didn't work.
Could someone post a working wac commands for changing Night to Day on this thread?
Thanks.

BT


if never then
fogcolor(38,34,56)
fogdist(270)
fogtype(3)
skyheight(42)
endif

if never and past 2 then ;Must occur after 1 tick or else will click to settings upon mission start

colorfade 300 ;Time (in seconds, MAX 3600 = 1hr) to fade to settings below (Default 0)

cloud 240 240 240
skyfogcolor 112 111 96
fogcolor 116 116 98

sunfade 100 600

colorfade 0 ;Reset Time variable to avoid resetting other mission events

colorfade 600 ;Reset Time variable to avoid resetting other mission events

sun 98 75 63
sky 93 95 84
ground 47 47 47

colorfade 0 ;Reset Time variable to avoid resetting other mission events

endif

This was located in the SPBHD_19.WAC inside the Localress.pff.
J.L.

BoyTigas - 8-22-2004 at 12:38 AM

Muchas Gracias! Senor josel :)

I'll try it right now. brb.

Night and dark, but not TOO dark

davesnow - 8-25-2004 at 09:03 AM

There is one setting for night that is totally dark. How would I set my settings (!) to make it dark, but not totally dark. Like I'd want to be able to see my HAND in front of my face, but I don't want to have to set fog distance to make it appear dark.