Search the Community

Showing results for tags 'script'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • New Member Forums
    • Welcome New Members!
    • Help Using the AVSIM Forums
    • Help Creating an AVSIM Account and Logging on to AVSIM
  • AVSIM Fixed Based Operations (FBO)!
    • Hangar Chat
    • Virtual Reality (VR) Hardware and Games
    • Letters to the Editorial Staff of AVSIM
    • In Memoriam of Tom Allensworth
    • All About Us
    • Crash To Desktop (CTD) Forum
    • The Bargain Hunter's Shack
    • Classified Ads | Want Ads | Swap Meet
    • AVSIM's Round the World Race Forum
    • Review Feedback
    • The File Library General Forum
    • Flight Sim & Aviation User Stories
    • In Memoriam
  • Microsoft Flight Simulator Forums
    • MS FSX | FSX-SE Forum
    • The Microsoft Flight Forum
    • The FS2004 (FS9) Forum
    • Flight Simulator Tips and Tricks
    • Shared Cockpits | Multi-Player Forum for FSX | FSX-SE | P3D
    • MS FSX | FSX=SE | P3D Simconnect Forum
    • FSX | P3D Missions Forum - How To
    • FSX/FSX-SE Aircraft and Panel Design Forum - How To
    • FSX | FSX-SE Scenery Design Forum - How To
    • The Paint Shop - The Aircraft Painter's Forum - How To
    • Mesh Scenery Design - How To
    • TTools for MSFS Forum
    • Add On Developer's Forum
    • DX-10 Discussions, Hints and Help
  • The Prepar3D Forums
    • The Prepar3d Forum
    • Prepar3D Tips, Tricks and How To's
  • The X-Plane Forums
    • The X-Plane General Discussions Forum
    • X-Plane Tips and Tricks
  • Simulator Screen Shots, Real Aviation Photos, & Videos
    • The AVSIM Screen Shots Forum
    • Real Aviation Photos
    • Aviation and Flight Sim Video Forum
  • Hardware & Operating Systems Discussions
    • WIN10 OS Forum
    • WIN8 OS Forum
    • The Win7 OS Forum
    • MOBO | RAM | CPU | HDD | SSD | Desktops | Laptops
    • Monitors | Multi-Monitors | Video Cards | Drivers
    • Hardware Controllers | Joysticks | Drivers
    • Networks | WIFI | Routers | Ethernet | DSL | Cable Modems
  • Commercial Support Forums (Hosted by AVSIM)
    • The PMDG Support Forum
    • FS2Crew Support Forum
    • OldProp Support Forum
    • Mindstar Aviation Support Forum
    • The RealityXP Support Forum
    • The Official DX10 Scenery Fixer Support Forum
    • The Multi-Crew Experience (MCE) Support Forum
    • Virtual Avionics Support Forum
    • Lorby-SI Support Forum
    • Pilot2ATC Users Forum
    • Propair Flight Official Support Forum
    • Icarus Development Forum
    • Remote CDU for Phone / Tablet Official Support Forum
    • Airline2Sim Support Forum
    • SX Airport Design Forum
    • P3D Tweak Assistant (PTA) and RealismShaderPack
    • The simPlugins Support Forum
    • SimSettingsManager Official Support Forum
    • simFDR General Support Forum
    • Blue Sky Star Simulations Support Forum
    • Capt. PERO Support Forum
    • The SkyPilot FSXAssist | P3DAssist Support Forum
    • Flysimware Forum
    • Mid-Atlantic Air Museum Simulations Support
    • Jane Rachel Whittaker - Blue Sock Studios Support Forum
    • FSReborn Series Support Forum
  • User-to-User Support Forums
    • Photo Scenery Support Forum
    • The Carenado Support Forum
    • The Alabeo Support Forum
    • The AS16 and ASCA | Active Sky | Active Sky Next | XPAX Support Forum
    • The VOXATC Support Forum
    • The MILVIZ Support Forum
    • Radar Contact Support Forum
    • The Level D 767 | Wilco PIC 767 Forum
    • The Wilco Publishing and FeelThere Support Forum
  • Virtual Airlines News and Discussion
    • VA News and Announcements
    • VA World!
  • Other Civil Aviation Simulators
    • Terminal Reality's FLY Series
    • Digital Combat Simulators (DCS) Forums
    • The AeroFly Simulator
    • The Outerra 3D Planetary Engine
    • The Flight Unlimited Series
    • The ProPilot Forum
    • The FlightGear Forum
  • Flight Schools
    • The Flight School Hangar
    • So You have Solo'd
    • Preflights
    • Weather - Understanding It and Safe Flight
    • Flight Planning
    • Mountain Flying
    • Float Plane Flying
    • Rotory Winged & Helicopter Flying
  • Freeware Support Forums
    • General Freeware Discussions
    • Little Navmap | Little Navconnect | Little Logbook Support Forum
    • The VATSIM | vPilot | FSInn Unofficial Support Forum
    • The Sweet FX Support Forum
    • The TinMouse Support Forum
    • The TileProxy Project Forum
    • LINDA
    • Desk Pilot - Shared Cockpits
    • Mario Noriega Designs
    • SimLauncherX
    • FreeMeshX Global Support Forum
    • FSLaunchPad
    • PSXseeconTraffic for FSX | P3D
    • Terminal Procedures Forum
    • The Focus on Freeware Forum
    • The FS9 Evolution Forum
    • Ready for Pushback Forum
  • International Language Forums
    • Deutsches Forum fuer die Flusi Gemeinde
    • Türkler için Flight Sim forumu
    • Forum de la Communauté francophone de Simulateur de vol
    • Foro de vuelo virtual en español
    • Forum della Comunità Italiana di Flight Sim
    • O fórum em português
  • Other Forums
    • The Unofficial PSS Forum
    • 777 Studios!
    • Russian Flight Simulation and Aviation
    • Drawbridge Designs Forum
    • VictoriaPlus [Canada] Scenery Forum
    • Other Flight Simulation Software
    • Helicopter and Rotor Head Forum
    • Orbiter and Space Sims
    • Home Cockpit Builders
    • Racing Fools Forum
    • AVSIM User Surveys and Opinion Polls Forum
    • Falcon 4 - Allied Forces
    • The Captain Sim Support Forum


  • Articles
  • AVSIM News
  • File Library News
  • AVSIM Reviews
    • Hardware
    • Aircraft
    • Scenery
  • Product Announcements & Press Releases
  • What's New @ AVSIM
  • Interviews
  • AVSIM Editorials
  • Guest Editorials
  • Obituaries


  • Tom Allensworth's Blog
  • Gaiiden's Scroll
  • Brandon's Box
  • Jess B's X-plane blog thingy
  • Tom_Test's Blog
  • Alpha Floor's Logbook
  • GolfPilot
  • adi518's Blog
  • Chase's Blog
  • The Big Tour
  • Tales of a Wannabe Pilot
  • Farmer Looking Skyward

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







