Jump to content

SNAFU

Members
  • Posts

    772
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by SNAFU

  1. Moin Sauerkraut, Try&Error more or less. I usually use 6,5° depression for a base altitude of 12k ft, 40° dive and a release altitude of 3k ft. I start the roll in usually at 250-270KIAS, but that doesn´t matter that much if you end up at corner speed during release. In this case I knew that I had moderate winds from north (dynamic weather, but I checked the wind sock at the training range), so I just tried roughly 2° less than I usually use with no wind. Turned out to be ok with my estimation. Don´t remember the values in the manual though, I once started with the real life manual, but couldn´t get where I wanted, so I made my own tests and ended up with the one setting I have the best results.
  2. I know, but would interesting for testing. For me just exchanging Patriots with Hawks did a big step forward, maybe you find your main curse.
  3. I think it is still related to SAM systems. You might just remove all SAM Radar Units and check if the 3 second lag is still existing. Maybe it comforts you that it is not only 1.5.7 or 1.5.8, it`s the same in 2.2 and I guess will be the same in 2.5. ;)
  4. Genau. Entweder als Ground Commander und/oder über ein Zusatztool namens LotATC.
  5. Hängt auch so ein bisschen von der personalstärke der Gruppe ab. Wenn man mal jemanden hat der nicht fliegen kann/will und sich zum Beispiel in der Tower setzt, gewinnt das ganze noch eine zusätzliche Dimension. Hier hat sich bei einem Training bei uns ein RL Pilot als ATC eingesetzt: Ab 2:10 Wird es interessant: (Radioeffekte habe übertrieben nachjustiert)ich
  6. Die meisten scheren sich nicht um die Bedürfnisse der online Community sondern wollen einfach nach Feierabend mal abschalten und eine Runde drehen und Spass haben. Dabei eine schöne Graphik haben und ein Schadens Modell oder ein Feeling wie es andere Sims nicht bieten. Dafür ist die Kiste ideal. Wem FC3 zu umständlich ist u d die T51 zu kompliziert... voila hier ist dein Modul. Clevere Entscheidung um in DCS reinzukommen.
  7. Thanks for the replies. Now I am home at a keyboard again, without build in german grammar correction of my mobile... I am looking for the SetQuadronGrouping and will try this. From the description I understood this function deals single-ship flights as group for tasking, but not from formation point of view. But your description clarifies it and I will try this. Thanks.
  8. I understood the Overhead differently from the description. Can I enforce 2 ship CAPs and GCI flights die example in combat spread with this function? I always had independently operating single ships in the CAP zones whatever the Setting.
  9. Could anybody Please give me a hint how to enforce 2ship flights. So far every Flight i can create is a solo flight. Thanks.
  10. Die MiG hat keinen Tanklevelanzeiger der dir den Füllstan anzeigt. Lediglich ein Treibstoffdurchflussmessgerät welches aufsummiert und quasi rückwärts läuft. Dein Crewchief stellt dir nur am Anfang den Wert ein der in den Übergabepapieren drin steht. :smilewink:
  11. Thanks, I ve noted and thanks for the Heads up. Was more directed as note for EntropySG.
  12. In our mission template we have over 1300 units in the NTTR, many scripts using MIST and MOOSE also above 80 clients slots and for training all kinds of SAM systems on red side. It runs smooth as long as the Patriot systems on blue side remain inactive. Activate the Patriot Radar and we have a small freeze every second with 50+FPS. Replace the Patriot SAM on blue with a HAWK SR we do not have any freezes. The stutter caused by the radar is proportional to the total amount of units on the map I would bet.
  13. Thanks for the info. I have no replace the Patriot SAM units with a single HAWK SR and the stutters are gone. So I guess it must be one of the patriot units.
  14. I have just discovered a maybe related issue in the current 2.1.1.9006 release. I have 60+ FPS but a stutter every second or so. I have EWR 1L13 and 55G6 systems on the red US AGGR side and SAM Patrio ICC and EPP-II, ECS AN/MSQ-104, AMG AN/MRC-137 and HAWK TR AN/MPQ-46 on blue US side acting as EWR. When I delete the US group the stutters are gone. Will try to find out which of these units cause the stutter and report this for the 2.1 section.
  15. Hi Gromit, works as advertised. Thanks for the great script btw. ;) Didn´t notice that you changed the name of the functions somewhere along the change from 1.07 to 1.11. That was the cause for my trouble.
  16. Hi Gromit, thanks for taking a look. Did you test this with your modification? Before I tried it and since it didn´t work I added the messages for debugging to find out where the script stops. I didn´t notice the :call for the new() function. Since it didn´t work out for me with your original example luas I am not so optimistic, but will try your correction.
  17. Looks like Gelendschik to me?
  18. The AI getting slow and low is not related to MOOSE or any other script, it`s DCS core which is bugged. Breaks many DLCs and makes mission involving flying AI redundant at the moment.
  19. Hi Gromit, do you experience trouble in 1.5.7 with the call: :setCountry(country.id.RUSSIA)-- USA or whatever no response in your missions? For me it doesn´t work anymore and my scripts stop at this line, while they worked previously. Just tried your latest 1.11 version here with the same results. Do you have a clue what might be the reason for this?, PS: I cannot get your examples to work anymore, too. I atteched the miz. file where I try to use your random units example. Here the script stops at :useRandomUnits() attempting to get a Nil value. I atteched your examples.miz file below with the random units lua example. example-1_11randomunits.miz
  20. Ich denke das ist nicht die Frage, wie das generell geht, sonder wie das mit Gebäuden geht. Die JTAC AI kann so weit ich weiß nur aktive Einheiten als Ziele erkennen und keine statischen Gebäude (kann mich aber täuschen). Workaround wäre eine Einheit (wie z.B. Infantrie-Mörser der ist schön unscheinbar) auf oder in das Gebäude stellen, so daß der AI JTAC das Gebäude beleuchtet.
  21. Meiner bisherigen Erfahrung scheint es ziemlich random zu sein. Ich habe das auch, wenn ich alleine auf einem Server bin, den ich selber stelle. Manchmal nicht.
  22. Ohne irgendwas an der Mission zu ändern habe ich wenn ich sie als Host spiele unspielbare Micro-Ruckler bei 60-70FPS. Manchmal dann wieder alles flüssig. Wenn ich die Mission als Client auf deinem Server spiele oder im Singleplayer habe ich keinerlei Ruckler. ... willkommen bei DCS... :pilotfly:
  23. Nevermind, the incomplete task was indeed the issue. The task taken from mist.getGroupData() caused a crash, too. So I just used an empty task as described above.
  24. Sure: --MISSION I: INTERCEPT HELI MISSION GENERATION heliAImissiongroupnametable = {} heliAImissiongroupnametable[1] = {groupname = "__helihuntmissiontemplate1"} heliAImissiongroupnametable[2] = {groupname = "__helihuntmissiontemplate2"} heliAImissiongroupnametable[3] = {groupname = "__helihuntmissiontemplate3"} heliAImissiongroupnametable[4] = {groupname = "__helihuntmissiontemplate4"} heliAImissiongroupnametable[5] = {groupname = "__helihuntmissiontemplate5"} heliAImissiongroupnametable[6] = {groupname = "__helihuntmissiontemplate6"} heliAImissiongroupnametable[7] = {groupname = "__helihuntmissiontemplate7"} heliAImissiongroupnametable[8] = {groupname = "__helihuntmissiontemplate8"} spawnedmissionheliAItable = {} heliinterceptmissionAICounter = #spawnedmissionheliAItable helihuntwaypoints = {} helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Ambrolauri", endzonename = "Zestafoni"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zestafoni", endzonename = "Ambrolauri"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Kobuleti", endzonename = "Poti"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Poti", endzonename = "Kobuleti"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Batumi", endzonename = "Poti"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Poti", endzonename = "Batumi"} helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zugdidi", endzonename = "Tsageri"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zugdidi", endzonename = "Poti"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Poti", endzonename = "Zugdidi"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Senaki", endzonename = "Kobuleti"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Kobuleti", endzonename = "Senaki"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Ambrolauri", endzonename = "Senaki"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Senaki", endzonename = "Ambrolauri"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Tsageri", endzonename = "Senaki"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Senaki", endzonename = "Tsageri"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Dzhvari", endzonename = "Senaki"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Senaki", endzonename = "Dzhvari"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Gori", endzonename = "Zestafoni"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zestafoni", endzonename = "Gori"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zestafoni", endzonename = "Senaki"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Senaki", endzonename = "Zestafoni"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Chiatura", endzonename = "Gori"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Gori", endzonename = "Chiatura"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Chiatura", endzonename = "Tsageri"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Tsageri", endzonename = "Chiatura"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Tsageri", endzonename = "Zestafoni"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zestafoni", endzonename = "Tsageri"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Tsageri", endzonename = "Dzhvari"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zestafoni", endzonename = "Dzhvari"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Chiatura", endzonename = "Dzhvari"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Zugdidi", endzonename = "Kobuleti"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Kobuleti", endzonename = "Zugdidi"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Tsageri", endzonename = "Zugdidi"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Kobuleti", endzonename = "Dzhvari"}-- helihuntwaypoints[#helihuntwaypoints +1] = {startzonename = "Dzhvari", endzonename = "Chiatura"} local heliAInumber = math.random(1,2) local j = math.random(1,#heliAImissiongroupnametable) local heliAIintrudergroupname = heliAImissiongroupnametable[j].groupname local helimissionAIgrouptable = {} helimissionAIgrouptable = mist.getGroupData(heliAIintrudergroupname) local heliinterceptmissionAItype = helimissionAIgrouptable["units"][1]["type"] local heliinterceptmissionAIskin = helimissionAIgrouptable["units"][1]["livery_id"] local heliinterceptmissionAIskill = helimissionAIgrouptable["units"][1]["skill"] local heliInterceptMissionAIcountry = helimissionAIgrouptable["countryId"] local heliAImissiontask = helimissionAIgrouptable["task"] heliinterceptmissionAIpayload = mist.getPayload(heliAIintrudergroupname) local helispeed = 50 heliinterceptmissionAICounter = #spawnedmissionheliAItable + 1 local helirouterandomizer = math.random(1,#helihuntwaypoints) local randomheliAIspawnzonename = helihuntwaypoints[helirouterandomizer].startzonename heliinterceptmission = trigger.misc.getZone(randomheliAIspawnzonename) heliinterceptmissionpos = {} heliinterceptmissionposx = heliinterceptmission.point.x + math.random(heliinterceptmission.radius * -1, heliinterceptmission.radius) heliinterceptmissionposz = heliinterceptmission.point.z + math.random(heliinterceptmission.radius * -1, heliinterceptmission.radius) local heliinterceptmissionAIspawnalt = math.random(heliminAIspawnaltitude,helimaxAIspawnaltitude) local heliinterceptmissionAIgroupname = 'Mission I:'..heliinterceptmissionAItype..' #:'..string.format(heliinterceptmissionAICounter) local heliinterceptmissionAIPatrolpointstable = {} heliinterceptmissionAIPatrolpointstable[1] = { ["alt"] = heliinterceptmissionAIspawnalt, ["type"] = "Turning Point", ["action"] = "Turning Point", ["alt_type"] = "RADIO", ["formation_template"] = "", ["ETA"] = 0, ["airdromeId"] = 1, ["y"] = heliinterceptmissionposz, ["x"] = heliinterceptmissionposx, ["speed"] = helispeed, ["ETA_locked"] = true, ["task"] = heliAIwaypointtask, ["speed_locked"] = true, } local randomheliAIwaypointzonename = helihuntwaypoints[helirouterandomizer].endzonename randomheliAIwaypointzone = trigger.misc.getZone(randomheliAIwaypointzonename) local randomheliAIwaypointzoneposz = randomheliAIwaypointzone.point.z + math.random(randomheliAIwaypointzone.radius * -1, randomheliAIwaypointzone.radius) local randomheliAIwaypointzoneposx = randomheliAIwaypointzone.point.x + math.random(randomheliAIwaypointzone.radius * -1, randomheliAIwaypointzone.radius) heliinterceptmissionAIPatrolpointstable[2] = { ["alt"] = heliinterceptmissionAIspawnalt + math.random(heliinterceptmissionAIspawnalt * -0.2, heliinterceptmissionAIspawnalt * 0.2), ["type"] = "Turning Point", ["action"] = "Turning Point", ["alt_type"] = "RADIO", ["formation_template"] = "", ["properties"] = { ["vnav"] = 1, ["scale"] = 0, ["angle"] = 0, ["vangle"] = 0, ["steer"] = 2, }, -- end of ["properties"] ["ETA"] = 230.54689194991, ["y"] = randomheliAIwaypointzoneposz, ["x"] = randomheliAIwaypointzoneposx, ["speed"] = helispeed, ["ETA_locked"] = false, ["task"] = heliAIwaypointtask, ["speed_locked"] = true, } heliinterceptmissionAIPatrolpointstable[3] = { ["alt"] = heliinterceptmissionAIspawnalt, ["type"] = "Turning Point", ["action"] = "Turning Point", ["alt_type"] = "RADIO", ["formation_template"] = "", ["ETA"] = 0, ["airdromeId"] = 1, ["y"] = heliinterceptmissionposz, ["x"] = heliinterceptmissionposx, ["speed"] = helispeed, ["ETA_locked"] = true, ["task"] = heliAIwaypointtask, ["speed_locked"] = true, } local heliinterceptmissionAIPatrolunitstable = {} if heliAInumber == 1 then heliinterceptmissionAIPatrolunitstable = { [1] = { ["alt"] = heliinterceptmissionAIspawnalt, ["heading"] = 0, ["livery_id"] = interceptmissionAIskin, ["type"] = heliinterceptmissionAItype, ["psi"] = 0, ["onboard_num"] = "10", ["parking"] = 1, ["y"] = heliinterceptmissionposz, ["x"] = heliinterceptmissionposx, ["name"] = heliinterceptmissionAIgroupname, ["payload"] = heliinterceptmissionAIpayload, ["speed"] = helispeed, ["unitId"] = math.random(9999,99999), ["alt_type"] = "RADIO", ["skill"] = heliinterceptmissionAIskill, }, -- end of [1] } elseif heliAInumber == 2 then heliinterceptmissionAIPatrolunitstable = { [1] = { ["alt"] = heliinterceptmissionAIspawnalt, ["heading"] = 0, ["livery_id"] = heliinterceptmissionAIskin, ["type"] = heliinterceptmissionAItype, ["psi"] = 0, ["onboard_num"] = "10", ["parking"] = 1, ["y"] = heliinterceptmissionposz, ["x"] = heliinterceptmissionposx, ["name"] = heliinterceptmissionAIgroupname, ["payload"] = heliinterceptmissionAIpayload, ["speed"] = helispeed, ["unitId"] = math.random(9999,99999), ["alt_type"] = "RADIO", ["skill"] = heliinterceptmissionAIskill, }, -- end of [1] [2] = { ["alt"] = heliinterceptmissionAIspawnalt, ["heading"] = 0, ["livery_id"] = heliinterceptmissionAIskin, ["type"] = heliinterceptmissionAItype, ["psi"] = 0, ["onboard_num"] = "11", ["parking"] = 2, ["y"] = heliinterceptmissionposz +50, ["x"] = heliinterceptmissionposx + 50, ["name"] = heliinterceptmissionAIgroupname.." #2", ["payload"] = interceptmissionAIpayload, ["speed"] = helispeed, ["unitId"] = math.random(9999,99999), ["alt_type"] = "RADIO", ["skill"] = heliinterceptmissionAIskill, }, } end local heliinterceptmissionAIdata = { ["modulation"] = 0, ["tasks"] = { }, -- end of ["tasks"] ["task"] = heliAImissiontask, ["uncontrolled"] = false, ["route"] = { ["points"] = heliinterceptmissionAIPatrolpointstable, }, -- end of ["route"] ["groupId"] = math.random(10000,99999), ["hidden"] = false, ["units"] = heliinterceptmissionAIPatrolunitstable, ["y"] = heliinterceptmissionposz, ["x"] = heliinterceptmissionposx, ["name"] = heliinterceptmissionAIgroupname, ["communication"] = true, ["start_time"] = 0, ["frequency"] = 124, } coalition.addGroup(heliInterceptMissionAIcountry, Group.Category.HELICOPTER, heliinterceptmissionAIdata) I guess this is related to a missing task? Since I wrote "heliAiwaypointtask" in the route table, but defined it above as "local heliAimissiontask". Will test it in the evening. This worked before 1.5.7 strangely.
×
×
  • Create New...