Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Grim_Fandango

Real Night Vision

Recommended Posts

Hey guys,

Is there a way to define/improve the vision of a unit at night, ie to make a unit completely ignore that it's night?

At the moment my AI are getting to within 20 metres of an enemy formation before actually spotting them, when I can see them at five to ten times that range. I've tried using setViewDistance, but it does absolutely nothing.

Since most western special forces raids are carried out at night, it would be a real shame to change the whole thing into daytime, simply because the units aren't working properly.

I've looked through the forums, but I haven't found anything touching on it.

Share this post


Link to post
Share on other sites

ACE and Zeus AI both change this by quite a bit. Of course giving the enemy NV also helps - even with Zeus AI enemies don't really see past ~50m on a full moon night on an open airfield, and they completely ignore lighting (flares, shadows, ACE flashlights).

Share this post


Link to post
Share on other sites
ACE and Zeus AI both change this by quite a bit. Of course giving the enemy NV also helps - even with Zeus AI enemies don't really see past ~50m on a full moon night on an open airfield, and they completely ignore lighting (flares, shadows, ACE flashlights).

I'll be sure to check out Zeus AI, but what is it those mods do? I'd much rather tool around with it myself.

Share this post


Link to post
Share on other sites

If this is in a MP environment, and you don't care about being nasty, you can execute 'skipTime 12' on the server only so it will be daylight for all the units local to the server ;)

Share this post


Link to post
Share on other sites

Other than when using ACE AI spotting improves while under flare lighting, I don't like the idea of having them "too good". The "perfect value" doesn't exist and might never do. I prefer having to reveal knowledge manually via scripts, rather than trying to artificially make them ignore you.

A "simple" unit1 canSee unit2 check would have been an excellent addition to the list of commands.

Edited by CarlGustaffa

Share this post


Link to post
Share on other sites

Thanks for the replies guys, but it wasn't really what I was looking for.

I've resorted to simply using knowsAbout, it's kinda clunky but it seems like there's no other option available for the moment.

You have to wonder about things like that though. I don't see what purpose it serves to make units, even ones with nightvision, into Mr Magoos.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×