Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X-Plane 12 实用 Lua 脚本集

Practical X-Plane 12 Lua scripts (FlyWithLua). 收集我自己在飞的、日常真正用得上的 XP12 Lua 脚本。

脚本列表

脚本 作用 依赖
Instant Quick-Looks 把「跳转到已保存的 3D 座舱视角」从约 0.5 秒的缓动变成瞬时切换 X-Plane 12 + FlyWithLua
Smart Headphone 模拟主动降噪耳机:把座舱里的发动机低频轰鸣降下去,无线电、语音与告警保持清晰,用一个自定义快捷键开关 X-Plane 12 + FlyWithLua
Nearby METAR & Time 按一个自定义快捷键,弹出可拖动、可缩放的原生小窗口:最近三个可用机场的 METAR(直升机场、水上基地、非铺装/过短跑道自动排除)+ 当前所处时区、Zulu 时间与本地时间,字号按屏幕自动放大 X-Plane 12 + FlyWithLua NG+ 2.8.x

每个脚本都有自己的文件夹,里面包含脚本本体、说明文档(英文原版 + 中文版)。

安装

  1. 确保已安装 FlyWithLua(X-Friese 版,2023 及以后)。

  2. 把需要的 .lua 文件复制到:

    <X-Plane 12>/Resources/plugins/FlyWithLua/Scripts/
    
  3. 启动 X-Plane 或在游戏内执行 Plugins → FlyWithLua → Reload all Lua scripts。

  4. 具体用法见各脚本文件夹内的说明文档。

目录结构

XP12Lua/
  README.md
  LICENSE
  XP_Instant_Quicklook/
    instant_quicklook.lua
    instant_quicklook.README.md          英文说明
    instant_quicklook.README.zh-CN.md    中文说明
  XP_Smart_Headphone/
    smart_headphone.lua
    smart_headphone.README.md            英文说明
    smart_headphone.README.zh-CN.md      中文说明
  XP_Nearby_Weather/
    nearby_weather.lua
    nearby_weather.README.md             英文说明
    nearby_weather.README.zh-CN.md       中文说明

许可

MIT,见 LICENSE。


English

A small collection of practical X-Plane 12 Lua scripts for FlyWithLua.

Script What it does
Instant Quick-Looks Makes X-Plane's "go to saved 3-D cockpit location" snap instantly instead of gliding over ~0.5 s
Smart Headphone Simulates active noise cancelling headphones: fades the engine drone, keeps radio, voices and warnings clear, toggled by one key you bind
Nearby METAR & Time One key pops up a draggable, resizable native window with the METAR of the three nearest usable airports (heliports, seaplane bases and unpaved/too-short runways are filtered out) plus the time zone at your position, Zulu and local time; the text scales with your display

Install: copy the .lua files into <X-Plane 12>/Resources/plugins/FlyWithLua/Scripts/, then Plugins → FlyWithLua → Reload all Lua scripts. See each script's own README for usage.

License: MIT.

About

Practical X-Plane 12 Lua scripts for FlyWithLua

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages