武装突袭3

武装突袭3

评价数不足
Realistic Auto Pilots (Unstable)
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod
文件大小
发表于
更新日期
63.480 KB
2020 年 12 月 12 日 下午 3:11
2020 年 12 月 20 日 下午 5:44
2 项改动说明 ( 查看 )

订阅以下载
Realistic Auto Pilots (Unstable)

描述
Unstable version of my auto pilots mod, use with caution
8 条留言
Blockdude  [作者] 2021 年 1 月 1 日 下午 5:23 
Keybindings are added via CBA's keybinds which sadly do not allow for HOTAS bindings.
Reed 2021 年 1 月 1 日 下午 1:56 
How are you adding keybinds? Keyboard only seems to work. Cant add a hotas key bind unless you use a cba user action.
Millenwise 2020 年 12 月 20 日 下午 11:57 
Yep, looks like it's all working. Nice.
Blockdude  [作者] 2020 年 12 月 20 日 下午 5:46 
@Millenwise I have debugged and corrected the code. I haven't tested too deep, but everything seems to be working correct now. Could you check it and let me know how it goes?
Blockdude  [作者] 2020 年 12 月 13 日 下午 10:19 
There should already be a check for bind per action
Millenwise 2020 年 12 月 13 日 下午 3:49 
So, in fn_AddAuto.sqf just add these lines before the addActions:

_autoPilots = ["hal_altKey","hal_althdgKey","hal_pathKey","hal_attKey","hal_posKey","hal_thrKey"];

if (({(((["HAL Autopilots",_x] call CBA_fnc_getKeybind) select 5) select 0) == -1} count _autoPilots) > 0) exitWith {systemChat "Keybind found, addActions will not be added"};

This should prevent any of the addActions being added if just one of the actions has a key assigned. HOWEVER, the key bind will need to be set before starting a mission to prevent the actions being added. Obviously, you could adapt this check to individual actions themselves.
Blockdude  [作者] 2020 年 12 月 13 日 下午 12:15 
Feel free to poke around at the files and let me know if you find or fix anything. I'll likely install ArmA in the next few days and look at it myself as well. Thanks for helping out with debugging :)
Millenwise 2020 年 12 月 13 日 上午 2:10 
"Script hal_autopilot\fn_ApplyAuto.sqf not found"

But I saw that you said you don't have Arma 3 installed anymore, so no dramas. I'd still be happy to have a look at it myself though and pass you the results.