The Arty Spotter Script was inspired by the use of helicopters as airborne artillery spotters. In DCS (SP) we often identify targets, but we have to engage them ourselves, as the AI wingman will only attack predefined targets.
The intention of the script is to give the (single) player a tool, with which he can identify targets on any map, at any location and have them destroyed.
The script is independent from unit names or any AI assets at all, to provide easy accessibility for everyone. It will work for helicopters and jets with TPODs alike, even with aircraft that rely on Mk I eyeballs.
No AI artillery needs to be placed on the map, thus no worrying about minimum and maximum ranges.
No Mist or Moose required, works with any map and any aircraft.
Added features for Multiplayer use. This version does NOT work in SP!
Enjoy!
The SP version can be found here: https://www.digitalcombatsimulator.com/en/files/3338671/
To mark a target location for the artillery, you can place an empty marker on the F10 map, based either on range and bearing to the target or judging by landmarks.
The marker position will then be interpreted as the target location.
In more modern aircraft, that provide the target coordinate, you can enter a MGRS coordinate into the marker's textfield, this will then override the marker's position and will be used instead.
Once a target location is marked, you request a calibration round via the F10 radio menu. In case the fire is off the target, you can adjust the distance and direction and either request another calibration round or request fire for effect.
To prevent exploitation of the script, a maximum distance from player to target is implemented.
Variables like the ammount of rounds to be fired, radius in which the rounds will impact, the time it takes for the rounds to arrive and the maximum target distance can be changed by the user to his liking.
This is the multiplayer version of my original script.
Additional features for MP are:
+ markers and on screen messages bound to the initiating unit
+ Radio items only visible to the initiating unit's group
+ added optional restrictions to restrict artillery use to only helicopters (or all aircraft), restrict by unit name (a predefined string like "spotter" has to be part of the unit's name to access the artillery)
+ optional marker text prefix (like #arty) to deconflict arty markers from other markers used for navigation etc.
+ added a user flag when artillery has fired, so the MP host for instance can add a cooldown period each time the artillery was used
The script comes with a 8 page PDF manual.