Jump to content

Home

Day to night?


Whitey

Recommended Posts

Posted

Any light entity can be turned on and off, if you make a sun with a light and an info_null, try targetting the sun with a trigger and seeing if it turns it off...that's if it works after compiling because the extra lightmap data could potentially be huge.

 

For a slow fading effect you can apply a _style to the sun but the same error can potentially occur.

Posted

i was thinking something like, you have 6 lights in a room, you give 2 of them a targetname, pick another 2, and give them a targetname, then make a script that uses the first 2, and then add a wait for like 5-10 seconds, and then it uses the next 2, therefore gradually (also messily) decreasing the light. But what wade said will work too... just using a script could be automatic, and it will come on and off.

Posted

We're still a way off having a game that can move the sun across the sky ** as that would require dynamic lightmaps.....possible with vertex lit games of course but vertex lighting is never as smooth as lightmapped texture.

 

**Although the latest video cards fully support this in real time now, visit NVidia.com and view their day to night real time sample video of a high poly gas station.

Posted

well, you can move .efx files around with a script (ive done it) it was my plan for a jetpack in jk2 SP, but well, since ja came out its not really needed. If you made a .efx sun, you could do that, but it would probably kill FPS.

Posted

Ah... to confusing for a newbie map maker like me :D . The reason I was wondering was that I made a map a while ago(battlearena) and I have been expanding upon it... And somehow I changed the sky to a night map.. And I think it looks really cool.. Maybe I should just make it 2 differeent maps, one day, and one night...

Posted

yeah, someone did that with their helmsdeep map, the maps were pretty good too... :whtsmile: if you just want the skybox to change, you could do some scripting to make one sky box invisable, and not invisable... if you know scripting.

Archived

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

×
×
  • Create New...