OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: laggy on 02 Feb 2009, 23:04:06
-
Hi all,
Sorry if this is in the wrong place, but I didn't know where else to post.
Does anyone share my experience that AI units are really useless in terms of vision/perception at night?
Even with NVgoggles?
In a hostage mission I wanted the hostages to be "unharmed" until released by the player, I put a setCaptive true in their init and then setCaptive false when they were released... but they where never fired at. >:(
As a test I setCaptive myself and ran around the enemy AI a lot.
With a Radio trigger I then did setCaptive false on myself and the AI just wouldn't shoot me, even when I stood 1 inch away from their face. :dunno:
They didn't react until I added a doFire command on myself.
This never happened in OFP.
Same thing during daytime worked as wanted of course.
What's your input on this?
Laggy
-
You could try to use the command reveal.
-
Yes try the reveal click here (http://www.ofpec.com/COMREF/index.php?action=details&id=272)
and also try the
knowsabout command knows about (http://www.ofpec.com/COMREF/index.php?action=details&id=176)
I know there's a way around that, but I'll look more.. :)
---------
NOTE
---------
Also it may depend how close you are to the enemy soldier at night. Well I'm sure you know that, but night time is really hard to see if you don't have NV..
-
Another thing you could try is raising the skill and/or the rank (yes, the higher the rank the smarter the unit).
-
Thanks guys,
I know all that, what I wondered is if you also have found the AI to be ridiculously stupid?
I stood literally ONE inch away from the AI sticking my gun in his face and he still wouldn't fire at me, not until I added the doFire command.
Wonder if this is a game engine "bug" that kicks in after you have been setCaptive true and then setCaptive false. You shouldn't need to "help" the AI to see and behave realistically.
Laggy
-
This is really strange. Are they in "safe" mode?
-
Yeah I've run multiple tests recently and have concluded AI without NV goggles won't notice you, me and my mates simply ran into a patrol patrol path, and watched them walk by us; however then one with NVGoggles spotted us and we got shredded.
But none the less, they can say about as relatively as well as you can at night with 1.0 gamma and brightness settings. Pitch black. :whistle:
-
Not in safe mode, but aware AND with NVgoggles.
Laggy
-
Weill if they don't have the NV it is correct that they won't spot you. But usually the fire team leader or the squad leader has NV, so he will be able to spot you, be sure the squad has one.
#EDIT: No need to quote the entire previous post you're replying to h-