Jump to content
Sign in to follow this  
Darkhorse 1-6

Changing the color of a light

Recommended Posts

Is it possible to change the color of a light via an action menu entry in an addon?

eg: I have a hangar with normal, white, indoor lighting. I want to have a button/switch built into the model that when used/activated by an action menu entry, changes the color of the light from white to red.

Is this possible?

Share this post


Link to post
Share on other sites

Only way may be with a HIDE animation and 2 lights.

Think you can see already what I'm going to say .....

- 1 light point(s) red

- 1 light point(s) white

- USER action animation, hides some point, unhides the others

Hiding light points works on vehicles, assume it will also work on Buildings.

		class LightHide
		{
			type ="hide";
			source="UserLight";
			selection="LightHide";
			hideValue = 0.1;
		};
		class Light_1_Hide: LightHide
		{
			selection="light_Source1";
		};
		class Light_2_Hide: LightHide
		{
			selection="light_Target1";
		};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×