Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

☖ Forums → Jedi Outcast and Jedi Academy Editing Forum → Outside Lighting
Outside Lighting
2002-04-26, 2:57 AM #1
I've placed a skybox in my level. The skybox appears fully lit, but the outdoor areas are pitch black. I could light it with standard entity lights, but that'll look stupid. Is there any way you can make the skybox emit light? Or can you place brush lights down in the same way that JK's "extralight" sector value worked?

------------------
"Vader's Journey? If I had a hammer and the time, I'd destroy every copy in existence."
Xbox Live/PlayStation Network/Steam: tone217
http://twitter.com/ourmatetone
2002-04-26, 5:09 AM #2
Okay, here's the easiest way I could find to do it. Click on any brush in the level. Press K. Choose the colour you want for your light, click okay. Then press n, the entity window should come up, and worldspawn should be selected in the list, click on where it says _color, and beside where it says key, replace _color with ambient. This will set an ambient light level throughout your map. Hope that helps.

-=/Fabfuzz\=-
2002-04-26, 6:38 AM #3
I tried that... doesn't work I'm afraid. Thanks anyway.

I'll see if there are any Q3 tutorials that will point to a solution.

------------------
"Vader's Journey? If I had a hammer and the time, I'd destroy every copy in existence."
Xbox Live/PlayStation Network/Steam: tone217
http://twitter.com/ourmatetone
2002-04-26, 7:08 AM #4
OK... I've found out that by editing the ambient value to more extreme values makes a difference. I put 75 75 75 in the ambient worldspawn value and it lit up, however, it also lit up all the dark areas indoors. Which is annoying... basically we need to find out how to make a skybox emit light, or get a working sun.

------------------
"Vader's Journey? If I had a hammer and the time, I'd destroy every copy in existence."
Xbox Live/PlayStation Network/Steam: tone217
http://twitter.com/ourmatetone
2002-04-26, 7:46 AM #5
I think if you put one of the sky shaders (example yavin), it will emit light automatically. (not the textures) like yavinbk, yavinup etc, but the one called just yavin, the level I'm working on is lit that way (but it might just be because I have no lights so it puts the lighting level automatically at a certain level), I know that in quake three, half-life etc, skies emitted light, I assume it would work the same way in jk2, might want to try.

-=/FabFuzz\=-
2002-04-26, 7:55 AM #6
Yeah.. that's what I did... the sky is bright, but not the level...

I just checked the shader and found out the one I had had no sun... I selected one that does. I don't know whether it works yet, because this one change has made the level take absolutely forever to compile.

------------------
"Vader's Journey? If I had a hammer and the time, I'd destroy every copy in existence."
Xbox Live/PlayStation Network/Steam: tone217
http://twitter.com/ourmatetone
2002-04-26, 8:24 AM #7
Well.... it complied... took half an hour as opposed to 60 seconds... and it's lit perfectly. Basically, select a skybox with "_light" at the end and it'll light up outside....

------------------
"Vader's Journey? If I had a hammer and the time, I'd destroy every copy in existence."
Xbox Live/PlayStation Network/Steam: tone217
http://twitter.com/ourmatetone
2002-04-26, 8:28 AM #8
What I understand so far...

You can set a default light level but there must be at least one light entity or shader in the map for it to compile right.

Although setting a default light level will light areas that should not be lit, you should be able to work around this by putting light entities with a negative brightness value in the areas that you want to be dark.

↑ Up to the top!