About Me

Found 6 results

  1. I thought some of you might be interested in this new LUA file that is available for the TFDi 717. The hard work was done by a user called @Skipy, who used the FSUIPC event logging to gain all of the MCP's FSUIPC Event IDs. I just tidied up his work in progress and tested it in FSUIPC. :smile: As long as you own FSUIPC Registered version, with this LUA script you can assign keyboard commands to the 717's MCP - all functions work (mode buttons, -/+ knobs like the heading knob, etc), with the exception of the PROF button. This should also help users who use hardware such as the GoFlight modules, that can work with keyboard commands. Cheers.
  2. sikorsky77

    button change not detected

    After a battle with initializing the Pokey Dll device on which i made a post, i found the solution now the lua script loading the dll card seems working the script stored in path .\\modules\linda\libs is called lib-Zpokey56U01 and is loaded with standard libs of Linda here the log 2055204 LUA.1: POKEY56U01 Able to create PoKeys Device object 2055220 LUA.1: POKEY56U01 Start connection in USB mode 2055251 LUA.1: POKEY56U01 Device number is 2055282 LUA.1: 1 2055314 LUA.1: POKEY56U01 mounted and ready to use 2055360 LUA.1: POKEY56U01 Panel_P5601U Lua Script Called 2055392 LUA.1: POKEY56U01 Panel_P5601U Script started 2055438 LUA.1: POKEY56U01 End of Panel_P5601U Main Program i associated Pin 10 of the card to the Battery Switch but nothing change to P3D plane battery Status moving my toggle switch OFF to ON or ON to OFF has no impact on the aircraft itself i made a check with the Pokey 56U Software to see if toggle switch react when i move it from OFF to ON and ON to OFF (to verify Cabling connection) and it is the case the software detect OFF/ON position of the switch the Fuction section Panel_P5601U_Script is executed , but the If Test_button did not detect anything did somebody used Pokey card with lua associated script as this and could help me to understand what are my errors or what i am missing ? below my simple script thanks for your help and/or ideas Thierry -- ================================================================================= -- Initial Setup -- ================================================================================= require "luacom" poKeys = luacom.CreateObject('PoKeysDevice_DLL.PoKeysDevice') if poKeys == nil then ipc.log("POKEY56U01 Unable to create PoKeys Device object") ipc.display("POKEY56U01 Unable to create PoKeys Device object") ipc.exit() else ipc.log("POKEY56U01 Able to create PoKeys Device object") ipc.display("POKEY56U01 Able to create PoKeys Device object") end -- ================================================================================= -- check current physical switch setting and update FSX software switch to match -- ================================================================================= function Panel_P5601U_Script() ipc.log("POKEY56U01 Panel_P5601U Script started") ipc.display("POKEY56U01 Panel_P5601U Script started") -- Check pin 10---------------------------------------------------------------------- if ipc.testbutton(1,10) == true then ipc.log("POKEY56U01 Button 10 Battery ON !!") ipc.display("POKEY56U01 Button 10 Battery ON !!") ipc.writeUD(0x281C, 1) -- toggle switch Battery is ON end if ipc.testbutton(1,10) == true then -- physical switch in ON if ipc.readUD(0x281C) == 1 then -- toggle switch Battery is ON ipc.control(66241) -- toggle switch Battery is ON ipc.log("POKEY56U01 Button 10 Switch Battery is ON") ipc.display("POKEY56U01 Button 10 Switch Battery is ON") end end chk_pin_10 = false chk_pin_10, onoff_pin_10 = poKeys:GetInput(10) if (chk_pin_10 == false) then -- GetInput Failed... Most likely not configured properly -- Put code here to perform for failure else -- We got results from the switch GetInput Function if (onoff_pin_10 == true) then -- Switch at Pin 10 is ON -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 1) -- set Battery to ON ipc.log("POKEY56U01 Button 10 Battery ON !!") ipc.display("POKEY56U01 Button 10 Battery ON !!") else if (onoff_pin_10 == false) then -- Switch at Pin 10 is OFF -- Put code here you wish FSX to perform ipc.writeUD(0x281C, 0) -- set Battery OFF ipc.log("POKEY56U01 Button 10 Battery OFF !!") ipc.display("POKEY56U01 Button 10 Battery OFF !!") else -- Could not determine status of Switch at Pin 10 -- Put code here you wish FSX to perform end end end -- chk_pin_10 ipc.log("POKEY56U01 End of Panel_P5601U Main Program") ipc.display("POKEY56U01 End of Panel_P5601U Main Program") end -- check_switches -- ================================================================================= -- Initial Script Startup -- ================================================================================= connect_usb = true -- true = USB / false = ethernet if (connect_usb == true) then -- Get Number of poKeys Devices Found ipc.log("POKEY56U01 Start connection in USB mode") ipc.Display("POKEY56U01 Start connection in USB mode") no_devices = poKeys:EnumerateDevices() ipc.log("POKEY56U01 Device number is") ipc.Display("POKEY56U01 Device number is") ipc.log(no_devices) ipc.display(no_devices) -- Connect to Device if (no_devices ~= 0) then connect_flag = poKeys:ConnectToDevice(0) -- ipc.log(connect_flag) -- ipc.display(connect_flag) if (connect_flag == true) then ipc.log("POKEY56U01 mounted and ready to use") ipc.display("POKEY56U01 mounted and ready to use") else -- code to perform if ConnectToDevice fails ipc.log("POKEY56U01 Unable to connect poKeys USB Device 1") ipc.Display("POKEY56U01 Unable to connect poKeys USB Device 1") ipc.exit() end else ipc.log("POKEY56U01 Device not enumerated") ipc.Display("POKEY56U01 Device not enumerated") ipc.exit() end else connect_to_ethernet() ipc.log("POKEY56U01 Connected in ethernet") ipc.Display("POKEY56U01 Connected in ethernet") ipc.exit() end ipc.log("POKEY56U01 Panel_P5601U Lua Script Called") ipc.display("POKEY56U01 Panel_P5601U Lua Script Called") Panel_P5601U_Script() -- check physical switch and configure fsx software switch -- ================================================================================= -- Event Section -- =================================================================================
  3. Hi I'm working on an input/output scripting solution for simulators - myself using FSX and Falcon BMS. It's called Sim Script and is going to be a standalone windows application written in Python that offers input/output automation for simulators. Scripts are written in Python - it's very easy to prototype functionality that your favourite simulator might not offer out of the box. Phidget encoder for radio tuning, joystick for gear handle operation, joystick axis partitioned into segments for key presses, etc. , Gear Up! fsx.set("GEAR HANDLE POSITION", "Bool", 0) At the moment one needs to work from source - a distribution package for easy install is coming soon. If you're familiar with Python and want to give this a spin - information is available here Cheers Nils
  4. This little free(donationware) script (now in Version 2) helps to transform most parts of DSF files of X-Plane 10 Global Scenery to the GML format. The GML file then can be opened with most modern GIS tools, like the open source tool QGIS, to visualize the internal data structure of the DSF. DISCLAIMER / IMPORTANT: this tool is only for technically versed / interested persons, who know: how to work with the command line have basic knowledge of scripting languages (especially AWK) do know what GIS means, and how to work with GIS tolls! I will NOT give support/help of any type to people who obviously lack any of these skills! This tool is only for visualization purposes and will in no way help you edit the basic DSF structure! Currently it recognizes these DSF features (and their properties – you can read a lot on them and their use and properties under this link): terrain triangles (physical and overlay) this also means water (.TER)TERRAIN name of terrain type assigned FLAG physical or overlay forests (.FOR) polygons and linesTYPE forest name (FOR) used 1. FLAG strings (.STR)TYPE string name (STR) used 1. FLAG beaches (.BCH) only generic, no type identificationTYPE beach name (BCH) used 1. FLAG lines (.LIN)TYPE line name (STR) used 1. FLAG draped polygon (.POL)TYPE polygon name (POL) used 1. FLAG facades (.FAC)TYPE facade name (FAC) used 1. FLAG autogen blocks (.AGB)TYPE autogen block name (AGB) used 1. FLAG autogen strings (.AGS)TYPE autogen string name (AGS) used 1. FLAG autogen points (.AGP)TYPE autogen point (AGP) used 1. FLAG networks (road, railroad, powerlines) these are currently only identified by their subtype numbers!SUBTYPE number of network segment (road, railroad, powerline) objects (.OBJ)TYPE object name (OBJ) used ORIENTATION rotation of the object You can see a few screenshots showcasing the usage of the resulting GML files in QGIS here: DSF-to-GML v2 script and QGIS It works on Linux, Windows and I think on Mac too. Infos and download is in the Tools / Scripts section of my web site:
  5. jleboff

    Need to Create a Script

    I am seeking help to create a boot script to build a simulator for an aviation museum. I want to boot to windows, open P3D, display and instruction page, push a button to learn to fly take off or land then return to the instruction page when complete. Anyone out there who can help?
  6. Has anyone written a LUA script for FSUIPC to add elevator trim sounds? I want to add a trim clacking sound to my Dassault Falcon 50 but not sure how to implement this via FSUIPC. Thanks Adam