Jump to content
Forum Maintenance between 04:00 - 06:00 UTC ×
Forum Maintenance between 04:00 - 06:00 UTC

TooBad51

Members
  • Posts

    10
  • Joined

  • Last visited

  1. High setting: A/ 28 B/ 24 C/ 23 D/ 20 My preferred setting: A/ 31 B/ 27 C/ 27 D/ 23 Hardware: I7 975 @ 3.33 GHz 6Gb DDR3 RAM GTX 285 1Gb GDDR3 1920x1080 Win7 x64
  2. I would have used the getCallsign() method if I had known it existed! That's probably a better solution than mine, because the name doesn't match the callsign in every case (e.g. with my fix, Lochini appears after Sukhumi in the list, as it is actually sorting on the name "Tblisi", so it doesn't look like it's in A-Z order even though it is. If you see what I mean). Looking forward to trying 1.1
  3. @y2kiah: I added the following lines to each of the 3 ATC.lua scripts: local function alphaSorter(a, b) local aname = a:getUnit():getName() local bname = b:getUnit():getName() return (bname > aname) end base.table.sort(atcs, alphaSorter) If you insert those lines directly after line 97 in each file, that will sort the names consistently. (Took me a bit of trial and error to figure that out!) If you make that change, run a mission, and take a screenshot of the ATC menus, then you can edit your VAC profile to match the sequence of names. After that everything should work fine.... at least it does for me.
  4. A picture is worth a thousand words, so here are screenshots from 2 different missions showing the difference in the ATC2 menu....
  5. Can't remember exactly which are the stock missions, but.... Try any two SP missions that begin at different locations. For example, in Free Flight Ramp Start, the ATC 3 menu has Kolkhi as its single item; in the CSAR mission, the ATC3 menus shows Beslan (and the entries in the other menus are shifted around accordingly). I should mention that I've been looking more closely at this problem, and I think I've stumbled on a solution which seems to work... I've figured out how to sort the names in the ATC lists so that they remain consistent. If you can replicate the problem, I can tell you how I fixed it if you're interested :)
  6. When I try this mod with different SP missions, I find that the ATCs are always listed in a different sequence. If I load up the same mission twice, I get them in the same order, but if I go to a different mission the sequence changes. I haven't figured out what the ordering is based on, but it still looks to be dynamic in some way. Try it yourself: Fly two different missions and comparing the lists. Are they the same for you? EDIT: Just to clarify, I see the same 21 airfields every time. It's just the order that changes, but obviously that messes up my VAC key mapping.
  7. This is a great mod, it gives a big boost to immersion and must have taken a lot of work to set up. However, I'm seeing a problem with the ATC menus. It looks as if the order in which airfields are listed in the menus can vary from one mission to another. This means that key mapping in the VAC profile can be wrong, e.g. you say "Batumi" and this opens the submenu for Nalchik (or whatever). Looking at the details, I can see that the modded ATC menu scripts have disabled the line which calls the "distanceSorter" function, meaning airfields are no longer listed in order of distance from the player's location. It seems to me that there needs to be some other way to order the list, so that they always come out in the same sequence. Ordering by A to Z would be the obvious solution, but I don't know enough about LUA scripting to know how to do that. Hopefully it's a feasible thing to do. Hope this makes sense. Apart from the above, this is an excellent mod, and I'd love to see it working as intended.
×
×
  • Create New...