Turn lights off

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Faceball
Colour Sergeant
Posts: 83
Joined: Mon Dec 09, 2002 9:32 am

Turn lights off

Post by Faceball »

Is it possible to script a light switch to turn lights off and on?

Or can you script a light to be shot out?


Thx for any insight
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

1)Yes, that's possible. Go to TMT tutorials to find out.

2)You should be able to do that if they have a destroyed light bulb. You can use the "exploder" method. And clip it with glass clip.
Live to map, not map to live.
-mohaa_rox, .map
moderator
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

How to make shootable triggers -----> /forum/viewtopic.php?t=2040

Note that the dynamic lighting of mohaa is rather poor.
Image
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

I wrote a tutorial covering lights. Check it out here.

Took me almost a week straight to get working lights but it was all worth it. I created something that nobody else had seen in the game before. Still trying to come up with new things too. Definently a challenge.
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Post by Desert Eagle »

I am currently working on a TOW map with lights and triggers. It is set up so that when power supply destoryed, all coronas and light enities are removed, just leaving the static model, and then the back up generator starts and back up emergency lights come on. I just gave the coronas and light enities and emergency lights targetnames and do it all with scripting.
Desert-Eagle
....The Eagle Has Landed...
Post Reply