Integrated Air Defense Script - ED Forums


Thread Tools Display Modes
Old 12-24-2013, 08:16 AM   #1
Beta Tester
Grimes's Avatar
Join Date: Jan 2006
Location: Black Mesa
Posts: 8,129
Default Integrated Air Defense Script

The goal of this script is to enhance AI sam behavior as its one of the more obvious and useful features of the scripting engine. I've been working on it for a year now, and I'm sorry I've teased that I've been working on it for so long. Its taken way longer than it should have, but I guess that is what happens when your focus goes elsewhere whether it be mist, testing, or watching Star Trek on Netflix.

Documentation for the script is available here:
More thorough documentation will be added in the coming days.

How to use:
Script requires Mist v4 or higher to be initialized first.
Use a trigger to either run script or script file.

Use either iads.add() or iads.addByPrefix() to add sam sites to the iads network.
Both functions have one required variable and 1 optional variable.

Script should run fine with DCS World 1.2.6 or greater.

I do not consider this script to be 100% complete and I will eventually add more capability to it. However I feel it is functional enough to put out there for you guys to play with and give feedback on, but I have other reasons.

1. I started working on the script on 12/23/12 (23/12/12 for most of the world) and dabbled on it for a while until putting many many hours into it over the summer. I came close to releasing it but I discovered it wasn't releasable, since August I have avoided working on it until recently when I realized it would soon be a year since I started, so I have pushed to release it before the end of the year.

2. The script is open source and I welcome anyone who wants to modify it to whatever extent they want to add more features. Documentation of what all of the existing functions do will be available here:

3. I want to focus more on mist and other projects.

Attached are the script and a simple mission with lots of sams and 8 Su-25Ts with a SEAD payload. There is also a screenshot of what debug messages will look like. It is not recommended to leave turn that on for a normal game.

Tested in multiplayer in 1.2.6 with up to 110 sams and 100 AI targets and 2 clients. No noticeable synchronization issues occurred, but your mileage may vary with different mixes of clients and other AI within the mission.

Re-uploaded the sample mission to be updated for use in 1.5. Also updated the script due to a known scripting engine bug.

1/17/2019: Updated it to include SA-2 and Rapier information. Also removed debugging by default.
Attached Thumbnails
Click image for larger version

Name:	Screen_130725_042742.jpg
Views:	4419
Size:	208.3 KB
ID:	92068  
Attached Files
File Type: miz iads_sample.miz (109.8 KB, 279 views)
File Type: lua script_iads_r1_1_rev37.lua (97.9 KB, 711 views)
The right man in the wrong place makes all the difference in the world.
Current Projects: Scripting Wiki, Something...
Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD for DCS 1.5/2.0, IADScript, Mission Editing Wiki!, Mission Building Forum

Last edited by Grimes; 01-17-2019 at 11:07 PM. Reason: HARM release
Grimes is offline   Reply With Quote
Old 12-24-2013, 09:30 AM   #2
Senior Member
Join Date: Feb 2011
Location: Italy
Posts: 1,420

Amazing.... THX...
<a href=;topic=17112.0;attach=7646;image target=_blank>;image</a>
Gaanalma is offline   Reply With Quote
Old 12-24-2013, 09:52 AM   #3
ED Community Manager
BIGNEWY's Avatar
Join Date: Aug 2011
Location: UK
Posts: 22,012

Thanks for sharing Grimes
Community Manager Eagle Dynamics
On vacation until 14th August

Windows 10 Pro x64, NVIDIA MSI RTX 2080Ti VENTUS GP, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 32GB DDR @3000, ASUS ROG Strix Z490-F Gaming, TM Warthog, Jet provost rudder pedals, VIVE Cosmos

BIGNEWY is offline   Reply With Quote
Old 12-24-2013, 10:23 AM   #4
Raf's Avatar
Join Date: May 2013
Posts: 124

Mhhh, I'm thinking about adding a new tag in the auto-script for this.
Raf is offline   Reply With Quote
Old 12-24-2013, 11:23 AM   #5
Join Date: Nov 2007
Posts: 302

Thank you very much for this script and sharing it.
joker62 is offline   Reply With Quote
Old 12-24-2013, 01:25 PM   #6
mwd2's Avatar
Join Date: Aug 2010
Location: Germany
Posts: 3,308

Uhhhiii, another tool, thanks Grimes for sharing.
Waiting for:DCS: Mi-24 Hind, ...
Intel i5-7600K @4.1GHz, 32GB DDR4 @2400MHz, GTX 1070 Gigabyte Gaming OC 8GB DDR5, WIN 10 64Bit Prof.

Squadron "Serious Uglies"


mwd2 is offline   Reply With Quote
Old 12-24-2013, 01:34 PM   #7
Community Manager
NineLine's Avatar
Join Date: Feb 2011
Location: BC, Canada
Posts: 25,630

Very nice!
Nick Grey - "I have had the privilege of flying most marks of Spit, the I, V, IX, XIV, XIX and enjoyed working with Eagle to make this simulation of the IX the 'mutt's nuts'."
Artist formerly known as SiThSpAwN
Forum RulesForum Rules Guidelines
ED Facebook PageED YouTube PageWags YouTubeMy YouTube • My Discord - NineLine #0440
**How to Report a Bug**
NineLine is offline   Reply With Quote
Old 12-24-2013, 02:16 PM   #8
ENO's Avatar
Join Date: May 2012
Location: Okotoks, Alberta
Posts: 3,484

Awesome grimes... looking forward to trying it out!
Type in anger and you will make the greatest post you will ever regret.

"Sweetest's" Military Aviation Art
ENO is offline   Reply With Quote
Old 12-24-2013, 03:00 PM   #9
Beta Tester
graywo1fg's Avatar
Join Date: Sep 2005
Location: Norfolk, Nebraska, USA
Posts: 1,798

Fantastic work buddy! Congrats on release This should be stickied
graywo1fg is offline   Reply With Quote
Old 12-24-2013, 03:12 PM   #10
Join Date: Nov 2004
Posts: 3,490

Sounds very interesting. Could you elaborate a bit more what the script does, tactics and procedures that are employed? Did you find a way to get better control over engagements of specific targets? That has been the number one reason why I didn't touch radar SAMs yet.
MBot is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:50 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.