Jump to content

Head shift movement on / off


spinter

Recommended Posts

Andrey Chizh has provided a replacement lua file for those who wish to set the head roll off by default. First, back up the original file here:

\...\Scripts\Aircrafts\Ka-50\Cockpit\Macro_handler.lua
Then replace it with the linked file (you will have to unzip it into the directory):

http://forums.eagle.ru/attachment.php?attachmentid=21840&d=1227617329

 

Alternatively, you can open the original file yourself and alter the code. To turn the head roll function off by default, find the post_initialize() function in the file and alter it to look like this:

function post_initialize()
   if track_is_reading() then
       return
   end
   dispatch_action(nil,492)--head moving off
end

Do not use the Windows Notepad to edit lua files!


Edited by EvilBivol-1

- EB

[sIGPIC][/sIGPIC]

Nothing is easy. Everything takes much longer.

The Parable of Jane's A-10

Forum Rules

Link to comment
Share on other sites

LUA files in BS use 16-bit encoding, notepad uses 8-bit encoding ... in which case if you open a lua file with notepad, and then save it, it is very likely that your game will no longer run.

 

Use notepad++ or something similar instead.

[sIGPIC][/sIGPIC]

Reminder: SAM = Speed Bump :D

I used to play flight sims like you, but then I took a slammer to the knee - Yoda

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...