-
Posts
199 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by flywaldair (Skynet dev.)
-
Yep, its time to give the scripts a version. It seems you are not using the most resent Version: https://github.com/walder/Skynet-IADS/blob/master/demo-missions/skynet-iads-compiled.lua In Commit: 82a5a91 is the most current one as of 03.03.2020. Oh and the unit test mission is intended for IADS development, not mission building. The unit test mission does not runwith the compiled script but all the single class files in the source folder.
-
Hi Guys, While working on my Skynet IADS Script, I came to the point where I wanted unit tests to make sure I did not break parts of my existing code while adding new features. I adapted LuaUnit to work with DCS, you can view the code and a demo mission here: https://github.com/walder/Skynet-IADS/tree/master/unit-tests I did not write a unit test for my changes :helpsmilie:. basically I rewrote the terminal output to env.info() It writes the output to the dcs.log file located at: \Users\Your Home Directory\Saved Games\DCS\Logs\dcs.log You can use a simple log viewer like https://www.baremetalsoft.com/baretail/ to inspect the output. Learn more about LuaUnit: https://luaunit.readthedocs.io/en/latest/ https://github.com/bluebird75/luaunit
-
In regards to the threat ring: Try setting the unit to hidden on map in the mission editor. (see screen shot) As far I remember should do the trick. Tutorial is on the list :). I may need a few weeks until everything is finished. In the mean time you can drop me a message and I will try and help you as best I can.
-
Thanks I have read about this function in the docs. I curently like the idea that a mission builder can decide if a SAM is part of the IADS or not. However I could ad a simple setup mode with these descriptors. The don't by any way include range? Grimes build a database due to the fact that he could not access range etc. But that was back in 2013.
-
SAM Sites will now act as EW radars, if you give them the corresponding parameter, see: https://github.com/walder/Skynet-IADS#sam-ew This function is not yet in the compiled script. You can use it in the test mission: https://github.com/walder/Skynet-IADS/blob/master/demo-missions/in%20development%20dont%20use/skynet-test-persian-gulf-iads-developer.miz
-
That sounds cool. I reworked the internal data structure of the SAM site yesterday, see: https://github.com/walder/Skynet-IADS/tree/master/skynet-iads-source I am planing on a fire distance option, e.g. 100%, 90%, 80% of the zone in which a SAM can fire. With the new structure I can add that at one place with 2-3 Lines of code. HARM Defence will be bad ;-). I calculate the impact point of the missile or bomb, if it's within 100 m of the SAM it will go dark. I think this will be more realistic than just an if (HARM) do.. The IADS stores a global track file per contact, that gets updated with the last time seen. You could also store the route a contact took. Maybe you can use that for an ingress / egress calculation?
-
Until the in game IADS arrives check out my IADS script for DCS: https://forums.eagle.ru/showthread.php?t=264586 https://github.com/walder/Skynet-IADS
-
Feel free to join the development ;-). In case you haven't seen it the single class source files are located here: https://github.com/walder/Skynet-IADS/tree/master/skynet-iads-source This mission contains a build of the single class files: https://github.com/walder/Skynet-IADS/blob/master/demo-missions/in%20development%20dont%20use/skynet-test-persian-gulf-iads-developer.miz Could it bee that you were notching in redards to the EW radar? Or that you where in a valley? I nocticed that the EW radars can't see you in such situations, so they can't inform the SAM site. You can add debug information on what contacts the EW radar sees: https://github.com/walder/Skynet-IADS#debug-information In general the SAM site will become live when a target is within firing range. I fixed the log error, thanks for letting me know.
-
At the moment no, since they would get no information about targets in their area. I will most likely add an option for a SAM site to always be on, so it can act as an EW radar and SAM site at the same time. I believe the S-300 is used that way. I also have visual spotting on my list, so if a sam site would visually spot a target it would go live. There's also a fallback mode when SAM sites loose connection to the IADS, see: https://github.com/walder/Skynet-IADS#the-autonomous-mode-options-are