OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: laggy on 09 Sep 2008, 14:32:40

Title: Do scripted particles affect AIs vision?
Post by: laggy on 09 Sep 2008, 14:32:40
Hi,

I think the topic title describes my question.

laggy
Title: Re: Do scripted particles affect AIs vision?
Post by: i0n0s on 09 Sep 2008, 14:42:14
"Does any particle affects AIs vision?" should be the answer.
Title: Re: Do scripted particles affect AIs vision?
Post by: Wolfrug on 09 Sep 2008, 14:43:43
As far as I know - no. Sadly. Some addons add invisible "viewblocks" to their particle effects (notable DMSmokeeffects, now under another name I can't remember) which makes smoke actually work against AI - vanilla smoke grenades don't actually work either.

Wolfrug out.
Title: Re: Do scripted particles affect AIs vision?
Post by: laggy on 09 Sep 2008, 14:47:12
Thanks alot,

I'm doing a sandstorm mission, could I affect AIs vision by making the weather worse in the editor (using the sliders for weather), does that work? I have never noticed a difference.

Thanks again

Laggy
Title: Re: Do scripted particles affect AIs vision?
Post by: i0n0s on 09 Sep 2008, 16:09:39
Fog and daytime effect the way the ai reacts. Bad weather shouldn't.
Title: Re: Do scripted particles affect AIs vision?
Post by: Spooner on 09 Sep 2008, 16:27:21
You could just reduce the view distance for everyone in this case, including the AI:
Code: (init.sqf) [Select]
setViewDistance 300;
The player would see the particles flying around and so have poor visibility anyway, so it wouldn't be so obvious to him that the view range was limited artificially.
Title: Re: Do scripted particles affect AIs vision?
Post by: Mandoble on 09 Sep 2008, 16:29:16
What you can try is to detect AI units inside the sand storm and reduce their skill to 0.
Title: Re: Do scripted particles affect AIs vision?
Post by: Mr.Peanut on 09 Sep 2008, 17:47:22
I would try Mandoble's suggestion first. I am doubtful that SetViewDistance effects AI.

edit: just checked Biki and Ceeeb claims it does effect AI since OFP 1.96
Title: Re: Do scripted particles affect AIs vision?
Post by: laggy on 09 Sep 2008, 20:38:58
Thanks all,

I'll keep on building my sandstorm mission and keep your advices in mind.

Laggy