Page 1 of 2

light...

Posted: Wed Oct 29, 2003 1:11 pm
by Asgard
Well I noticed that levels in mohaa never have light thingies there is just light everywhere on the map even on the V2 how do I make my map like this ? its an entity but how :s

pls tell me what do

thanks in return

Posted: Wed Oct 29, 2003 1:15 pm
by smartaiguy
Ambient light

In Radiant press "n" with nothing selected, and in worldspawn find the key box and type "ambientlight" press enter to go to the value and type "20 20 20" (Higher numbers=more light, vice versa), then press enter. It's pretty easy

Posted: Wed Oct 29, 2003 1:18 pm
by Bjarne BZR
set key/value ambientlight/10 10 10 on worldspawn. :)

Posted: Wed Oct 29, 2003 1:20 pm
by smartaiguy
Bjarne BZR wrote:set key/value ambientlight/10 10 10 on worldspawn. :)
yep, higher numbers get you brighter light. These are % of RGB so if you want some red light do 20 0 0, green 0 20 0, etc.

Posted: Wed Oct 29, 2003 4:14 pm
by Guitarfan
if you have a daylight (outdoor) map I would also use sunlight, looks nicer :)

Posted: Wed Oct 29, 2003 4:34 pm
by Asgard
its part outside but mostly underground, i'll post it when i think it is ready
but don't get your hopes up i'm a true n00b ,)

Sky

Posted: Wed Oct 29, 2003 6:36 pm
by tltrude
By now you should have a sky box for your map. The brushes that make it up are part of the worldspawn entity. Select one of them and hit key N. Then add the following Key/Values.

suncolor 60 60 60 // full daylight is 70 70 70.
ambientlight 17 17 17 // over 17 makes white things very, very bright.
sunflarename none // unless you want a blinding light in the sky (only in some skys).
farplane 13000 // sets the distence of fog from the player, if you want it.
farplane_color .6 .6 .7 // red, green, and blue colors 0 to 1 (gray fog).

There are other settings for worldspawn and you can see them in the gray box of the entity pop up, but you don't have to set them all.

Posted: Wed Oct 29, 2003 10:23 pm
by Guitarfan
if you don't use sunflares you don't get shadows right? cause I always use sunflares and sundirection

Posted: Wed Oct 29, 2003 11:52 pm
by smartaiguy
Guitarfan wrote:if you don't use sunflares you don't get shadows right? cause I always use sunflares and sundirection
mmm...maybe you don't but the sunflares gives you that nice glare effect when you look at the sun, the little circles.

Posted: Thu Oct 30, 2003 1:20 am
by smartaiguy
smartaiguy wrote:
Guitarfan wrote:if you don't use sunflares you don't get shadows right? cause I always use sunflares and sundirection
mmm...maybe you don't but the sunflares gives you that nice glare effect when you look at the sun, the little circles.
Hmm..quoting myself...anywho check out Yarik's pic in his sig that's an example of the sun flare effect.

sunflare none

Posted: Thu Oct 30, 2003 1:20 am
by tltrude
Opps, its "sunflarename none". The sunflare does not cast shadows, it only blinds the players that look in that direction.

Re: sunflare none

Posted: Thu Oct 30, 2003 1:21 am
by smartaiguy
tltrude wrote:Opps, its "sunflarename none". The sunflare does not cast shadows, it only blinds the players that look in that direction.
Yes it also does that to

* :D Yeah, 200th post!! :D *

Posted: Thu Oct 30, 2003 5:12 pm
by Guitarfan
well, then the shadows are from sundirection :)
I always use key: sundirection, value: -60 90 0

Posted: Thu Oct 30, 2003 5:25 pm
by Jack Ruby
Crunch made a great tute on sundirection and such, check it here...

http://www.freewebs.com/crunch/tutorials.htm

Posted: Thu Oct 30, 2003 9:52 pm
by smartaiguy
Guitarfan wrote:well, then the shadows are from sundirection :)
I always use key: sundirection, value: -60 90 0
Yes

You can also use both sunlight for the outside and ambientlight for the underground bits.