Whitey Posted November 29, 2003 Share Posted November 29, 2003 Is it possible to use triggers to change the map from day to night? like fliping a switch to change it.. Link to comment Share on other sites More sharing options...
WadeV1589 Posted November 29, 2003 Share Posted November 29, 2003 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. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted November 29, 2003 Share Posted November 29, 2003 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. Link to comment Share on other sites More sharing options...
WadeV1589 Posted November 29, 2003 Share Posted November 29, 2003 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. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted November 29, 2003 Share Posted November 29, 2003 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. Link to comment Share on other sites More sharing options...
WadeV1589 Posted November 30, 2003 Share Posted November 30, 2003 It would be a dynamic light, not only would it kill FPS like you said but it also would not cast shadows. Link to comment Share on other sites More sharing options...
Whitey Posted November 30, 2003 Author Share Posted November 30, 2003 Ah... to confusing for a newbie map maker like me . 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... Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted November 30, 2003 Share Posted November 30, 2003 yeah, someone did that with their helmsdeep map, the maps were pretty good too... 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. Link to comment Share on other sites More sharing options...
Whitey Posted November 30, 2003 Author Share Posted November 30, 2003 I can't figure out how to make an elevator... so I doubt I could do that... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.