Jump to content
Sign in to follow this  
oniellnz

Turning BTR-90 HQ and Tunguska Lights Off

Recommended Posts

I am working on a mission at night that needs the lights for all vehicles turned off.

Currently I have code to damage the light for most vehicles...

_v setHit ["L svetlo", 1]; _v setHit ["P svetlo", 1];
_V setHit ["svetlo gunner", 1];_V setHit ["svetlo commnader", 1];
_v setHit ["gunner light", 1];_v setHit ["commander light", 1];

This works for almost every vehicle except the BTR 90 HQ, and the Tunguska.

I have gone through the config files for these, and even had a look at the .p3d files with a hex editor to try and figure it out. No luck.

Please help, as the AI keeps on leaving the lights on and ruining our night vision.

Edited by oniellnz

Share this post


Link to post
Share on other sites

this setcombatmode "aware";

in units ini and aware in all waypoints should do the trick as long as the crew has NVG.

There is usually no need for a script doing that unless you are up to something special.

Share this post


Link to post
Share on other sites
this setcombatmode "aware";

in units ini and aware in all waypoints should do the trick as long as the crew has NVG.

There is usually no need for a script doing that unless you are up to something special.

I had tried that, and it never worked... But I realised my Base Tunguska only had a gunner. As soon as I put a driver in the vehicle, it suddenly worked (or as in this case, the lights went out).

Thanks for your help.

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  

×