Home   Help Search Login Register  

Author Topic: Do scripted particles affect AIs vision?  (Read 1299 times)

0 Members and 1 Guest are viewing this topic.

Offline laggy

  • Members
  • *
  • "Behold a pale horse"
Do scripted particles affect AIs vision?
« on: 09 Sep 2008, 14:32:40 »
Hi,

I think the topic title describes my question.

laggy
« Last Edit: 09 Sep 2008, 14:35:43 by laggy »
And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.

Offline i0n0s

  • Former Staff
  • ****
Re: Do scripted particles affect AIs vision?
« Reply #1 on: 09 Sep 2008, 14:42:14 »
"Does any particle affects AIs vision?" should be the answer.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Do scripted particles affect AIs vision?
« Reply #2 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.
"When 900 years YOU reach, look as good you will not!"

Offline laggy

  • Members
  • *
  • "Behold a pale horse"
Re: Do scripted particles affect AIs vision?
« Reply #3 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
« Last Edit: 09 Sep 2008, 14:59:32 by laggy »
And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.

Offline i0n0s

  • Former Staff
  • ****
Re: Do scripted particles affect AIs vision?
« Reply #4 on: 09 Sep 2008, 16:09:39 »
Fog and daytime effect the way the ai reacts. Bad weather shouldn't.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Do scripted particles affect AIs vision?
« Reply #5 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.
« Last Edit: 09 Sep 2008, 16:29:19 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Do scripted particles affect AIs vision?
« Reply #6 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.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Do scripted particles affect AIs vision?
« Reply #7 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
« Last Edit: 09 Sep 2008, 17:49:31 by Mr.Peanut »
urp!

Offline laggy

  • Members
  • *
  • "Behold a pale horse"
Re: Do scripted particles affect AIs vision?
« Reply #8 on: 09 Sep 2008, 20:38:58 »
Thanks all,

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

Laggy
And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.