OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: pexmo on 14 Jan 2005, 16:20:48

Title: Increasing ai attack range?
Post by: pexmo on 14 Jan 2005, 16:20:48
Is there a way to inc. the range that the ai engaged you at (fires at you). The machingunners do this al the time. But the regular riflemen dont seem to fire at you from longer ranges. Can editing the (not exactly sure of the name) aifiremoderange in weapon configs fix this?
Title: Re:Increasing ai attack range?
Post by: THobson on 14 Jan 2005, 16:36:44
I am not sure it works for oedinary riflemen, but giving snipers binoculars seems to help them.
Title: Re:Increasing ai attack range?
Post by: Wadmann on 14 Jan 2005, 17:12:05
Quote
Can editing the (not exactly sure of the name) aifiremoderange in weapon configs fix this?

Yes, but I am not sure how to do it. Look for Cheeky Monkey's Extended Range (ER) Weapons Pack on some of the OFP sites and that should give your soldiers some additional engagement range. I would also recommend taking a look at Unnamed's Observer and Mortar Pack available in the Addon Beta (?) topic here at OFPEC. If your units cannot see their targets, they will not engage them at longer distances! ;)

                                                 Wadmann
Title: Re:Increasing ai attack range?
Post by: General Barron on 14 Jan 2005, 18:51:26
Quote
If your units cannot see their targets, they will not engage them at longer distances!
Exactly. Scroll down this thread and look for my attatchment config that does just that:

http://www.ofpec.com/yabbse/index.php?board=14;action=display;threadid=21171