Elphaba Posted March 25 Share Posted March 25 Here's the entry in: \DCS World\Mods\terrains\PersianGulf\radio.lua { radioId = 'airfield21_0'; role = {"ground", "tower", "approach"}; callsign = {{["common"] = {_("Jask"), "Jask"}}}; frequency = {}; sceneObjects = {'t:82673668'}; }; However in the M.E. window you see this: Where is that data coming from if not from the radio.lua for the terrain pack?! Link to comment Share on other sites More sharing options...
Minsky Posted March 25 Share Posted March 25 2 hours ago, Elphaba said: Where is that data coming from if not from the radio.lua for the terrain pack?! Frequencies not declared in LUA are automatically assigned by DCS based on a few simple rules. 1 Dima | My DCS uploads Link to comment Share on other sites More sharing options...
Elphaba Posted March 25 Author Share Posted March 25 (edited) 1 hour ago, Minsky said: Frequencies not declared in LUA are automatically assigned by DCS based on a few simple rules. All the other airfields in radio.lua have frequencies listed and AFAIK they work correctly. @Exorcet Said that those hard baked into the M.E. are wrong. So how come you're now saying that the radio.lua is unreliable?! What is this insanity of an architecture doing? If the whole point of radio.lua and beacon.lua are to hold the data about the radio freqs and beacon data on the map, then why the heck is the game engine creating stuff on the fly?! And if it's creating stuff on the fly, how do you get at it from the scripting engine?! Then as Exorcet said, there are *incorrect* freqs hard baked into the M.E. That's THREE places and none are fully accurate or complete. I know the engine is decades old, but surely there are engineering and tech leads to un-spaghettify this mess? How are we, scripters and mission designers, supposed to get the accurate and correct data for every airfield/farp/base/carrier if none of the 3 systems are complete and correct?! Edited March 25 by Elphaba Link to comment Share on other sites More sharing options...
Minsky Posted March 25 Share Posted March 25 55 minutes ago, Elphaba said: So how come you're now saying that the radio.lua is unreliable?! Radio.lua is reliable, just not comprehensive. 2 hours ago, Elphaba said: If the whole point of radio.lua and beacon.lua are to hold the data about the radio freqs and beacon data on the map, then why the heck is the game engine creating stuff on the fly?! Beacon.lua is fine. It's the radio.lua that's always incomplete. 2 hours ago, Elphaba said: How are we, scripters and mission designers, supposed to get the accurate and correct data for every airfield/farp/base/carrier if none of the 3 systems are complete and correct?! Frequencies you see in the ME should always work. When they don't it's usually due to some unrelated DCS bug. Not sure if it's possible to obtain the frequencies via scripting, I never tried. Dima | My DCS uploads Link to comment Share on other sites More sharing options...
Elphaba Posted March 25 Author Share Posted March 25 8 hours ago, Minsky said: Frequencies not declared in LUA are automatically assigned by DCS based on a few simple rules. What are the rules? Link to comment Share on other sites More sharing options...
Minsky Posted March 26 Share Posted March 26 1 hour ago, Elphaba said: What are the rules? Only ED and their partners know for certain. To my understanding, the game first goes through the lua file and reserves all frequencies found there. Then it sorts all airfields based on their internal IDs and goes through this list, incrementally assigning frequencies left available. 1 Dima | My DCS uploads Link to comment Share on other sites More sharing options...
Elphaba Posted March 26 Author Share Posted March 26 2 hours ago, Minsky said: Only ED and their partners know for certain. To my understanding, the game first goes through the lua file and reserves all frequencies found there. Then it sorts all airfields based on their internal IDs and goes through this list, incrementally assigning frequencies left available. /FACEPALM Why do all this over-complicated obfuscated bull crap?! It's insane. 1 Link to comment Share on other sites More sharing options...
Minsky Posted March 26 Share Posted March 26 2 hours ago, Elphaba said: Why do all this over-complicated obfuscated bull crap?! It's insane. "Ye olde LOMAC way" combined with laziness? It's easier for the map maker to assign only known/published frequencies and let the game handle the rest. Often at the expense of the content creators 1 Dima | My DCS uploads Link to comment Share on other sites More sharing options...
Recommended Posts