Jump to content

flywaldair (Skynet dev.)

Members
  • Posts

    199
  • Joined

  • Last visited

Posts posted by flywaldair (Skynet dev.)

  1. On 2/10/2021 at 9:02 PM, Toothless said:

    Hi! 

    How can I turn off debug info (any info on clients screen)? 

    I made this:

      Reveal hidden contents

    do
    redIADS = SkynetIADS:create('UAE')
    redIADS:addEarlyWarningRadarsByPrefix('EW')
    redIADS:addSAMSitesByPrefix('SAM')
    commandCenter = StaticObject.getByName('Command-Center')
    redIADS:addCommandCenter(commandCenter)
    redIADS:getSAMSites():setGoLiveRangeInPercent(70)
    local sa15 = redIADS:getSAMSiteByGroupName('SAM-SA-15-PD_EW_EAST')
    redIADS:getEarlyWarningRadarByUnitName('EW-east'):addPointDefence(sa15)
    local sa151 = redIADS:getSAMSiteByGroupName('SAM-SA-15-PD_B1')
    redIADS:getSAMSiteByGroupName('SAM-SA-11-3'):addPointDefence(sa151)
    redIADS:setupSAMSitesAndThenActivate(80)
    end

    And script shows me this info: 

    message.PNG

    Check the debug settings: https://github.com/walder/Skynet-IADS#setting-debug-information

  2. Thanks for your Feedback Frago007.

     

    Skynet stumbles when Units are removed or added in the manner you described. I have put some thought in to adding an autogenerate that would behave similar to as you described.

     

    But it may take some time until I am at that point. There is still al ot of stuff in the backlog I want to add first, see:

    https://github.com/walder/Skynet-IADS/projects/1

     

     

    If you want to be up to date on Skynet, join the discord Server:

    https://discord.gg/CgwJnt

  3. Im sure the unit exists as Im copy and pasting its name from the ME into the script. I think its all a little beyond my simple Mancunian brain TBH :-). Im sure there will be a dot or dash or bracket Ive stupidly missed somewhere.

     

    BTW - THANK YOU for this- even in the forms I can get it to work (eg basic IAD set and with Air Dispatcher) it adds a lot to my enjoyment of DCS.

     

     

    You're welcome! By the way if you need support join the Skynet discord channel:

    https://discord.gg/vkDfe5

     

    It's easier to share missions there. It might well be that there is a bug in the command center part. I am currently rewriting the radar coverage code to get rid of micro stutters in large multiplayer issues. And some where on the backlog is the command center code.

     

    I'm 1/2 Mancunian and was able to write an IADS, im sure you will be able to wrap your head around the more advanced setup features :thumbup:

  4. Hi

     

    Im struggling more than 1 command centre to work. If I use just one the IADS behaves as expected and the requested degug behaves perfectly. If I add a second, the IADS seems to behave as expected by there is no debug information. The only thing that appears is the header with no further details.

     

    Ive set the code out various ways. Any help greatly appreaciated.

     

    Heres how, in general ive been setting it out:

     

    local commandCenter = StaticObject.getByName("HQ 266th AAMB Poti")

    redIADSPOTI:addCommandCenter(commandCenter)

     

    local commandCenter = StaticObject.getByName("HQ- 643rd AAMB Gudauta")

    redIADSPOTI:addCommandCenter(commandCenter)

     

    Ive also tried:

     

    local commandCenter = StaticObject.getByName("HQ 266th AAMB Poti")

    local commandCenter = StaticObject.getByName("HQ- 643rd AAMB Gudauta")

    redIADSPOTI:addCommandCenter(commandCenter)

     

    I originally wanted to have three discrete areas (POTI, GUDAUTA and TIBLISI) but ive given up on that as muliple iterations just seem to activite the first and ignore the rest.

     

    Thanks

     

    Did you check possible error messages in the dcs.log? Seems like you are referencing a unit that does not exist.

  5. We've got a mission where the Moskva is in, which can only be recognized by IADS as an EWR. However, it's loaded with cruise missiles and engages our CVBG.

     

    I've tried writing an exception, but I think it's crossed between being a SAM and an EWR, so the SAM commands won't work on it and vice versa.

     

    Any thoughts, aside from just deleting the ship?

     

    [color=#B9BBBE][font=Consolas]
    [/font][/color]
    [font=Arial][size=2]local moskva = redIADS:getEarlyWarningRadarByUnitName ('RED EWR moskva')  
    [/size][/font][font=Arial][size=2]
    if moskva then 
    
    moskva:setEngagementZone(SkynetIADSAbstractRadarElement.GO_LIVE_WHEN_IN_KILL_ZONE):setGoLiveRangeInPercent(10) 
    
    end[/size][/font]
    

     

     

    For the moment ships can only be used as EW radars. I use the AI on off feature to turn SAM sites on and off. Unfortunately that does not work for ships. Maybe at a later date I will add some workaround for ships.

×
×
  • Create New...