Jump to content

jfjoubert

Members
  • Content count

    169
  • Joined

  • Last visited

  • Days Won

    5

jfjoubert last won the day on June 19

jfjoubert had the most liked content!

Community Reputation

52 Excellent

About jfjoubert

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    : Cape Town, South Africa

Recent Profile Visitors

1,785 profile views
  1. jfjoubert

    Pause near top of descent

    Hi, If IXEG can just expose the "time/distance to TOD" as a dataref then we can use a Lua script for this. (like on the FFA320) Then everyone can decide for themselves whether they want it or not... It's a win win for all of <flightsim>kind.
  2. jfjoubert

    video tutorial for ixeg speedy copilot

    Just read the included pdf... you have to click on the Oxygen test button to start the preflight procedure.
  3. jfjoubert

    Speedy Copilot

    No, I don't drink and code...
  4. jfjoubert

    Speedy Copilot

    @blocks_off Correct me if I'm wrong but won't your code execute the same steps multiple times until the 22 seconds have passed and r_trigger_shooting_approaches is set to false? It should work if you conditionally check each item and only set it once like this: if os.clock() > r_trigger_start_time +1 then if w_acft_flap ~= 0.5 then w_acft_flap = 0.5 end end Otherwise you might end up hearing all the click sounds in the cockpit when switches are set to a specific position, even though they might already be in that position from a previous loop through the function. Anyway, it could work. I just felt like typing a lot of code...
  5. jfjoubert

    Speedy Copilot

    You're welcome @XPJavelin
  6. jfjoubert

    Speedy Copilot

    As promised... IMPORTANT NOTE TO ALL: This file is not a complete replacement for the original code from @XPJavelin. It simply shows a way of applying some randomness in the procedure steps. Please also note: The code was only modified for the PREFLIGHT Procedure (start with OXYGEN test switch) You can easily change the min and max time (in seconds) for the random delay in the code I re-enabled some of the datarefs and made some "readonly" to be able to do some conditional checks If you don't know FlyWithLUA or LUA or you don't care about the underlying code then wait for an official update from @XPJavelin This will only happen if @XPJavelin wants to incorporate this into his code @XPJavelin I did add comments as far as possible to the code so hopefully it will make sense. Shout if anything is unclear. IXEG_proc.lua
  7. jfjoubert

    Speedy Copilot

    Soon it will be released... I'm just busy testing to avoid a red face.
  8. jfjoubert

    Speedy Copilot

    The problem with the above code is that you cannot have it in a function which is only executed once... you will never get to most of the steps. The current code has a conditional check for PREFLIGHT to see that preflightproc_trigger == 0 and beforestartproc_trigger == 0 and OXYTEST == 1 Now this means that the actual code inside the function will only execute once. On the second pass all the above variables will not meet the condition again. So you will never get to os.clock() > r_trigger_start_time + 4 and further. So one possible solution is to change the conditional check to make sure that the code inside the function is repeated until all steps have been completed. This is what is adding to the clutter because now you have to make sure that you don't repeat a previously executed step and and that all steps are still done in the right order. Anyhow, I will upload my lua file (once done) with my modified code for the PREFLIGHT procedure and you guys can then have a look to see if it's not too much clutter in the code.
  9. jfjoubert

    Speedy Copilot

    I am still trying to see if I can optimise my code (clutter wise and not speed wise). I have absolutely no lags or stutters whatsoever. I will upload as soon as I feel it is worthy of sharing.
  10. jfjoubert

    Speedy Copilot

    Hi @XPJavelin Thanks for this nice script. I see that you mention that all steps are performed "speedily" as you couldn't get delays between steps to work without pausing everything. So I took your code from version 2 and added this "delay" logic and it's working pretty well. It does however clutter the code a bit due to the fact that I'm using os.clock() and checking for how much time passed since the previous step was done. Currently I'm using a random delay of between 0.5 and 1.5 seconds between steps. It gives you the feeling that the copilot is sometimes thinking of what he must do next. I'm pretty sure that someone with more LUA knowledge could probably write better (more elegant) code than what I have done. If you are interested let me know and I will share. PS: I think you should also rename your script to "Not so speedy Copilot" once the random delays have been added.
  11. Hi, I tried this SID with the IXEG and the FFA320 and it seems to be correct. On both aircraft the last point on the SID is TEMAM. I'm using Navigraph cycle 1806.
  12. jfjoubert

    saitek throttle quadrant setup

    Hi, apologies for the delay... So here's the good news. Try the attached FlyWithLUA script and let me know if it's working for you. Once again, please read the section at the top of the file which will describe what you need to do to map your joystick button to toggle the reversers. The "debug" mode is on by default so you can see what is happening... just change the debug_on = true to false to disable the on screen display. Enjoy. ixeg_single_throttle_control.lua
  13. jfjoubert

    saitek throttle quadrant setup

    I'll have a look at adapting the script to work on a single lever... Will let you know once done.
  14. jfjoubert

    saitek throttle quadrant setup

    Glad it's working... I have a Lua script which will activate the thrust reversers independently for each throttle when you pull the lever into the bottom switch position (assuming you use 2 levers to control both engines independently). This will simply "toggle" the reverser on/off and then you simply push the lever forward again to control the amount of reverse thrust you need. Pulling it back into the bottom switch position will deactivate the reverser and normal throttle control will return. This gives you full control on the amount of reverse thrust... not just all or nothing. I also have a Lua script which adds the fuel cutoff commands to X-Plane and I have the 4 buttons beneath the 2 levers mapped to control the fuel cutoff levers. So for the 2 right most levers button T3 is fuel engine 1 on and T4 is fuel engine 1 off and T5 is fuel engine 2 on and T6 is fuel engine 2 off.
  15. jfjoubert

    saitek throttle quadrant setup

    Ah, ok... As far as I know you cannot assign an axis to the fuel levers through the default X-Plane joystick configuration. Attached find a basic FlyWithLua script which you can use to map your joystick axis to the IXEG fuel cutoff levers. Please read the text at the top of the script file which will explain some basic info about what to do... and let me know if you need help. I tested it on my rig and it's working. Just as a thought... the way I have my throttle quadrant set up for the IXEG is as follows: The 2 right most levers (mixture and prop) are configured as throttle 1 and throttle 2 for the IXEG. Then I use a Lua script which will activate the thrust reversers independently for each throttle when you pull the lever into the bottom switch position. This will simply "toggle" the reverser on/off and then you simply push the lever forward again to control the amount of reverse thrust you need. Pulling it back into the bottom switch position will deactivate the reverser and normal throttle control will return. Works a charm. I also have a Lua script which adds the fuel cutoff commands to X-Plane and I have the 4 buttons beneath the 2 levers mapped to control the fuel cutoff levers. Not as nice as having an axis, but then again the fuel is either on or off in my books. Let me know should you be interested in the other scripts. Jean ixeg_fuel_lever_axis.lua
×