Jump to content
Sign in to follow this  
mankyle

Problam setting markerlights in a model

Recommended Posts

I'm working on a ship model and I have added in the memory LOD a couple of points for markerlights (you know, like the position lights, I'm not talking about reflectors). They are correctly named in the memory LOD and referenced in the config.cpp like this:

class MarkerLights {
		class RedStill {
			name = "modry pozicni";
			color[] = {1.0, 0.1, 0.1, 1};
			ambient[] = {0.1, 0.01, 0.01, 1};
			brightness = 0.01;
			blinking = false;
		};

		class GreenStill {
			name = "zluty pozicni";
			color[] = {0.1, 1.0, 0.1, 1};
			ambient[] = {0.01, 0.1, 0.01, 1};
			brightness = 0.01;
			blinking = false;
		};
	};

But the don't work ingame

Any clues?

Share this post


Link to post
Share on other sites

I recently got this figured out. It would help to see the actual config part of the ship that has class MarkerLights in it. Also, I don't know if it's "better" but you don't need to use czech names for the lights to work.

Anyway it depends what base class you're inheriting from or if you made your own base class.

Share this post


Link to post
Share on other sites

interested how this turned out for you. I am wworking with the program thats not allowed to be named here and am having trouble gettings lights to work and reflect of wall correctly.

Share this post


Link to post
Share on other sites

There's a "program thats not allowed to be named here"? Isn't saying that more or less naming it, assuming others know of it?

Share this post


Link to post
Share on other sites
.....

But the don't work ingame

Any clues?

One simple Question:

Did you turn your mission to night time?

You can only see them from dusk till dawn.

And they are not shown in Buldozer.

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  

×