Jump to content

flightwusel

Members
  • Posts

    38
  • Joined

  • Last visited

  • Donations

    0.00 USD 

Everything posted by flightwusel

  1. sim/operation/override/override_planepath is an integer array. -- Define override dataref for plane path local dr_override_planepath = XPLMFindDataRef("sim/operation/override/override_planepath") -- Function to set override (1 to override, 0 to disable override) function setOverridePlanePath(override) XPLMSetDatai(dr_override_planepath, override) end if you want to continue to use the XPLM... functions continue here (I know you refactored your code already... here's an official example using it for example https://github.com/X-Friese/FlyWithLua/blob/master/FlyWithLua/Scripts (disabled)/VFR weather.lua#L6) Your error "attempt to call a nil value (global 'XPLMFindDataRef')" should come from something else. I am certainly using them in my scripts and do not have any special things in ./FlyWithLua/Modules apart from what the default installation brings. You have to use XPLMSetDatavi( DataRef, table, inIndex, inMax ) to set the array value. (See docs https://github.com/X-Friese/FlyWithLua/blob/master/docs/FlyWithLua_Manual_en.pdf page 86). XPLMSetDatavi(dr_override_planepath, { [0] = override }, 1, 1) -- (or maybe [1] = ..., I dont know currently how it works when you only want to start writing from index 1)
  2. FlyWithLua has XPLMFindDataRef(), XPLMSetDataf(), ... built-in like Ahmet uses them. You do not have to do the `require("ffi")` dance to use them. By the way I like this explicit API more than the implicit variable binding with dataref(). So what you do with DataRefs looks totally correct. I stumbled over your readPlaneData() which only sets local variables ("local" is the function scope in this case [https://www.lua.org/pil/4.2.html]) but does not return anything. But you are not using that function anywhere so we can also ignore that. So it must be something about the DataRefs to set AI plane positions and angles. It wouldn't explain random jumping, but maybe you have to set sim/operation/override/override_planepath? (array index 1 for AI #1). I've found a reference to it here https://forums.x-plane.org/index.php?/forums/topic/219328-controlling-ai-aircraft-in-x-plane-11/&do=findComment&comment=2375823 (mentioning that it had to be set on every frame). Maybe you can get some ideas from https://forums.x-plane.org/index.php?/files/file/50534-formation-flying-flywithlua-script/
  3. FF had premium prices before. But I don't regret the B767 ($120 for the Global Package) because I enjoy it a lot and it has a unique function (execute checklists). It sounds they integrated something like that now again with their Co-pilot functions. (I really don't care for their extensive crew and ground functions but that seems to be a trend among aircraft developers and the buyership seems to like it?) $75 for a buggy X-Crafts E-Jet is hefty, but $90 for a FlightFactor widebody seems reasonable to me. Personally I don't know yet if I will get it.
  4. Yeah, prices have sky-rocketed with COVID and are still higher. For VATSIM a simple cheap one will do when you are in a quiet environment. What I always look out for is an USB connection rather than an audio cable because even very cheap ones will have an integrated soundcard circuitry matching the specific microphone - and in my experience that always leads to better voice. I currently use a simple Jabra Evolve 20 MS and am very happy with it. For very good, nice sounding voice (for video conferencing) I like Logitech. But unfortunately the 2 or 3 of the H390 series that I had all had problems with the plastics after some years.
  5. Having multiple views is certainly a missing feature in X-Plane. I liked it in FS4 🙂
  6. Ignore the path that Navigraph draws there. That's not correct: a) because it doesn't do an alignment turn. b) the path shown is for approach categories A&B, your chart is for C&D. Ignore all dashed lines. That is the missed approach. Thanks @Overload for the better chart 🙂 With that out of the way, you'll arrive at the NDB 3000ft+ (in your case from the North), do an alignment turn just as you would when entering the holding (inbound course 297°, left turns) there. From your inbound course it would be a teardrop entry. After this alignment turn you'll be on course 297° directly inbound to the NDB. That's where the procedure wants you (IAF often includes direction, not just location). Assuming approach categories C or D, you leave the NDB on QDR ("radial", but we don't use that word for NDBs) 277° 2500ft+, at DME 5 ICDF you descend to 2200ft, at DME 8 you do a standard turn (3°/sec) to an intercept course of the ILS. Latest at DME 6 you shall have the LOC intercepted (+/- 1 dot) and be on 2200ft. Then follow the glideslope down. That's what I would fly when cleared for the whole procedure ("cleared ILS 12 out of CDF") without any vectors.
  7. Yes mostly (Lua), apart from the X1000 plugin which does only the display of the engine instruments as far as I know. You ask because you want to interface with it? That should be easy.
  8. Well it's out for XP12 since over half a year, has 10.000 downloads, 80+ thanks and 40+ reviews. You are daily on the forums and haven't noticed it yet? Of course it is great and Vlad's video is, too. https://forums.x-plane.org/index.php?/files/file/89178-king-air-c90b-evo-g1000-blackhawk/ Their great Wiki: https://mgateno.github.io/JP_Evo/
  9. Interesting (around 44:25). I believe he did that with footage from a second X-Plane instance (on a second machine networked aka "External Visuals" – although 2 X-Plane instances on the same machine work that setup is not officially supported and of course stupidly resource-intensive). My guess is he did it during post-editing of the video.
  10. Unfortunately we do not have that in X-Plane. There is only 1 camera position.
  11. I guess you need to provide more information. I see them just fine with 3.0.8 (X-Plane).
  12. Of course I am also very interested in the new scenery format but information is just too "cloudy" about it currently. "Streaming-friendly" for example is just a bullet point and does not explain what they have in mind. I hope they come across with more technical details soon. Also I have been bitten to read too much into their announcements before (for example the weather rewrite, although nice, fell short of what I expected from their early presentations). But an EC135 coming to X-Plane and Austin working on rotary wings flight model does not leave too much room for interpretation 🙂
  13. Helicopter flight model refinements and an Airbus H135/Eurocopter EC 135 sound great 🙂
  14. If you are keen for a fantastically made twin for XP12, I recommend the Jetstream Seneca II. It is not on the.org shop for a reason and goes under the radar for too many I think. I foresee this will be GA product of the year 2024!
  15. It also only supports the most obscure operating system 😉
  16. The default avionics matter a lot. I've come to actually really like the G430 (the G530 and G1000 are ok, too) but it took me a while to like it and get over the initial aversion. But something with touch screens would be great (RealityXP does not support Linux/Mac).
  17. It must be coming from a process and that must receive more information than the currently accessed texture filename or it is going to be very boring. The process should also be able to signal X-Plane that it shall reload a specific texture (because newer data allows to display it in higher quality now). That's what I mean by they really have to think big enough. If they do, developers will be hyped to build the next-gen AutoOrtho. Interesting times, I hope for new information on the dev blog 😉
  18. Scenery system "Streaming friendy" (9:25). I haven't expected that! I have been asking for an API to deliver single MipMaps to the sim to get rid of the current AutoOrtho pseudo-file system workaround. Not sure if they mean that. Ben mentions vendors "lazy-loading" their scenery. I really hope they think big enough here!
  19. I have literally given you the link already.
  20. Yes, you can do it manually. The .zip files are all there. But in the end it won't be quicker.
  21. It seems it is hard to fulfill communication promises. Understandable of course, but somehow unfortunate. I am sure there would be a lot of material for a new dev blog post as well.
  22. You are probably talking about scenery pack download and installation. Be patient. It is downloading all these https://github.com/kubilus1/autoortho-scenery/releases/tag/0.0.54, checking the checksums and unzipping millions of files. And the zip implementation is maybe not the quickest.
  23. In some game benchmarks the 7800X3D score very slightly better. But just within some %. And for most games it is equal (or the other way around). What I've seen often is that 7900X3D is behind 7800X3D and 7950X3D. This site https://www.notebookcheck.com/AMD-Ryzen-9-7950X3D-Desktop-CPU-im-Test-Neues-Gaming-Flaggschiff-mit-3D-V-Cache-auf-Sockel-AM5.704003.0.html (German) still runs the X-Plane 11.11 tests for example. https://imgur.com/IKbmBoo My theory is that having some load on the other cores let's you not reach the advertised max. speed even with very good cooling.
  24. Thanks for the insight 😉 . I hope it will come out significantly better.
×
×
  • Create New...