Miss_Stalker Posted November 24, 2002 Share Posted November 24, 2002 Map type: MP Editor: GTKRadiant I want to make a light which dims and turns back on after a few secs. Can you do something like this in jk2? Please tell me yes I havent been able to make anything which I wanted so far. Link to comment Share on other sites More sharing options...
Dragarius Posted November 24, 2002 Share Posted November 24, 2002 I would think this would be possible with a script for the light. I haven't tried it and am very new to scripts, but it seems well within the bounds of what scripts do. Something along the lines of (psuedocode - not to be quoted for a working script) Set light value low Wait a bit Set light value high And with the PARMs for each light entity set (say min and max values) every light could have a different brightness, and a different lower light level and all use the same script. Again, this is theory based on my reading of the ICARUS manual and not field tested. Dragarius Link to comment Share on other sites More sharing options...
Gideon Posted November 24, 2002 Share Posted November 24, 2002 Do you want it to go on again at a TIMe or when somebody eaches a certain PLACE??? If it's time I think you can use some sort of trigger, thn again, I'm nor really the expert on triggers and stuff Link to comment Share on other sites More sharing options...
Wes Marrakesh Posted November 24, 2002 Share Posted November 24, 2002 http://richdiesal.jedioutcastmaps.com/ Go to the tutorial on dynamic lights... enjoy Link to comment Share on other sites More sharing options...
Miss_Stalker Posted November 25, 2002 Author Share Posted November 25, 2002 thanks everyone can you make that for mp too tho? cuz lots of things were taken out of mp from sp like the tutorial on that site says but I dont know whether it was taken out or not Link to comment Share on other sites More sharing options...
Dragarius Posted November 25, 2002 Share Posted November 25, 2002 Actually (with more reading) I'm not sure a script will work in MP. I would suggest using two light entities at the same place and trigger one to turn on and off. If you want a timer on it (without a script) you could try using a door. Say, a 1 x 1 x 1 FUNC_DOOR under the floor and trigger the 'door'. The 'door' can trigger light off when activated and light on when done. The delay would then be the move time including waits of the 'door'. Again, I haven't tried this and given the limitations I have seen with MP it may not work just because of that. Link to comment Share on other sites More sharing options...
Wes Marrakesh Posted November 26, 2002 Share Posted November 26, 2002 Scripts WILL NOT work in MP. Dinamic lights should. Link to comment Share on other sites More sharing options...
Tigris Posted November 26, 2002 Share Posted November 26, 2002 Dinamic Lights DO work. Just use the styles. Link to comment Share on other sites More sharing options...
wedge2211 Posted November 26, 2002 Share Posted November 26, 2002 Originally posted by Dragarius If you want a timer on it (without a script) you could try using a door. Say, a 1 x 1 x 1 FUNC_DOOR under the floor and trigger the 'door'. The 'door' can trigger light off when activated and light on when done. The delay would then be the move time including waits of the 'door'. Ick. Don't do that. Instead, use a target_delay...The target_delay get targeted by something, then waits a certain amount of time, then fires its targets. If you're interested in timing events, there is a func_timer that fires its targets every few seconds. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.