Zh/FlightGear新手: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
m (Update forum links)
(One intermediate revision by the same user not shown)
Line 158: Line 158:


* 发行安装包中自带的帮助文档;
* 发行安装包中自带的帮助文档;
* [http://flightgear.org/forums FlightGear 论坛];
* [http://forum.flightgear.org FlightGear 论坛];
* [[FlightGear IRC channel|FlightGear IRC 聊天室]];
* [[FlightGear IRC channel|FlightGear IRC 聊天室]];
* [[Malinglists|FlightGear 用户邮件列表]]。
* [[Malinglists|FlightGear 用户邮件列表]]。
Line 194: Line 194:


=== Support ===
=== Support ===
* Help new users with downloading, compiling, installing and running FlightGear (http://www.flightgear.org/forums or on IRC)
* Help new users with downloading, compiling, installing and running FlightGear (http://forum.flightgear.org or on IRC)
* Provide Ideas & Suggestions, see: [[Feature Requests / Proposals / Ideas]]
* Provide Ideas & Suggestions, see: [[Feature Requests / Proposals / Ideas]]
* Help clean up this wiki
* Help clean up this wiki

Revision as of 19:36, 25 October 2013

Please help to translate this article.

The English version of this article has been updated. There may be additional information on the talk page.

Note some parts of this article have not been updated for 2008


Chinese version of this page is unfinished.
此页面中文版本未完成,请加入翻译的行列


开始

硬件需求

为了流畅地运行FlightGear,您需要一块支持OpenGL的显卡。同时FlightGear 2.0需要OpenGL 2.0或更新版本。大多数现代PC都支持OpenGL。但是如果您的帧频缓慢,请看硬件建议以获得更多建议。

得到Flightgear

您可以在下载页面得到最新的Flightgear。选择适合您系统的源代码或者二进制文件。如果您有足够高的技术水平,且希望一起开发Flightgear,您也可以选择CVS版本。CVS版本通常有很多功能而且支持许多最新开发的飞机,但是也更不稳定而且安装复杂。

在Windows上安装

在Windows安装 Flightgear后,会有一个对话框让您配置路径。

第一行问的是FlightGear可执行文件的位置。请用浏览按钮来选定fgfs.exe的位置(默认安装位置是C:\Program Files\FlightGear\bin\win32\fgfs.exe).

第二行问的是FlightGear主目录。请用浏览按钮来选定data/目录或者进入'data'所在的目录(默认安装位置是C:\Program Files\FlightGear\data)。这也将填充“风景”框。

当您完成了这些默认配置之后,如下所述继续。

在Mac OS X上安装

安装FlightGear 在 Mac OS X是很简单的。只要选择并将Flightgear图标拖入/Applications目录。这样即可。您第一次运行FlightGear,它的图标会在加载机场和飞机信息时在Dock上弹起数次。当GUI向导出现时,请通过点击名称旁的“Gear”按钮来选择飞机和机场。按下"Start flight"就可以启动模拟器。您可以用GUI向导配置更多选项。参见http://macflightgear.sourceforge.net/home/documents/users-guide/ 。

如果你想要从命令行启动Flightgear,运行/Applications/Utilities/Terminal.app并键入以下内容。

cd /Applications/FlightGear.app/Contents/Resources
./fgfs --options..... 

$FG ROOT$FG SCENERY在Mac OS X上并没有定义。 如果您想亲自为命令行指定这些变量,在Terminal.app运行以下内容:

FG_ROOT=/Applications/FlightGear.app/Contents/Resources/data
FG_SCENERY=$FG_ROOT/Scenery

在运行GUI启动器后,$FG ROOT将成为$HOME/Documents/Flightgear/<version>的别名,因此您可以用Finder来浏览数据目录。

配置OpenGL

FlightGear在恰当的OpenGL驱动程序上运行得最棒。如果您不能流畅地运行FlightGear,请参见配置OpenGL

获取风景

A limited set of scenery comes installed with FlightGear, which consists of the area surrounding KSFO.

In FlightGear, scenery is divided into two kinds of data: Objects and Terrain. Objects are the buildings, bridges and radio towers, etc. that represent three-dimensional structures. Terrain represents the contours, elevations and type of ground you fly over.

All object data goes in an Objects directory and all terrain data goes in a Terrain directory. The location of the scenery and its sub-directories depends on your particular installation.

To download Objects and Terrain for FlightGear, go to the FlightGear website and navigate to the Downloads page. On this page follow the link to download scenery from the map. Choose a block from the map where you will by flying. Once the package has downloaded, extract into your FlightGear scenery directory.

The scenery packages available from the FlightGear website contain both Objects and Terrain for the locations.

You may obtain additional and more up to date scenery Objects as they become available through the FlightGear Scenery Database.

Information beyond this brief overview is available in Installing Scenery and Downloading New Flightgear Scenery for Windows XP

Getting Aircraft

To download additional aircraft for FlightGear individually, go to the FlightGear website and navigate to the Downloads page, then choose [Aircraft Downloads http://flightgear.org/Downloads/aircraft-2.0.0/].

Once the aircraft package has downloaded, decompress and extract the archived files onto your computer. You may extract to a temporary directory and move them, or extract directly into the Aircraft directory in FlightGear. This is typically $FG ROOT/data/Aircraft.

See also Installing Aircraft for more documentation.

启动 FlightGear

许多用户选择从命令行(Unix用户的"终端" 或 "shell")启动FlightGear。 此外也可以使用图形界面如Fgrun (FlightGear Launch Control).

启动FlightGear,命令行中输入:

fgfs

按下回车键。启动FlightGear。

倘若FlightGear启动失败,很可能是FlightGear的执行文件不在你的执行路径中。Unix用户只需将执行目录加入path中,重新启动FlightGear。此外,你可以找到'fgfs'路径,输入绝对路径例如:

/usr/games/fgfs

路径与你系统及编译安装时的选择相关。

对于不使用图形界面启动FlightGear,而完全使用命令行交互尤为重要。启动时命令行指定选项,如察看可用飞机、制定飞机/机场、多人联机等等。 参考 命令行参数列表 。命令行参数对于从图形界面FlightGear Launch Control启动的用户来说也非常有用,因为它也可以指定参数。如果你玩的是 FlightGear 1.0.0 参考这个列表 FlightGear 1.0 aircraft names for command line.

列出所有飞机

命令行输入:

fgfs --show-aircraft

列出所有已安装可用的飞机.

选择飞机

命令行输入:

fgfs --aircraft=foo

foo为所选飞机对应目录名。 参看 命令行参数.

联机多人飞行

1rightarrow.png See Howto: Multiplayer for the main article about this subject.

使用键盘和鼠标

如果没有joystick(控制杆) 或者其他控制设备的话也可以用键盘、鼠标来控制你的飞机。使用键盘来飞行可是一件有点难度的事情,所以还是建议使用鼠标配合键盘。当然在起飞之前可以对键盘进行些调整。

在FlightGear可以通过菜单 Help menu来查看键盘相关命令, 查看基本命令 (模拟器相关) ,一般命令 (各机型特有的命令) 。 一个图表会显示相应按键功能。

如果使用鼠标飞行,右击一次然后可以用鼠标控制飞机了,再次右击可以四周看看,再次右击回到普通模式。

进入机舱啦!

第一次进入机舱很惊奇吧?不过别被那么多东西吓着啊!

虚拟机舱在哪?并不是所有 FlightGear 都有内部虚拟机舱的。 (因为 FlightGear被用于很多的研究工程项目里, 有些飞机甚至没有外部的模型。记住, FlightGear 的应用很灵活的。) 2D面板会显示在3D面板之上,前提是2/3D面板存在。 你可以在 View menu(视图菜单)里关闭这个特性。 否则, 当你选中Cockpit View时 FlightGear 一开始你就已经坐在虚拟机舱里了。

或许你会觉得看表盘上的信息有点难度,调整那些仪表同样不容易,使用变焦键来放大信息吧。 'x' 和 Shift-X 键来控制放大机舱内的视点。 使用控制杆上分配了相应功能的按键来把视点转移到你想看的仪表上,然后放大吧。

另一种方法: 右击鼠标直到鼠标显示两个箭头 (像这样 <=>)。现在你可以用鼠标在机舱内移动视角了。 'x' 和 Shift-X 键来缩放机舱内的视点。

Note: Some functions, such as starter or magneto, may be difficult to use or lack "hotspots" to control with your mouse. Especially when flying an aircraft model that is still undergoing development. In this case, look for equivalent controls on a 2D panel or resort to the keyboard. The keyboard controls always work according to the assignments listed on the Help Menu (unless reassigned by an aircraft or configuration). Go to the main window menu, click Help, then click Basic Keys or Common Aircraft Keys.

One of the first steps I take on entering an unfamiliar cockpit is to press Ctrl-C to highlight all the "hotspots" on the 3d cockpit instrument panel. This enables you to easily see where to place the mouse to operate an instrument's controls, buttons, knobs, etc.

Many aircraft offer a help menu specific to that aircraft on the Aircraft Help menu (go to Help, then Aircraft Help.

第一次飞行!

不管任何模拟器特别是对FlightGear,新飞行员最常问的一个问题是”为什么我的飞机老是像左偏?“或许是因为跑道上有侧风,但是主因还是FlightGear提供的增强显示性。一些其他的飞行模拟器做了一些设置,这样飞起来很简单。这些设置主要是减小了一些影响因素,比如螺旋桨力矩和不对称推力,这些因素都是使飞机有向左偏的趋势。(你可以看看这个多了解下 Understanding Propeller Torque and P-Factor )。

在市场销售的模拟器的设置取消了这些因素,因为他们的市场定位仅仅是游戏,gamer,为了各种原因而游戏除了感受现实。尽管与市场上销售的一些模拟器相异,在 FlightGear里这种现实特性总是默认开启的。

FlightGear 里包含了很多现实特性,这些可能使刚入门的飞行员很迷惑。


  • "左偏综合症" ,以为说那个面提到的原因。
  • 磁罗盘转弯错误:磁罗盘在飞行受各种力的影响,在转弯时一个很短的时间里会显示转向相反的方向,这个不是故障。
  • VSI(升降速度表)同样有错误。
  • 水平状况的指示器使用陀螺 (这就是为什么有时叫他方向陀螺),同样受回转仪漂移影响。由于各种因素,方向陀螺需要定期的(大概每15分钟)与磁航向进行校正。

在飞行过程中各种力作用与飞机上的各个系统,仪表;通用作用与人,有时会是与你的直觉不同的。飞行员必须了解并消除这些影响。FlightGear模型中存在各种真实情况中你会遇到的错误。

使用领航设备和自动驾驶仪飞行

为了让新手更清楚点:有些飞机可以使用 Autopilot 菜单开启FlightGear自带的自动驾驶仪。这是一种普通的模式(generic autopilot),不过很多飞机有自己的与现实相符的自动驾驶仪(specific autopilot)。那些提供特定的自动驾驶仪的飞机就要求你在虚拟机舱面板上点击开启自动驾驶仪了-- For aircraft that provide their own autopilot in the cockpit, you must use the autopilot controls available in the virtual cockpit. 当飞机提供自己的自动驾驶仪时FlightGear默认的自动驾驶仪菜单(Autopilot Menu)将会变为灰色不可用。

FlightGear内建了自动驾驶仪。你可以在主窗口的工具栏上找到自动驾驶仪(Autopilot)对话框。 不过只有 a)飞机没有提供自己的自动驾驶仪,或者b)飞机默认使用FlightGear的自动驾驶仪 时才可用。 当当前飞机没有指定自动驾驶仪时将是用默认的。

那些提供自动驾驶仪的飞机里,你必须使用2D或者虚拟机舱来开启自动驾驶仪。Cessna提供了KAP140 autopilot。你不能使用工具栏里的自动驾驶仪菜单,必须使用虚拟机舱里的面板设备。

关于领航的,查看Understanding Navigation

机场和领航设备

当你第一次打开FlghtGear时,不论是使用命令行还是图形界面,你一定想知道可以使用哪些机场。可以使用Google 地图Google MapsFlightGear Online Map for multiplayers(多玩家在线的地图)。 还有 Community Flight Planner

获取帮助

在线聊天

获得FlightGear帮助的最快捷方式是加入 FlightGear IRC 聊天室

电子邮件讨论小组

FlightGear的帮助文档目前比较粗略,而且随着新的功能的开发,文档将不断被改变。这使得聊天成为寻找解决运行FlightGear时有关问题的答案的最佳方式。

帮助文档

以下是几种获取FlightGear帮助的方式:

获得更多详细信息

本页列出了关于FlightGear的,对用户来说很重要的信息。

你已经有足够的知识来享受FlightGear了。你可以通过以下途径了解更多:回到本wiki 的首页,阅读其他部分,阅读学习飞行来了解飞行仪表、领航。


Also, note that those using the CVS version of FlightGear may choose to update their aircraft files through the CVS system.

下面列出了最常见的一些问题。更多常见问题你可以参加 Troubleshooting ProblemsFAQ.

我不想编译 FlightGear

Our website 提供了编译好的多平台(系统)安装软件。当前支持的系统包括 Windows, Linux, Solaris, SGI, Mac OSX 和 FreeBSD. 并不是所有版本都提供这些安装包。

注意:FlightGear的配置非常灵活,你可以通过编辑XML 文件来修改飞机模型或者其他特性,只要你喜欢。当然,这样做没有任何风险,我们鼓励你这么做。同样你也可以与其他FlightGear用户分享你的成果。飞机模型并不是二进制文件,而且一旦你有足够的知识,修改起来很简单。尽管安装文件是二进制的程序,但是FlightGear的绝大部分系统可以通过XML文件和NASAL scripting来修改。

FlightGear 有纸质的手册吗?

欢迎阅读这个 "The Manual" 网址:HTML 或者下载一个 PDF ,当然你也可以打印。

手册并不一定与最新版完全相同,不过对初学者来说是很好的材料。

我能做些什么?

1rightarrow.png See Volunteer for the main article about this subject.

Testing

  • Build the latest CVS code or download snapshots (link)
  • File Bug Reports

Debugging & Profiling

  • Running FlightGear via valgrind to track down memory leaks

Support

Development

  • Writing documentation! Everyone is welcome to contribute to "The Manual"; having at least a little experience with LaTeX makes the task easier. Please contact the authors of The Manual if you would like to add corrections or whole chapters, you may also simply use this wiki to contribute fixes, modifications and new contents.
  • C/C++ Coding:
    • provide source code cleanups (i.e. help in the process of migrating over to a primarily smart pointer-based memory management approach using SGSharedPtr)
    • provide bug fixes Bugs
    • provide enhanced features Feature Requests / Proposals / Ideas
    • provide new features
    • get involved in any of the other FlightGear-affiliated projects
  • Aircraft development (3D modelling, textures, FDMs, scripting)
  • Scenery development