Jump to content
Sign in to follow this  
Polygon

Searchlights or focused lightsources - how to?

Recommended Posts

anything? if not possible, then a similar addon must happen...

Share this post


Link to post
Share on other sites

You could try using either the single or double portable light, attaching it to something, then using the hideobject command. Might work?

Share this post


Link to post
Share on other sites
Where would this "portable light" be in the editor?

nowhere. there's no such object as a portable light, only 4 lights attached on a pole at military bases and all.

Share this post


Link to post
Share on other sites

In ArmA 2 you could use classname #lightpoint (_light = "#lightpoint" createVehicleLocal <position>) to create lights, and then commands like setLightBrightness, setLightAmbient, setLightColor, lightAttachObject etc to adjust them, but as far as I know, they'll be balls of light radiating everywhere instead of focused light sources. Plus I'm not sure if they even work in A3.

Share this post


Link to post
Share on other sites

As magirot said, you can do some stuff with lights in A3 the same way it was in Arma 2. Try spawning on the editor at night on a place with not much lighting, and run something like this on the debug console:

_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]];

Edited by wok

Share this post


Link to post
Share on other sites
nowhere. there's no such object as a portable light, only 4 lights attached on a pole at military bases and all.
Check the config. viewer. It's not as if I'm making it up.

---------- Post added at 08:01 ---------- Previous post was at 07:56 ----------

Here: "Land_Portablelight_Single_F" or "Land_Portablelight_Double_F".

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  

×