Pitch/Roll Autopilot Mi8 in Version 1.2.10

Moderator: JaBoG32 Stab

Antworten
Benutzeravatar
JaBoG32_Herby
Senior Member
Beiträge: 1742
Registriert: 4. Dez 2009, 11:32

Pitch/Roll Autopilot Mi8 in Version 1.2.10

Beitrag von JaBoG32_Herby » 13. Aug 2014, 08:54

Für alle, die nicht mit dem Bug, der die Funktion des Pitch/Roll-Augmentationkanals des Mi8 Autopiloten verhindert, leben wollen, ist hier die einfache Lösung des Problems.
I have looked into the Mi-8 files and found how to fix it (since the dev´s seems a bit slow to respond).

It took me less than 15 mins to find the culprit by comparing the files with some old ones I have in my DCS Open Beta install...

Find this file:
\DCS World\Mods\aircrafts\Mi-8MTV2\Cockpit\Scripts\device_init.lua

Open it with Notepad (I prefer Notepad++ for Lua files) and then find this line (line:118 with Notepad++):

creators[devices.AUTOPILOT] = {
"Mi8::avAutopilot_Mi8",
LockOn_Options.script_path.."Devices_specs/autopilot.lua",
{{"ElecInterface",devices.ELEC_INTERFACE},
{"GMC", devices.GMK1A},
{"ADI", devices.AGB_3K_RIGHT},
{"LightSystem",devices.LIGHT_SYSTEM}},
LockOn_Options.script_path.."Devices_commands/AUTOPILOT_commands.lua"}


And change it to read:

creators[devices.AUTOPILOT] = {
"Mi8::avAutopilot_Mi8",
LockOn_Options.script_path.."Devices_specs/autopilot.lua",
{{"ElecInterface",devices.ELEC_INTERFACE},
{"GMC", devices.GMK1A},
{"ADI", devices.AGB_3K_LEFT},
{"LightSystem",devices.LIGHT_SYSTEM}},
LockOn_Options.script_path.."Devices_commands/AUTOPILOT_commands.lua"}


Now save the file (better make a backup before changing it).

Voila - Pitch & Roll Channel works again !!


FinnJ
Quelle: http://forums.eagle.ru/showthread.php?t=128251&page=3

Grüße

Herby
Bild

Antworten