POST EDITED WITH NEW VERSIONGreetings all :wave:. Here is a script that is very cool, if I do say so myself. This script allows AI infantry to shoot ANY indirect fire weapon and hit a specific location on the ground. It works best with slow-moving weapons like launched grenades, 'mortars' (rifle grenades), etc; although technically it could work with rockets and even bullets. There is just one small catch: you have to do a little bit of work to let the script work with each weapon. However, I've made that process as painless as possible (instructions are included).
Basically, it is like CoC's UA, only for infantry, if you know what UA is. You can adjust the accuracy (impact radius) of the shot--the script can put the round within a couple of meters of the target every time, if you wish.
The base script (inf_IF_launch.sqs) only does the above. It is up to other scripts to determine where/when/who to launch the grenades, so the script is very flexible for other scripters/editors to use. For example, I have written a script that allows the player to order his squad's grenadiers to fire by clicking on the map, which is included in the demo. This script could also easily be used like an artillery barrage script, by having a group of AI target a pre-determined position via a trigger (example also included in demo). Or this could be used by an AI script (not included), and so on and so forth.
Included in the download is a demomission, the tool to acquire data for other weapons, and instructions for that tool. The demomission gives you a few targets which you can order your squad to shoot. It also has an AI squad behind a hill, which you can order to bombard a pre-determined location by using the radio. Instructions on how to use the script is at the top of the script.
This script was made possible by Soultaker's
"Indirect fire with all kind of vehicles" tutorial (although the process was slightly modified; ask me if you want an explaination).
The script requires Lester's Invisible Targets addon (which everyone should have anyway, since it is so darn useful).
[url removed]inf_IF_test.zip]DOWNLOAD THE SCRIPT & DEMO HERE[/url]