Buzzles Posted September 24, 2014 Share Posted September 24, 2014 (edited) Hello LN guys, I was trying add a custom page to the kneeboard earlier and couldn't figure out why the Mig21 wouldn't accept custom kneeboard pages via the aircraft sub folder like all the other mods, ie under this folder structure: [username]\SavedGames\DCS\Kneeboard\Mig-21Bis\Turns out the init.lua is missing the correct lookup, and only ever looks in \Kneeboard and not any of the subfolders. To fix: Edit init.lua located at: ...\DCS World\Mods\aircraft\MiG-21BIS\Cockpit\KNEEBOARD\indicator\init.luaand add the following at line 75: local unit_name = get_aircraft_type() if unit_name ~= nil then scan_path(lfs.writedir().."KNEEBOARD/"..unit_name) --look in subfolder of SavedGames/DCS/Kneeboard/ end (Nb, code was modifed from the original ED file in DCS World\Scripts\Aircrafts\_Common\Cockpit\KNEEBOARD\indicator\init.lua I would have prefered an inline condition, but I'm not sure you can do those with lua) Nice and easy fix that one :) Edited October 4, 2015 by Buzzles 1 Fancy trying Star Citizen? Click here! Link to comment Share on other sites More sharing options...
McMicha Posted September 25, 2014 Share Posted September 25, 2014 Hello Buzzles, Nice Fix... Leatherneck Simulations Devs, you can take the fix? CU Micha Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION" DCS ExportScript D.A.C. DCS to Arcaze Communicator Ikarus a new Virtual Cockpit Software Deutscher Forums Thread English Forums Thread Hard/Software: AMD Ryzen 7 1800X, 32 GiB RAM, extra SSD for Windows 10 and DCS World, AMD Vega Frontier Edition with 16 GiB VRAM Link to comment Share on other sites More sharing options...
zaelu Posted September 25, 2014 Share Posted September 25, 2014 Thanks Buzzles! Your fix works perfect! LN should add it so we won't need a mod for such thing.:thumbup: [sIGPIC][/sIGPIC] I5 4670k, 32GB, GTX 1070, Thrustmaster TFRP, G940 Throttle extremely modded with Bodnar 0836X and Bu0836A, Warthog Joystick with F-18 grip, Oculus Rift S - Almost all is made from gifts from friends, the most expensive parts at least Link to comment Share on other sites More sharing options...
Buzzles Posted October 29, 2014 Author Share Posted October 29, 2014 @LN chaps. I hate to nag, but as DCS is going to see some patches soon for all the new modules, could we expect things like this and other bug fixes/tweaks to be included? Fancy trying Star Citizen? Click here! Link to comment Share on other sites More sharing options...
Buzzles Posted October 4, 2015 Author Share Posted October 4, 2015 Going to bump this as it's still broken in the 1.5 Open Beta. Obviously a minor thing, but it would be nice to be consistant with every other module. Fancy trying Star Citizen? Click here! Link to comment Share on other sites More sharing options...
Buzzles Posted October 9, 2015 Author Share Posted October 9, 2015 Just spotted this fix has been officially included in the DCS 1.5 open beta hotfix 2. Thanks for listening LN, it's small but appreciated :) Fancy trying Star Citizen? Click here! Link to comment Share on other sites More sharing options...
Recommended Posts