OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: FlyingDuck on 09 Aug 2006, 00:52:31

Title: Snipers don`t fire at long ranges
Post by: FlyingDuck on 09 Aug 2006, 00:52:31
When I use a sniper in my mission he doesn`t fire at a long range. when I`m a sniper and I zoom in I can take out soldiers at very big distances. but the sniper doesn`t do that. Is there a script for let the sniper shoot at very long ranges. I hope you can help me.

tnhx
Title: Re: Snipers don`t fire at long ranges
Post by: dmakatra on 09 Aug 2006, 02:22:17
Well, there's a number of things you can do. I've probably forgotten most of it because I haven't been scripting for well over a year.

1) Max the skill of the sniper.
2) Add binoculars to the sniper.
3) Reveal the targets. Check out the command reveal in the ComRef.
4) Use spotters in the same group as the sniper. If you're really nasty you can have the spotter(s) someplace entirely different, like closer to the target than the sniper. Just make sure he isn't detected.
5) Put the sniper on a guard waypoint. I have no fecking idea if that helps, but OFP AI is at it's best when on a guard WP. ;D
Title: Re: Snipers don`t fire at long ranges
Post by: macguba on 11 Aug 2006, 14:21:58
Snipers can and do fire at long ranges.     Armsty's tips will help.     However, sometimes you just need to wait.    If the target is moving around constantly in sight of the sniper, the sniper will eventually figure out that he has a target and fire.

Check that the sniper's view is not obscured.   Try various terrain detail and quality settings, they might be having an impact.
Title: Re: Snipers don`t fire at long ranges
Post by: Baddo on 11 Aug 2006, 14:46:18
Number four from dmakatra's tips is a very good one, I think. Because it is pretty effective! Be carefull, you can make very hard missions with snipers and these tips  ;D I know that from getting killed many, many times (too many) while testing a mission of my own.
Title: Re: Snipers don`t fire at long ranges
Post by: FlyingDuck on 11 Aug 2006, 21:57:59
Thanks for the tips
they helped very much
Title: Re: Snipers don`t fire at long ranges
Post by: DeathFromAbove on 19 Jul 2008, 12:02:46
BTW it does don't work it also depends on the weapon the AI is using. Some addons allow for the AI to fire at longer ranges and more often.
Title: Re: Snipers don`t fire at long ranges
Post by: h- on 19 Jul 2008, 12:26:22
Why dig up threads that are almost 2 years old..
Title: Re: Snipers don`t fire at long ranges
Post by: DeathFromAbove on 20 Jul 2008, 01:49:14
Why keep those threads then? Thought it was a board where people like to add on to information (i.e. references) instead of having a thousand of the same.
Title: Re: Snipers don`t fire at long ranges
Post by: schuler on 20 Jul 2008, 02:18:19
hi DeathFrom, those posts are saved for searching information. it is best to start a new post or answer a new one.
for all we know the individual whom started this thread is dead or in a prison in Mexico or maybe even crashed his duck.  :dunno:

cheers schuler