Soul Posted July 24, 2011 Posted July 24, 2011 I had found a thread here on the forums explaining how to resize the radio menu so the rearm list was fully visible. What is currently visible: AGM-65Dx4, CBU-97x4, TGP... What I would like to see: AGM-65Dx4, CBU-97x4, AIM-9x2, TGP, ECM Any chance someone can link me that thread or post the way to do this please?
Harzach Posted July 24, 2011 Posted July 24, 2011 I don't have a link to the original topic, but here's the relevant info: ********** REMINDER: BACK UP ALL FILES BEFORE YOU TOUCH THEM. 1) Unlock the maximum string length: within ...Games\DCS A-10C\Scripts\UI\CommandMenu.lua, search for and change local menuItemMaxLength from 26 to 100; this is the cutoff length where it uses (...) 2) Change the radio dialog size within ...Games\DCS A-10C\FUI\Resources\Radio\menu.res, make the two changes highlighted in red (reduce existing number by 300, this will extend the dialog left by 300 pixels). Quote: \dialog \begin \tag{-1} \coord{0, 10, 1024, 300} \color{50, 50, 50, 50} \musthavecursor{0} \drawitself{0} \acceptmouse{0} \fixedposition{0} \dontinflate{4} \onmainview{4} \layer{1000} \bordercolor{255, 255, 255, 255} \hasborder{0} \end \static \begin \tag{2} \coord{502, 25, 1024, 40} \color{200, 200, 200, 50} \drawitself{0} \fonttype{font_arial_13} \fontcolor{255, 255, 255, 255} \alignmentleft \caption{} \end \multicolumnlistbox \begin \tag{3} \coord{500, 50, 1024, 300} \defaultitem{Radio/command_list_box_item.res} \columnswidth{224} \marker1{Radio/command_list_marker.res} \bordercolor{255, 255, 255, 255} \visiblescrollbar{0} \hasborder{0} \readonly{0} \end
Soul Posted July 24, 2011 Author Posted July 24, 2011 Exactly what I was looking for thanks Harszach!
Harzach Posted July 24, 2011 Posted July 24, 2011 Oh...just realized that it references highlighted text. When I saved this, I forgot to save the formatting.
Soul Posted July 24, 2011 Author Posted July 24, 2011 Hmm, my commandmenu.lua doesnt contain the local menuitemmaxlength string?
Harzach Posted July 24, 2011 Posted July 24, 2011 OK, here's the original post: http://forums.eagle.ru/showpost.php?p=1220191&postcount=7 The MenuItemMaxLength string is line 284 in the CommandMenu.lua.
Soul Posted July 24, 2011 Author Posted July 24, 2011 Tried searching for both menuItemMaxLength and just the number 26 and neither exist in my CommandMenu.lua. And it isn't in the original either, guess I got a broken lua file some how unless they changed something with 1.1.0.9 attaching my current CommandMenu.lua if you want to check it out. And the odd thing is I did this in 1.1.0.8 and it worked fine and had no trouble finding what I needed to change...CommandMenu.lua
Harzach Posted July 24, 2011 Posted July 24, 2011 Ah, I'm still on 1.1.0.8, maybe this is another "fix" in the new update?
Harzach Posted July 24, 2011 Posted July 24, 2011 Yes, your .lua is different from mine, from line 284 down.
Soul Posted July 24, 2011 Author Posted July 24, 2011 Hmm, hopefully this still works just a different way of doing it maybe. Until then guess I am stuck with the ...
Recommended Posts