December 18, 20169 yr Hi I am useing the hotas warthog with A2A B17, and LINDA V1.13 I've managed to assign all functions, apart from one. I have assigned 1 switch, that operate the mags. If all engines are selected, and i throw the mag switch, it will throw all mag switch to ''on''. If i select ENG 2 and throw the same switch it will it will only operate the mag2 switch. This is correct. The problem im having is with the generator switches. When i have Ex: Eng2 selected and press the button for gen on, it throws all 4 switches. I've looked through all the listed assignment and cannot find : ''Selected engine gen on / off'' assignment How would i create this assignment? If i select A2A B17 in the ''edit aircraft module'', the edit button is greyed out, non clickable? Thanks Luke Luke Pype
December 18, 20169 yr I will check whether the edit aircraft module button is working correctly with the current version of LINDA 2.8.6. I am afraid version 1.13 is no longer supported and only available for legacy use 'as is'. You can edit the A2A B17 module using the LINDA Editor. Simply open the actions.lua file in /modules/linda/aircrafts/A2A B17. I cannot help you with the B17 functions as I do not own that aircraft add-on. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
December 18, 20169 yr Author Thanks for the reply Scotflieger. I can do this with the engine mesh on all 4 engines useing 1 switch, so im sure it can be done I have taken a look through the editor to try and see how it works useing my extreme limited knowledge and can see that it reads : Tvar = ipc.readLvar("L:EngineSelection") if Tvar == 1 then SVar = 1endif Tvar == 2 then SVar = 2endif Tvar == 4 then SVar = 3endif Tvar == 8 then SVar = 4endif Tvar == 15 then Svar = 0end if SVar == 1 then ipc.writeLvar("L:Starter12Mesh", 0) elseif SVar == 2 then ipc.writeLvar("L:Starter12Mesh", 2) elseif SVar == 3 then ipc.writeLvar("L:Starter34Mesh", 2) elseif SVar == 4 then ipc.writeLvar("L:Starter34Mesh", 0) elseif SVar == 0 then end DspShow("Mesh", " " .. SVar .. " ")endTo me that reads ''Computer, read whitch engine is selected'' to mesh. So, is it a case of inserting Tvar = ipc.readLvar("L:EngineSelection") -somewhere in the text below? function B17_Generator1_on () ipc.writeLvar("L:Eng1_GeneratorSwitch", 1) DspShow(" Gen", "1 on")endfunction B17_Generator2_on () ipc.writeLvar("L:Eng2_GeneratorSwitch", 1) DspShow(" Gen", "2 on")endfunction B17_Generator3_on () ipc.writeLvar("L:Eng3_GeneratorSwitch", 1) DspShow(" Gen", "3 on")endfunction B17_Generator4_on () ipc.writeLvar("L:Eng4_GeneratorSwitch", 1) DspShow(" Gen", "4 on")endfunction B17_GeneratorsAll_on () B17_Generator1_on () _sleep(200, 500) B17_Generator4_on () _sleep(200, 500) B17_Generator2_on () _sleep(200, 500) B17_Generator3_on ()endfunction B17_Generator1_off () ipc.writeLvar("L:Eng1_GeneratorSwitch", 0) DspShow(" Gen", "1off")endfunction B17_Generator2_off () ipc.writeLvar("L:Eng2_GeneratorSwitch", 0) DspShow(" Gen", "2off")endfunction B17_Generator3_off () ipc.writeLvar("L:Eng3_GeneratorSwitch", 0) DspShow(" Gen", "3off")endfunction B17_Generator4_off () ipc.writeLvar("L:Eng4_GeneratorSwitch", 0) DspShow(" Gen", "4off")endfunction B17_GeneratorsAll_off () B17_Generator1_off () _sleep(200, 500) B17_Generator4_off () _sleep(200, 500) B17_Generator2_off () _sleep(200, 500) B17_Generator3_off () end Luke Pype
December 29, 20169 yr Author Well, i managed to do it Simple bit of copy and paste and a bit of guess work and i got it first time! and the editor : Luke Pype
Archived
This topic is now archived and is closed to further replies.