Jump to content
Sign in to follow this  
pipyn1970

Light up HQ building

Recommended Posts

Hi guys, i'm trying to light a HQ building so i can have a briefing for a night mission & i was wandering what way is best to do it. The floodlight aint doing nothing for me.

cheers

Share this post


Link to post
Share on other sites

Put the below into the init of a Sphere 10cm or any invisible object like the grasscutter etc. There's some additional parameters you might want to google but these work just fine for basic lighting:

lightF = "#lightpoint" createVehicle position this; lightF setLightBrightness 0.3; lightF setLightAmbient[0.3, 0.3, 0.3]; lightF setLightColor[1, 1, 1]; lightF lightAttachObject [this, [0,0,0]];

Edited by Surfer

Share this post


Link to post
Share on other sites

As a quick heads up to the OP: this essentially creates a lightbulb. You'll need to position the sphere into the right place.

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  

×