Update of radar mesh and bugfixes
This release features a rewrite of the radar mesh code. Previously when a single unit in the IADS was destroyed the complete radar mesh was rebuilt. In missions with a large number of SAM sites this could lead the script to conduct radar units * radar units of comparisons. In a mission with 100 SAM sites this would result in 10'000 comparisons, possibly causing micro stutters.
Due to this update some SAM sites may now show up as autonomous when adding the new version of Skynet. This is based on the improved radar mesh code. Previously these SAM sites where incorrectly interpreted as being in range of an EW radar.
The script now only builds the radar mesh once when the IADS is activated or when a new unit is added at runtime. When an existing radar unit is destroyed only its parents and children are informed, therefore reducing the number of loops in the code.
New features:
- command centers now support connection nodes, think of this as being an up stream to all connected radars
- updated debug output for command centers
- added latest mist script (4.4.90)
Bug Fixes
- function name in readme.md corrected to masterArmSafe()
- updated readme.md better explaining why SAM site must be in single group with no other units that don't belong to the SAM site
- AWACS no longer causes stutters when first position update has been conducted. Will now update after it has moved 10 nm. Previously update occurred at 1/10th of detection distance of AWACS.
- SAM site that had a missile in the air would not go dark if it lost its power source
- potential nil call error messages fixed when debug tried to access name or type of radar unit
So far over 200 hours of work went in to the development of Skynet.
If you like using it, please consider a donation: