August 18, 20169 yr In P3D by pressing a joystick button, I need to both send a key event (release droppable objects) and activate the smoke-system via an ipc control. It is important that these actions are separate. Can anyone help with this?
August 18, 20169 yr Hi Moonwolf Welcome to LINDA. Do you have a particular aircraft in mind? You need to create a function in the aircraft's user.lua file (modules\linda\aircrafts\{your aircraft}\user.lua) along the lines of: function DropSmoke ipc.control(66658,0) -- droppable objects ipc.control(65559,0) -- smoke toggle end You will find the correct FSX Control code and param by using the LINDA Tracer and test by clicking SEND. I have not be able to test as none of my default P3D aircraft have droppable tanks or smoke. Then assign the function to the button required. 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
August 19, 20169 yr Author Hi Moonwolf Welcome to LINDA. Do you have a particular aircraft in mind? You need to create a function in the aircraft's user.lua file (modules\linda\aircrafts\{your aircraft}\user.lua) along the lines of: function DropSmoke ipc.control(66658,0) -- droppable objects ipc.control(65559,0) -- smoke toggle end You will find the correct FSX Control code and param by using the LINDA Tracer and test by clicking SEND. I have not be able to test as none of my default P3D aircraft have droppable tanks or smoke. Then assign the function to the button required. Thanks Scotflieger. The ipc control for Smoke is fine, but "Droppable objects" must be an event like "Shift+d" otherwise it will not be read by an external program through SimConnect, so I am told.
August 19, 20169 yr LINDA uses FSUIPC4 and not SimConnect to communicate with the flight sims. I do not know enough about SimConnect to advise you. Perhaps you should look if FSUIPC4 can provide what you need. 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
Create an account or sign in to comment