Jump to content

Home

Sun


epikon

Recommended Posts

I dont know how, or if its even possible, to make a visible sun in JA, but you can emulate sunlight.

 

1) Place a normal light entity anywhere on your map.

 

2)Give it a Key/Value of "_sun 1"

 

3)Place an info_null in the map oriented around the light entity in the direction you want the sunlight to go. i.e. If the null is directly below the light, the sunlight will shine straight down. In radiant, under the info_null's entity properties, check the box that says "light".

 

4)Give the light entity a target and the null entity a targetname. Doesn't matter what, they just have to be the same. This can be done in radiant by pressing ctrl-k with both light and null selected.

 

5)Set the color of the sunlight by using Key "_color" and normalized rgb values. That would be the rgb value divided by 255. White light is 1 1 1, black is 0 0 0, blue is 0 0 1, etc. You can also set color in radiant by pressing K with the Light entity selected.

 

6)In worldspawn, make a Key/Value of "_noshadersun 1"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...