Skynet: An IADS for Mission Builders - Page 3 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 02-26-2020, 08:30 AM   #21
tigair
Member
 
tigair's Avatar
 
Join Date: Jan 2017
Location: Switzerland
Posts: 133
Default

Quote:
Originally Posted by pmiceli View Post
Those were my quick fixes to get rid of the errors. I have no clue how it affects the totality of the code.

I do hope to look into it more and tweak it to do things I would like.
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-IAD...et-iads-source

This mission contains a build of the single class files:
https://github.com/walder/Skynet-IAD...-developer.miz


Quote:
Originally Posted by pmiceli View Post
At the moment the IADS seems a bit passive. I would like SAM radars to come up more than they do. I flew within 10 miles of an SA10 without it making a peep but I will have to check and make sure there isn't an error there.
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.

Last edited by tigair; 02-26-2020 at 08:38 AM.
tigair is offline   Reply With Quote
Old 02-26-2020, 02:03 PM   #22
pmiceli
Member
 
pmiceli's Avatar
 
Join Date: May 2016
Posts: 253
Default

Quote:
Originally Posted by tigair View Post
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-IAD...et-iads-source

This mission contains a build of the single class files:
https://github.com/walder/Skynet-IAD...-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.
I will be sharing anything I may tweak. Thanks for the references.

I was in a dogfight with 4 Mig-29's over Qeshm Island about 10 miles from an SA-10 battery. After the bandits were dead, I was wondering why the SA10 wasn't interested. I still have not looked to see if I named the battery wrong. More testing required.
__________________
pmiceli is offline   Reply With Quote
Old 02-27-2020, 02:04 PM   #23
tigair
Member
 
tigair's Avatar
 
Join Date: Jan 2017
Location: Switzerland
Posts: 133
Default

could it be that you only added the short range sa10 radar?
tigair is offline   Reply With Quote
Old 02-28-2020, 04:00 AM   #24
prefetch
Junior Member
 
prefetch's Avatar
 
Join Date: Nov 2012
Location: S.E.A.
Posts: 42
Default IADS for Persian gulf

@tigair

this is so great for the Persian Gulf Aggressors vs Defenders missions that i love building using Mig's and 60's usa stuff

With CTLD and IADS all that is missing now is GCI for the Mig's
i know voice GCI would be a huge pain but how about text GCI?

any way THNX for this and i'll be using it for sure and will give you feedback
as it comes


Best Regards,
__________________
prefetch



i7 7700K, Win-8.1(wufuc), DCSW OpenBeta, BS2, SU-25, SU-27, SU-33, Persian Gulf, Bf 109 K-4, Normandy&WWIIassetspack, MiG-21bis, MiG-19P, Combined-Arms, Mi-8MTV2
prefetch is offline   Reply With Quote
Old 02-28-2020, 12:15 PM   #25
tigair
Member
 
tigair's Avatar
 
Join Date: Jan 2017
Location: Switzerland
Posts: 133
Default

Quote:
Originally Posted by prefetch View Post
@tigair

this is so great for the Persian Gulf Aggressors vs Defenders missions that i love building using Mig's and 60's usa stuff

With CTLD and IADS all that is missing now is GCI for the Mig's
i know voice GCI would be a huge pain but how about text GCI?

any way THNX for this and i'll be using it for sure and will give you feedback
as it comes


Best Regards,
Currently I have no plans for GCI, bu who knows. I will try and put together a new build on the weekend. Fixed a few bugs, and Harm defence is almost finished.

I'm looking forward to your feedback!
tigair is offline   Reply With Quote
Old 02-28-2020, 02:32 PM   #26
pmiceli
Member
 
pmiceli's Avatar
 
Join Date: May 2016
Posts: 253
Default

Quote:
Originally Posted by tigair View Post
Currently I have no plans for GCI, bu who knows. I will try and put together a new build on the weekend. Fixed a few bugs, and Harm defence is almost finished.

I'm looking forward to your feedback!
I am looking forward to HARM defense.

My most recent testing with SA-10's encountered no problems so I assume my earlier trouble was a typo on my part.

I am going to explore a method of flagging individual pieces of the system to behave in specific ways. For example, I would like to tell certain parts of the system to fire at long range in order to deter ingress while other parts will wait until enemy units are very close before becoming active and firing. Also, it would be nice to have SAM sites ignore enemy on ingress only to become active on egress.

This would create the ability to funnel attackers into a planned SAM trap.
__________________
pmiceli is offline   Reply With Quote
Old 02-28-2020, 03:10 PM   #27
tigair
Member
 
tigair's Avatar
 
Join Date: Jan 2017
Location: Switzerland
Posts: 133
Default

That sounds cool.

I reworked the internal data structure of the SAM site yesterday, see:
https://github.com/walder/Skynet-IAD...et-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?
tigair is offline   Reply With Quote
Old 02-28-2020, 11:29 PM   #28
tigair
Member
 
tigair's Avatar
 
Join Date: Jan 2017
Location: Switzerland
Posts: 133
Default

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-IAD...-developer.miz
tigair is offline   Reply With Quote
Old 02-29-2020, 02:15 PM   #29
chromium
3rd Party Developer
 
Join Date: Dec 2008
Location: Milan
Posts: 3,529
Default

Have you considered to use inbuilt attributes of units to automatically decide if something is a SAM, EWR, Launcher or else? That would kick out mission editor operations.
__________________

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
chromium is online now   Reply With Quote
Old 02-29-2020, 02:31 PM   #30
pmiceli
Member
 
pmiceli's Avatar
 
Join Date: May 2016
Posts: 253
Default

During testing on my server last night I saw this error

2020-02-29 03:49:16.066 ERROR SCRIPTING: MIST| Error in scheduled function: $1[string "C:\Users\beech\AppData\Local\Temp\DCS.openbeta_server\/~mis000029B5.lua"]:836:


Here is the relevant function
835 function SkynetIADSAbstractElement:getController()
836 return self:getDCSRepresentation():getController()
837 end

The first instance occurred immediately after killing an EWR site. The error continues in the log until the server is paused when empty.
__________________
pmiceli is offline   Reply With Quote
Reply

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 05:24 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.