Search the Community

Showing results for tags 'lua'.

Found 9 results

  1. Environment+

    Environment+ View File Hello, and welcome to Enviroment+, or Enviro+ for short! The new and improved mod for your sim environment! The Enviro is what we've done to make the sim so much more immersive, and the + is your contribution to it! We love seeing what people will add on top of it! From skycolours, to cloud textures, to tweaks of the .lua itself! This mod primarily came about when I noticed that most other .luas had their clouds placed as much as 7,000+ feet above where they were supposed to be! To bring the weather back down to its proper layer and keep it looking nice was a difficult, time consuming task, but with the help of MagikarpDrowned (Creator of the famous Project Better X-Plane), we've crafted an amazing new environment. This of course isn't simply a .lua tweak, which is why it's not called any old .lua tweak. It's an environment tweak, and that means it comes with cloud textures! Courtesy of FSEnhancer's amazing work laying out the clouds, and Magikarp's tweaks to their already fantastic puffs, we've got some perfect fits for the new environment! I greatly encourage using the skycolours from the aforementioned mod, or Soft Cloud Art's similarly stunning skycolours! But, you may be wondering, "What if the textures tank my FPS? What if it doesn't perform as well? What if I just don't have the VRAM for it?" Well, I had thought about that a lot, and that's why the .lua was primarily built to focus on making the DEFAULT cloud textures as magnificent as possible. If you have performance issues, or just prefer the look, I greatly encourage you try out the default X-Plane 11 cloud textures with this .lua! Which leads me to tell you to MAKE A BACKUP OF YOUR DEFAULT CLOUDS. They can be found in Resources/bitmaps/world/clouds. Now, the .lua was designed to be the tweaking man's .lua, so if you encounter issues, performance or visual, dive into the .lua! I've written down some notes and suggestions within it for you to be mindful of, and I highly encourage you toy around with the various settings to see what sticks with you! To install Enviro+, dive into the Enviro+ folder and place Resources in your X-Plane installation folder, right where the .exe is! It'll ask you to overwrite some cloud textures. If you use vanilla or other cloud textures that you don't wish to replace right now, simply choose not to overwrite, and everything else will install as planned! I hope you enjoy Enviro+, and I can't wait to see how it might evolve in the future! Take care, and have at 'er! Requires FlyWithLua https://forums.x-plane.org/index.php?/files/file/38445-flywithlua-complete-edition-for-x-plane-11-windows-linux-mac-os-x-version/ Clouds courtesy of FSEnhancer, without it I wouldn't have such fitting clouds to go with the .lua! Do please check out their Skycolours too! Ooh and ESPECIALLY their sun textures! Their sun textures in particular are stupidly amazing! https://forums.x-plane.org/index.php?/files/file/41411-fsenhancer-alpha-version/ Shoutout to Soft Cloud Art for inspiring me to finish up the finer details of this .lua, and also having some amazing Skycolours of its own! https://forums.x-plane.org/index.php?/files/file/40952-soft-cloud-art/ Submitter Dusty926 Submitted 01/10/2018 Category Plugins and Utilities
  2. Environment+

    Version 1.0.2

    205 downloads

    Hello, and welcome to Environment+, or Enviro+ for short! The new and improved mod for your sim environment! The Enviro is what we've done to make the sim so much more immersive, and the + is your contribution to it! We love seeing what people will add on top of it! From skycolours, to cloud textures, to tweaks of the .lua itself! This mod primarily came about when I noticed that most other .luas had their clouds placed as much as 7,000+ feet above where they were supposed to be! To bring the weather back down to its proper layer and keep it looking nice was a difficult, time consuming task, but with the help of MagikarpDrowned (Creator of the famous Project Better X-Plane), we've crafted an amazing new environment. This of course isn't simply a .lua tweak, which is why it's not called any old .lua tweak. It's an environment tweak, and that means it comes with cloud textures! Courtesy of FSEnhancer's amazing work laying out the clouds, and Magikarp's tweaks to their already fantastic puffs, we've got some perfect fits for the new environment! I greatly encourage using the skycolours from the aforementioned mod, or Soft Cloud Art's similarly stunning skycolours! But, you may be wondering, "What if the textures tank my FPS? What if it doesn't perform as well? What if I just don't have the VRAM for it?" Well, I had thought about that a lot, and that's why the .lua was primarily built to focus on making the DEFAULT cloud textures as magnificent as possible. If you have performance issues, or just prefer the look, I greatly encourage you try out the default X-Plane 11 cloud textures with this .lua! Which leads me to tell you to MAKE A BACKUP OF YOUR DEFAULT CLOUDS. They can be found in Resources/bitmaps/world/clouds. Now, the .lua was designed to be the tweaking man's .lua, so if you encounter issues, performance or visual, dive into the .lua! I've written down some notes and suggestions within it for you to be mindful of, and I highly encourage you toy around with the various settings to see what sticks with you! To install Enviro+, dive into the Enviro+ folder and place Resources in your X-Plane installation folder, right where the .exe is! It'll ask you to overwrite some cloud textures. If you use vanilla or other cloud textures that you don't wish to replace right now, simply choose not to overwrite, and everything else will install as planned! I hope you enjoy Enviro+, and I can't wait to see how it might evolve in the future! Take care, and have at 'er! Requires FlyWithLua https://forums.x-plane.org/index.php?/files/file/38445-flywithlua-complete-edition-for-x-plane-11-windows-linux-mac-os-x-version/ Clouds courtesy of FSEnhancer, without it I wouldn't have such fitting clouds to go with the .lua! Do please check out their Skycolours too! Ooh and ESPECIALLY their sun textures! Their sun textures in particular are stupidly amazing! https://forums.x-plane.org/index.php?/files/file/41411-fsenhancer-alpha-version/ Shoutout to Soft Cloud Art for inspiring me to finish up the finer details of this .lua, and also having some amazing Skycolours of its own! https://forums.x-plane.org/index.php?/files/file/40952-soft-cloud-art/
  3. vSpeed callouts for IXEG 733 View File Hello Captains! I made a simple LUA-script for v-speed callouts. It includes callouts for 80 knots, V1, Vr, V2 (V2 is optional) and positiv rate / gear up. The script is tested on X-Plane 10.51 and X-Plane 11 on Windows 10. Feel free to leave a comment if you liked the script (or not) Requirement: - You will need FlyWithLua installed - http://forums.x-plane.org/index.php?/files/file/17468-flywithlua-for-xp9-and-xp10/ Installation: - Unzip the files in [X-Plane]\Resources\plugins\FlyWithLua\Scripts You should get a structure something like this. Settings:Edit the IXEG_vSpeed.lua for the settings. Set to true to enable "V2" callout and false to disable. true and false have to be written with lowercase letters.Enable_V2 = false Set to true to enable "Positive rate/Gear up" callout and false to disable. true and false have to be written with lowercase letters. EnablePosGearUp = true Sync the First Officers speedbugs with what you set on Captain side. Default = false. true and false have to be written with lowercase letters. SyncSpeedBugs = false Change "SoundLevel" to adjust volume for the callouts. Adjust between 0.10 min - 1.00 max (default 0.55) SoundLevel = 0.55 How to use: This is how I use the bugs. It may not be correct compared to real procedures. The required bugs you need to set for the call out to work is Bug_2 to V1 speed, Bug_3 to Vr speed, and set the MCP speed to V2 (if you use V2 callout). You can set the other bugs to whatever you prefere. Demo: Known bugs/limitations: - Speed bugs can only be set on Captains side. Credits: @xplana for his excellent voice for the callouts For support, please visit: http://forums.x-pilot.com/forums/topic/12002-lua-script-vspeed-callouts/ Submitter Tom Stian Submitted 12/07/2016 Category Plugins and Utilities
  4. Hello Captains! I made a simple LUA-script for v-speed callouts. It includes callouts for 80 knots, V1, Vr, V2 (V2 is optional) and positiv rate / gear up. The script is tested on X-Plane 10.51 and X-Plane 11 on Windows 10. Feel free to leave a comment if you liked the script (or not) Requirement: - You will need FlyWithLua installed - http://forums.x-plane.org/index.php?/files/file/17468-flywithlua-for-xp9-and-xp10/ Installation: - Unzip the files in [X-Plane]\Resources\plugins\FlyWithLua\Scripts You should get a structure something like this. Settings:Edit the IXEG_vSpeed.lua for the settings. Set to true to enable "V2" callout and false to disable. true and false have to be written with lowercase letters.Enable_V2 = false Set to true to enable "Positive rate/Gear up" callout and false to disable. true and false have to be written with lowercase letters. EnablePosGearUp = true Sync the First Officers speedbugs with what you set on Captain side. Default = false. true and false have to be written with lowercase letters. SyncSpeedBugs = false Change "SoundLevel" to adjust volume for the callouts. Adjust between 0.10 min - 1.00 max (default 0.55) SoundLevel = 0.55 How to use: This is how I use the bugs. It may not be correct compared to real procedures. The required bugs you need to set for the call out to work is Bug_2 to V1 speed, Bug_3 to Vr speed, and set the MCP speed to V2 (if you use V2 callout). You can set the other bugs to whatever you prefere. Demonstration: Known bugs/limitations: - Speed bugs can only be set on Captains side. Credits: @xplana for his excellent voice for the callouts Changelog: v0.111- Made variables and datarefs unique to avoid conflicts with other lua scripts. v0.110 - Minor optimizing of the script. v0.109 - Added setting to sync the speed bugs on First Officers side with what you set on Captains side. v0.108 - Added setting to adjust volume for the callouts- Added setting to disable "Positive rate/Gear up" callout v0.107 - Speed bugs did not reset. Fixed v0.106 - Reseting speed bugs when loading script. To avoid callouts if you dont have set the bugs. - Some adjustment to the sounds. (not so much right panning). v0.105 - Changed the default for V2 callout to false (disabled) v0.104 - Fixed V1 callout when starting X-Plane/loading aircraft v0.103 - Fixed "Positive rate / Gear up" -callout when V2 is disabled v0.102- Added setting to disable V2 callout v0.101 - Fixed compability with X-Plane 10 v0.100 - inital version You can download the script here: http://forums.x-pilot.com/files/file/1029-ixeg-vspeeds-callouts/
  5. I occasionally experience soft crashes when entering flightplans - attached is the most recent one that happened when entering a flightplan for KMIA - KIAH flight; the route I tried to enter is WINCO2 WINCO J43 LBV DCT SRQ DCT REDFN Q100 LEV LINKK1. The crash happened as I was trying to set the STAR. Before that I made several mistakes on the arrivals page, so changed STAR and runway a few times. I'm running X-Plane 10.51 with updated Nav Data (AIRAC 1703 from Navigraph). 737 is at version 1.0.7.
  6. Version 0.111

    656 downloads

    Hello Captains! I made a simple LUA-script for v-speed callouts. It includes callouts for 80 knots, V1, Vr, V2 (V2 is optional) and positiv rate / gear up. The script is tested on X-Plane 10.51 and X-Plane 11 on Windows 10. Feel free to leave a comment if you liked the script (or not) Requirement: - You will need FlyWithLua installed - http://forums.x-plane.org/index.php?/files/file/17468-flywithlua-for-xp9-and-xp10/ Installation: - Unzip the files in [X-Plane]\Resources\plugins\FlyWithLua\Scripts You should get a structure something like this. Settings:Edit the IXEG_vSpeed.lua for the settings. Set to true to enable "V2" callout and false to disable. true and false have to be written with lowercase letters.Enable_V2 = false Set to true to enable "Positive rate/Gear up" callout and false to disable. true and false have to be written with lowercase letters. EnablePosGearUp = true Sync the First Officers speedbugs with what you set on Captain side. Default = false. true and false have to be written with lowercase letters. SyncSpeedBugs = false Change "SoundLevel" to adjust volume for the callouts. Adjust between 0.10 min - 1.00 max (default 0.55) SoundLevel = 0.55 How to use: This is how I use the bugs. It may not be correct compared to real procedures. The required bugs you need to set for the call out to work is Bug_2 to V1 speed, Bug_3 to Vr speed, and set the MCP speed to V2 (if you use V2 callout). You can set the other bugs to whatever you prefere. Demo: Known bugs/limitations: - Speed bugs can only be set on Captains side. Credits: @xplana for his excellent voice for the callouts For support, please visit: http://forums.x-pilot.com/forums/topic/12002-lua-script-vspeed-callouts/
  7. Saab A340 - console pops up with error

    Hello all, I know this topic has been issued earlier, but I want to start a new one because I'm experiencing it right now. When I start the Saab, I get no audio, all the doors are open, and the propellor has a strange look when it spins. I did contact support, just a few minutes ago, but wasn't able to attach the logs, so I try to throw the bone in here as well. I attached the screenies, and added the gizmo & x-plane logs... Please keep in mind that all my joysticks are unplugged (my Track-IR isn't) Please help me to get this baby flying in all the glory she deserves! Thank you very much! GizmoLog.txt Log.txt
  8. Local or global

    A short question for a short programming advice. Due to the event model of the SDK it is very difficult to use very few (or none) global variables. Because many variables are used in more then one function, or because of efficiency reasonsI do some preparation in the OnBoot() function and later on in the OnUpdate()I manipulate the loop of X-Plane with the same variables. I have learned (myself) to prevent global variables as much as possible. In the documentation of LUA I read that local variables are faster dan global variables. So I am considering to assignthe global variables first to local variables and then use it in the different functions. What is the good programming strategy in Gizmo? ... or do i have to accept global variables as part of the game. Is assigning globals to locals more efficient thant using globals directly?
  9. OpenGL Questions

    Hallo Together I'd like to start this topic for all those, who have question about OpenGL programming like I have I try to make a EFIS completely independed of the panelmaker. My actual problem is, I like to rotate a texture. Therefore I use "gl.rotate(angle, 0,0,1)" to rotate around the z-axis. It is rotating around z but allways on the left bottom corner of the texture. I thought when I translate the texture with it's center to the [0,0,0] it will rotate around this coordinate, but it's allways rotating around the bottom left corner of the texture. I tried some things I found in the net about this topic like gl.MatrixMode('TEXTURE') and gl.MatrixMode('MODELVIEW'), but with this XP is getting a little bit crazy! How it is working to rotate around the texture center? Thanks in advance Cheers Daniel