stefaanadriansens Posted February 12, 2014 Posted February 12, 2014 im want my set hotas perfect for my huey. to begin i made the autopilot work on the LASTE section . but im not shure if the code is error free , but it works. so if the switch is in the middle then it sets on orbit , switch up then it sets on level flight, switch down is att hold , put it back in middle then it goes back on orbit . nice eh . {combos = {{key = "JOY_BTN28"}}, down = 3028, up = 3030 ,cockpit_device_id = 9, value_down = 1, value_up = 0, name = "AutoPilot ATTITUDE HOLD", category = "Cheat"}, {combos = {{key = "JOY_BTN28"}}, up = 3030, cockpit_device_id = 9, value_up = 1, name = "AutoPilot ORBIT", category = "Cheat"}, {combos = {{key = "JOY_BTN27"}}, down = 3029, up = 3030 ,cockpit_device_id = 9, value_down = 1, value_up = 0, name = "AutoPilot LEVEL FLIGHT", category = "Cheat"}, next is the main fuel switch , , the problem is if loading up in a huey cold and dark and if my switch is on on my hotas throttle then i have to turn it of to turn it on ingame , anyone with a solution? {combos = {{key = "JOY_BTN16"}}, down = 3003, up = 3003, cockpit_device_id = 2, value_down = 1, value_up = 0, name = "Main Fuel Switch", category = "Pedestal"}, :pilotfly: i7-920, 12 GB DDR3 1600, Gigabyte x58 ud3r, Gigabyte GTX 970 OC, 2x500GB SSD+1x250ssd, TrackIR 5 clip, screen 42 inches, and 21 inches, Thrustmaster Warthog throttle and stick,t500rs,th8 shifter, Saitek Pro throttle, x controller, G11 keys
stefaanadriansens Posted February 13, 2014 Author Posted February 13, 2014 got a answer from sombody that builds a huey cocpit. ----------------------------------------- Hi there.. Well most of the switches I tested worked fine for me however I've learned that it is necessary to set up your hardware switches into certain pattern before loading the scene in order to match your VC. Looking at the code I would write the same thing regarding the Fuel switch. For +1.0.-1 switches I wrote something like this: {combos = {{key = "JOY_BTN5"}, }, down = 3021, up = 3021, cockpit_device_id = 7, value_down = -1, value_up = 0, name = "Dome Light Green", category = "Ins Overhead panel"}, {down = 3021, cockpit_device_id = 7, value_down = 0, name = "Dome Light Off", category = "Ins Overhead panel"}, {combos = {{key = "JOY_BTN4"}, }, down = 3021, up = 3021, cockpit_device_id = 7, value_down = 1, value_up = 0, name = "Dome Light White", category = "Ins Overhead panel"}, Because I didn't edited the OFF position of the switch and assigned the same action for both up and down, the switch automatically returns to 0 when button 5 or 4 turns off. I hope this will help, anyway keep trying -------------------------------------------------------------- :pilotfly: i7-920, 12 GB DDR3 1600, Gigabyte x58 ud3r, Gigabyte GTX 970 OC, 2x500GB SSD+1x250ssd, TrackIR 5 clip, screen 42 inches, and 21 inches, Thrustmaster Warthog throttle and stick,t500rs,th8 shifter, Saitek Pro throttle, x controller, G11 keys
Recommended Posts