First of all, thanks for this mod, fredkatz! It's a very elegant solution to a massive problem in ArmA2.
I couldn't make Heli Control recognize any changes to its settings file though. Maybe its because of changes in the latest OA beta patch or in CBA, but no matter which key I've tried, it always defaulted to "LWin" on my keyboard. As this key throws me back to the Windows desktop, it's highly impractical. I've spent an entire night trying to remap the default keycode (to no avail) and then recoding the whole "read custom keys from config" functionality, but despite making extensive use of the documentation of CBA's functions, it didn't work out (apparently not enough ArmA scripting knowledge).
Long story short, the only thing that did work for me was to alter the default key in the script version of the add-on (in heli_extras_script.Takistan\heli_extras\heli_extras_preclientinit.sqf) from "_key=219" to "_key=25" ("P") and then running it through BinPBO. Heli_Extras is now merrily opening when I press "P" and I'm a happy camper. Also, I could basically do away with the now unnecessary extra "_settings" files.
Just wanted to share this for anyone who might have the same problem.
AI Heli Control 1.0
in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Posted
Greetings and sorry for digging this thread up.
First of all, thanks for this mod, fredkatz! It's a very elegant solution to a massive problem in ArmA2.
I couldn't make Heli Control recognize any changes to its settings file though. Maybe its because of changes in the latest OA beta patch or in CBA, but no matter which key I've tried, it always defaulted to "LWin" on my keyboard. As this key throws me back to the Windows desktop, it's highly impractical. I've spent an entire night trying to remap the default keycode (to no avail) and then recoding the whole "read custom keys from config" functionality, but despite making extensive use of the documentation of CBA's functions, it didn't work out (apparently not enough ArmA scripting knowledge).
Long story short, the only thing that did work for me was to alter the default key in the script version of the add-on (in heli_extras_script.Takistan\heli_extras\heli_extras_preclientinit.sqf) from "_key=219" to "_key=25" ("P") and then running it through BinPBO. Heli_Extras is now merrily opening when I press "P" and I'm a happy camper. Also, I could basically do away with the now unnecessary extra "_settings" files.
Just wanted to share this for anyone who might have the same problem.