Jump to content

buur

Members
  • Posts

    119
  • Joined

  • Last visited

About buur

  • Birthday 09/27/1976

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. it is really helpful to know the ships speed. If you set the ship in the mission editor make yourself a note in the briefing. Or use Moose Airboss. There you get the necessary information in the F10 Menu.
  2. Hallo folks, we have in the mission editor the possibility to show the position of sun and moon over horizon. But when you want to set up a cool lightning in dusk or dawn you need also the position below the horizon. I have attached a picture which shows the different kind of darkness referring to the degree below the horizon. I think it would be a easy improvement to show also the -90° vertical axis in mission editor.
  3. Yesterday I start searching for such a program and now it is here. thank you.
  4. Today I fly a mission and the initial point was on the CAS page. At the moment I have no idea why but will have a eye on this problem and report any ideas.
  5. Add a new version: Now the scrip will not recognize late activated units. The script finds now EWR script in first post is actualized
  6. I can read out the MIST database with mist.getGroupData to get information like frequencies. But when the planes are late activated, there are no information in the MIST database. Is there a way to refresh the database to get this informations?
  7. When JTAC send a nine liner with an IP (initial point) the IP is not shown on the CAS page.
  8. If you add an EWR in mission editor the EWR has the callsign from the JTAC. When you contact the EWR you get the answer from an AWACS callsign. If you use a JTAC callsign which not correspondents to an AWACS callsign the EWR is broken. Axeman → Overlord Darknight → Magic Warrior → Wizzard Pointer → Focus Eyeball → Darkstar Moonbeam → EWR not working Whiplash → EWR not working ...
  9. I'm working on a small script that will show the AWACS and JTAC frequencies. Maybe you give it a try.
  10. @zildac your right, the liveries must not on the server but on the clients.
  11. ok, I got the problem. At the moment the script breaks when you use the spawn command from Moose. Background is that the spawn command creates a new group. If Arco-1 is your template, Moose will create a new Group called Arco-1#001. These group does not exist in the mist database. I have to think about a good solution for that.
  12. Hi @mike5cents, unfortunately I have not the Mods of the Iowa Class, HH-60 and Project Defender by Admiral189. Can you provide a Mission without mods?
  13. no, there is nothing special. Can you send me your mission please so I can check?
  14. Hello everybody. I've created a little script that automatically add additional information like frequencies or TACAN to the F10 Menu. At the moment it works for AWACS, JTACS and Tanker. Usage is simple: Load the script at the mission start after loading MIST. At the moment it works only for the blue coalition but it is easy to switch it to the other coalitions. This script works not with late activated units or units that are spawned by a script. Maybe it is helpful for somebody. Edit: 2022.06.12: added version 0.2 -- ServiceProvider v0.2: a script by buur. It provides radio and other stuff from servic provider like tanker, AWACS or FAC -- ToDo: FARPS and Carrier. JTACs with more than one target will have several entries for their own position -- Changelog: protect Tanker, AWACS again late activated units. (not shown in mist database); EWR Radars are added function infoAWACS() local msg = {} msg[#msg + 1] = "AWACS\\EWR:" msg[#msg + 1]='\n' local ServiceProvider = coalition.getServiceProviders(2 , 1 ) if next(ServiceProvider) ~= nil then do for ke,val in pairs(ServiceProvider) do if ServiceProvider[ke]:getCallsign() then callsign = ServiceProvider[ke]:getCallsign() else callsign = "N/A" end local nametype = ServiceProvider[ke]:getTypeName() msgstr = nametype.." "..callsign.." " local ServiceProvider = ServiceProvider[ke]:getGroup():getName() local groupServiceProvider = mist.getGroupData(ServiceProvider) local routeServiceProvider = mist.getGroupRoute(ServiceProvider , true) Modulation = {[0]="AM", [1]="FM"} if groupServiceProvider["frequency"] then -- get the values from lua database only when they exists msgstr = msgstr.."Freq: "..groupServiceProvider["frequency"].." "..Modulation[groupServiceProvider["modulation"]].." " local t=mist.getGroupRoute( ServiceProvider , true )[1]["task"]["params"]["tasks"] elseif routeServiceProvider[1]["task"]["params"]["tasks"][1]["id"] == "EWR" then Modulation = {[0]="AM", [1]="FM"} EWR_tasks = routeServiceProvider[1]["task"]["params"]["tasks"] for key,value in pairs(EWR_tasks) do if EWR_tasks[key]["id"] == "WrappedAction" then local EWR_frequency = EWR_tasks[key]["params"]["action"]["params"]["frequency"] local EWR_Modulation = EWR_tasks[key]["params"]["action"]["params"]["modulation"] msgstr = msgstr.."Freq: "..EWR_frequency/1000000 .." "..Modulation[EWR_Modulation] end end end msg[#msg + 1] = msgstr msg[#msg + 1]='\n' end trigger.action.outText(table.concat(msg), 30, false) end end end function infoFAC() msg = {} msg[#msg + 1] = "FAC:" msg[#msg + 1]='\n' local ServiceProvider = coalition.getServiceProviders(2 , 3 ) if next(ServiceProvider) ~= nil then do for ke,val in pairs(ServiceProvider) do local callsign = ServiceProvider[ke]:getCallsign() local curPoint = ServiceProvider[ke]:getPoint() local lat, lon, alt = coord.LOtoLL(curPoint) local grid = coord.LLtoMGRS(lat,lon) local msgstr = callsign.." ".."at Position: " ..grid.UTMZone .. ' ' .. grid.MGRSDigraph .. ' '.. grid.Easting .. ' ' .. grid.Northing.." "--..lat.." "..lon local ServiceProvider = ServiceProvider[ke]:getGroup():getName() local t=mist.getGroupRoute( ServiceProvider , true )[1]["task"]["params"]["tasks"] for key,value in pairs(t) do if (t[key]["id"] == "FAC_AttackGroup") or (t[key]["id"] == "FAC") or (t[key]["id"] == "FAC_EngageGroup") then Modulation = {[0]="AM", [1]="FM"} local FAC_frequency = (t[key]["params"]["frequency"]) local FAC_Modulation = (t[key]["params"]["modulation"]) local msgstr = msgstr.."Freq: "..FAC_frequency/1000000 .." "..Modulation[FAC_Modulation] msg[#msg + 1] = msgstr msg[#msg + 1]='\n' end end end trigger.action.outText(table.concat(msg), 30, false) end end end function infoTanker() msg = {} msg[#msg + 1] = "Tanker:" msg[#msg + 1]='\n' local ServiceProvider = coalition.getServiceProviders(2 , 2 ) if next(ServiceProvider) ~= nil then do for ke,val in pairs(ServiceProvider) do local callsign = ServiceProvider[ke]:getCallsign() local nametype = ServiceProvider[ke]:getTypeName() msgstr = nametype.." "..callsign.." " local ServiceProvider = ServiceProvider[ke]:getGroup():getName() local groupServiceProvider = mist.getGroupData(ServiceProvider) Modulation = {[0]="AM", [1]="FM"} if groupServiceProvider["frequency"] then -- get the values from lua database only when they exists msgstr = msgstr.."Freq: "..groupServiceProvider["frequency"].." "..Modulation[groupServiceProvider["modulation"]].." " local t=mist.getGroupRoute( ServiceProvider , true )[1]["task"]["params"]["tasks"] for key,value in pairs(t) do if t[key]["id"] == "WrappedAction" then local TCN_channel = t[key]["params"]["action"]["params"]["channel"] local TCN_modeChannel = t[key]["params"]["action"]["params"]["modeChannel"] local TCN_callsign = t[key]["params"]["action"]["params"]["callsign"] local msgstr = msgstr.."TCN: "..TCN_channel..TCN_modeChannel.." "..TCN_callsign msg[#msg + 1] = msgstr msg[#msg + 1]='\n' end end end end trigger.action.outText(table.concat(msg), 30, false) end end end local displayInfo = missionCommands.addSubMenuForCoalition(2, "Display Information", nil) local displayAWACS = missionCommands.addCommandForCoalition(2 , "Diplay AWACS\\EWR" , displayInfo , infoAWACS, {} ) local displayFAC = missionCommands.addCommandForCoalition(2 , "Diplay FAC" , displayInfo , infoFAC, {} ) local displayTanker = missionCommands.addCommandForCoalition(2 , "Diplay Tanker" , displayInfo , infoTanker, {} )
  15. There has something changed in DCS so the former script is broken. Here an updated version function getTableSize(t) local count = 0 for _, __ in pairs(t) do count = count + 1 end return count end coalition_side = { neutral = 0, red = 1, blue = 2 } local navPoints = mist.DBs.navPoints local id_table = world.getMarkPanels( ) size = getTableSize(id_table) for i, u in pairs(navPoints) do for k, v in pairs(u) do size = getTableSize(id_table) trigger.action.textToAll( coalition_side[i], k + size, v["point"], {0,0,0, 1}, {0,0,0,0}, 11, true, "◊ "..v["callsignStr"] ) counter = size + k end size = counter end
×
×
  • Create New...