Jump to content

59th_Streightholo

Members
  • Posts

    3
  • Joined

  • Last visited

  1. The socket version would be great. With the socket version it can be updated instantly. Editing the export script maybe the takeoffs could be shown too.
  2. Hi! I am wondering if there is a way to change Model Args in export.lua. So i can set an argument from export.lua. Like setting arg{23} to 1. Greet!
  3. Greet to all! I have made a little script that it would turn on and off the smoke depending on the left engine RPM. It uses export.lua ------------------------------------------------------- to section "function LuaExportStart()" insert ------------------------------------------------------- status1 = 3 status2 = 0 ------------------------------------------------------- ------------------------------------------------------- to section "function LuaExportBeforeNextFrame()" ------------------------------------------------------- if (status1 == 1) then if (status1 ~= status2) then LoSetCommand( 78 ) status2 = status1 end end if (status1 == 0) then if (status1 ~= status2) then LoSetCommand( 78 ) status2 = status1 end end local engine = LoGetEngineInfo() if (engine.RPM.left >= 80 ) and (engine.RPM.left <= 100) then status1 = 1 else status1 = 0 end ------------------------------------------------------ This script will make smoke turn on between 80% and 100%. If you press smoke once on start than it will turn off smoke in this range. I have been able to make it work properly so on start you wont get smoke turned on. Greet!
×
×
  • Create New...