point me to the post about lightning color

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
General_DisArray
Warrant Officer
Posts: 142
Joined: Tue Dec 17, 2002 4:17 am
Location: magnolia, texas

point me to the post about lightning color

Post by General_DisArray »

i know i saw a post about changing the color of the lightning!
where oh where has it gone? please point me oh gods of the forum.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Polythe?sm

Post by jv_map »

Image
User avatar
General_DisArray
Warrant Officer
Posts: 142
Joined: Tue Dec 17, 2002 4:17 am
Location: magnolia, texas

Post by General_DisArray »

i appreciate that.

but i meant lightNing. not lighting. i have read all of those posts. very helpful..

but i was wondering about realistic lightNing. my flashes are sort of blue. not bright white or even gray. does suncolor and ambientlight contribute to the color of lightNing or does the color of my skybox?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Ops misread that :oops:.

If you're using global/weather.scr, your flash colour will always be 0.9 0.9 0.9, where 1 1 1 is white and 0 0 0 is black.

If it looks blue it's either your monitor or your graphics card that does so :roll:
Image
User avatar
General_DisArray
Warrant Officer
Posts: 142
Joined: Tue Dec 17, 2002 4:17 am
Location: magnolia, texas

Post by General_DisArray »

is the .9 .9 .9 is that inputed into the worldspawn or is that just automatic when using the rain texture?

and if it is inputed into the worldspawn, how can you change the default?
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

The color is set in 'weather.scr', it temporarily sets the world farplane color to this value which is obviously white, during the flash, 90% as bright as it can get. After the flash, it restores the world farplane color to the level farplane color, which is set by the initial world farplane color. This is interesting to know, because if you set the level farplane color and use the 'weather.scr', what you enter for the level farplane color will never be used.

To change the color of the lightning you would have to write your own weather script.
Post Reply