Jump to content

Cross Post - not sure if this should be here: getRunways() misses out some runways that exist and reports airports that don't (on the Map)


Recommended Posts

Posted (edited)
(Cross posted from the Nevada Map bugs, because this seems a scripting issue and it's not confined to just one map, but several)
 
local runways = Airbase.getRunways(airbase)

This script function returns all the runways for the airbase object provided. 

EXCEPT that it doesn't. It misses some out on some airfields. Some airports on most maps that have multiple runways and crossing runways, aren't getting them all reported when using this function.

E.g.

    Airbase "Creech" - misses 13/31.

    Airbase "McCarran International" - misses "01/19".

    Airbase "Ramat David" -misses "11/29".

    Airbase "Beirut-Rafic Hariri" - misses "16/34".

 

So, because we can't trust the results of this function, it is forcing me, to have to HARD CODE for every broken airport in every map, a giant IF statement that gets the airfield name and if there's a match, then add in the missing runways. And I only know which ones to do this for if I manually test every airfield on every map one by one and compare against the in-game F10 map. 

Therefore, the engine via the above scripting function is incorrectly reporting the runways for a given airbase and we can't trust what we get back as The Truth. 

And there are even runways being reported by this function that are not specified on the F10 map / Mission Editor map

e.g. Persian Gulf & "Quasoura_airport"

 

 

Edited by Elphaba
More runway issues
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...