Jedra Posted November 7, 2011 Posted November 7, 2011 Hi, I am new here so please bear with my ignorance. I recently purchased Black Shark 2 and also acquired a Logitech G940 Stick, Throttle, Pedal combo. I used one of the few profiles around on the forums as I did not want to go through the process immediately of mapping all the functions (as both the simulator and the joystick were new to me). Anyway I discovered a problem with the collective control when using a LUA created in Black Shark 1. I posted this initially on the Steam forums (this one was down), so the following is a cut and paste job from there... START When you load a profile from a BS1 profile save, it stores the collective value in Action 2088. In Black Shark 2, the Collective is actually Action 2087. After loading a profile from a BS1 profile save, you will see this in the throttle LUA file... [4] = { ["combos"] = { [1] = { ["key"] = "JOY_X", ["reformers"] = { }, -- end of ["reformers"] }, -- end of [1] }, -- end of ["combos"] [b][color=red]["action"] = 2088,[/color][/b] ["name"] = "Flight Control Collective", ["category"] = "Axis Commands", }, -- end of [4] Now, no matter what mappings you change, the collective will always be assigned to 2088. This is why deleting the lua file and restarting BS2 works as when it recreates the LUA on launch it correctly maps the collective to 2087. So to resolve this, I did the following; 1. Deleted the LUA files. 2. Re started BS2. 3. Cleared all the mappings to Joystick/Throttle and Pedals (including the axis). 4. Loaded a profile from BS1 with all of the G940 button assignments. 5. Closed down BS2. 6. I then edited the throttle LUA and changed the collective mapping from 2088 to 2087... [4] = { ["combos"] = { [1] = { ["key"] = "JOY_X", ["reformers"] = { }, -- end of ["reformers"] }, -- end of [1] }, -- end of ["combos"] [b][color=red]["action"] = 2087,[/color][/b] ["name"] = "Flight Control Collective", ["category"] = "Axis Commands", }, -- end of [4] If you import a profile created in BS1, you will need to make sure that the collective Action is changed in the lua file. You can either do this in the imported file BEFORE you import it, or in the resultant BS2 LUA file after you have imported it. Hope this makes sense!! JeeseJames - thanks for your reply, it helped point me in the right direction. I just had to know why deleting the file made it work - I knew it must have been something in the LUA XML file! EDIT (again) ---> There may be other mappings that have changed, so if I spot any I will post them here. It would be good if anyone else spots some then they post too! END I am basically posting this just in case anyone else comes across the same issue. Processor : Intel Core i7 7800X (3.8 - 4.2 GHz) . Motherboard : ASUS TUF X299 . Memory : 16Gb DDR4 1333 . Graphics : NVIDIA GeForce RTX 2080 Super (+100 CC +700 MC) . Install : DCS on 500Gb SSD . Screen : 3440 x 1440 display with GSYNC . Control : TM Warthog HOTAS, CH Pro Pedals, Naturalpoint Track-IR . Software : VoiceAttack with VAICOM Pro, DCS BIOS
YakobeGrizzlyLepotyv Posted November 9, 2011 Posted November 9, 2011 i also have this issue but i cannot find said throttle lua file were is it located i want to fix it please show me directory for editing said file. you were very indirect in the explanation _________________________________________________ [sIGPIC][/sIGPIC] Vipers 406 http://www.vipers406.com/ 62nd Fighting Falcons http://www.62ndfightingfalcons.asn.au/ Jesus is coming, Look busy.
YakobeGrizzlyLepotyv Posted November 9, 2011 Posted November 9, 2011 Please disregard my last post i have found the lUA, didn't know you meant modify the input profile many thanks ;D _________________________________________________ [sIGPIC][/sIGPIC] Vipers 406 http://www.vipers406.com/ 62nd Fighting Falcons http://www.62ndfightingfalcons.asn.au/ Jesus is coming, Look busy.
Julle Posted February 4, 2012 Posted February 4, 2012 I'm sorry, but what LUA-files should I delete exactly? I get all the other steps in your guide, but step one escapes me. :p
Recommended Posts