Jump to content
Sign in to follow this  
anusmangler

flood lights in A3 campaign?

Recommended Posts

there's no object like them...unless ive missed them some how? i place down a normal flood light and it doesn't light anything up. I looks light bit no light from it. so i placed one with the portable generator thinking BI took a page from the guy who made then electrical grid thing for arma 2....but still no.....i dont understand. anyone else figure the flood light mystery out?

Share this post


Link to post
Share on other sites

I have no idea what a floodlight is (excuse my ignorance, english is not my main language), but you can create lights like this:

_light = "#lightpoint" createVehicle position player;
_light setLightColor [255,255,180];
_light setLightAmbient [1,1,0.6]; 
_light setLightAttenuation [0.5,0,0,300]; 
_light setLightIntensity 9000;
_light setLightFlareSize 0.5;
_light lightAttachObject [player, [0,5,2]];  

Maybe if you attach it to the floodlight object you placed down and tweak the settings you can get the result you are looking for.

Edited by wok

Share this post


Link to post
Share on other sites

Place an object in the editor that you want to orientate (name the object) and save the mission. Then open the mission.sqm and search for the name you gave the object. Replace the Classname (vehicle="ObjectClassname"; ) of the object with this (vehicle="Land_LampHalogen_F"; ) and you will have a working light. Save the edited mission.sqm and reload the editor. The object you changed the class name on will show up as light on when you hover over it. Test mission.

Hope this helps.

Bis you realy should make every object avalable in the editor as mission makers some of use will use them in interesting ways.

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  

×