Jump to content

Recommended Posts

Posted (edited)

I've made some changes to that file, so I don't have to remap basic things everytime a new update or module comes, loaded as a mod, I check for changes after updates though and update my files from time to time.

Now, as far as the F/A-18C goes, it should load that file as per default.lua file in Mods\aircraft\FA-18C\Input\FA-18C\keyboard, ref l. 5:

 

local res = external_profile("Config/Input/Aircrafts/common_keyboard_binding.lua")

 

But, it doesn't. Instead it seems to load up parts of the older (for FC3) base_keyboard_binding.lua, since changes I had made there pop up in the Hornet, but meannwhile, this isn't anymore the most recent set of mappings I made.

 

Also, in both files I added these to get my own custom FOV keys for 30, 60 and 90:

 

    -- COCKPIT VIEW FOV / ZOOM PRESETS
   {down = iCommandViewZoomAbs                        , value_down = -0.833333, name = _('Cockpit FOV 30'), category =  _('View Cockpit FOV')},
   {down = iCommandViewZoomAbs                        , value_down = -0.333333, name = _('Cockpit FOV 60'), category =  _('View Cockpit FOV')},
   {down = iCommandViewZoomAbs                        , value_down =  0.166666, name = _('Cockpit FOV 90'), category =  _('View Cockpit FOV')},

They don't show up at all. So basically, it should load the "common", gets some mappings I just have in the "base" and totally omits things that are not in the ED out of the box files but in both of mine. Can't keep track of what the code does (or rather, what it actually loads with external_profile() and it totally confuses me.

 

Meanwhile, I'll try putting in those lines to the module directly and flip around some other mappings in the GUI to match my needs.

Edit: Doesn't load the changes I made there either... this is really awkward...

Thanks for the great module (that I didn't really try yet since I setup my controls first and stumbled across just this) dealwithit.png

 

Edit: Got closer now. There are 4 sets of imput config files loaded, and I missed one of them - I just don't know why it has been loaded instead, but maybe I messed something up. With 100% stock files and just the FOV lines added to either the module's keyboard default.lua or the common_keyboard_binding.luait worked, as soon as I drop my bunch of edited module default.luas and the common and base files, it stops getting the code, instead it then jumps over to the default files that are in the same folder as the common and base files, just in subdirectories.

So most probably I have to redo my files since something in there triggers it not reading the usual files. Also, I have no default mappings like U for "put Hornet on the cat" and others that are mapped by default.

 

Edit 2: I was just too silly, lots of time wasted for nothing twi-norly.png

I just didn't see that I totally bucked it up when removing the default PgUp and PgDn bindings derpyconfused.png

 

May be closed or kept for a good laugh, at least that's what I'm having now anyway rdlaugh.png

seriously.thumb.jpg.ea31b19f46d6b65b740ffb17447bc45d.jpg

Edited by Eldur

dcsdashie-hb-ed.jpg

 

  • Recently Browsing   0 members

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