FGSignMaker

From FlightGear wiki
Jump to navigation Jump to search
This article or section contains obsolete information.

Please refer to WorldEditor instead.

FGSignMaker
Version 1.5.0
Version 1.5.0
Developed by skyop
Initial release 0.5.0
Latest release 1.5.0
Written in (X)HTML, JavaScript
Platform Cross-platform
Development status Abandoned (2010)
License GNU General Public License

FGSignMaker is a (X)HTML/JavaScript-based (a.k.a. web-based) tool to generate taxiway sign codes for FlightGear licensed under the GNU General Public License. It can be used in conjunction with the UFO and your favorite plain text editor to add taxiway signs for FlightGear. The latest release available is version 1.5.0.

Web browser compatibility

Known compatible browsers

FGSignMaker 1.5.0 is known to work well with the following web browsers:

  • Google Chrome
  • Internet Explorer 6 not recommended, due to JavaScript/CSS bugs and for just being a horrible browser in general)
  • Internet Explorer 7, 8, 9
  • Mozilla Camino
  • Mozilla Firefox 3.6
  • Opera 9
  • Safari

Most wanted

These browsers are "most wanted". If FGSignMaker works correctly under one of these browsers, please add them to the list above.

  • Arora
  • Chromium

Interface

Sign preview

Sign preview

The sign preview, which updates automatically as you modify the sign code, gives you a rough (but fairly accurate) idea of how your sign will look when in FlightGear.

Sign code box

Sign code box

The sign code text box displays the actual code for the taxiway sign. You can insert glyphs here and type custom text. The "Select All" button selects all the text in this box and the "Clear" button deletes all the text without warning.

Character counter and syntax checker

Character counter/syntax checker

The character counter (the "Character 15" in this screenshot) displays your cursor's position in the sign code box. It is mostly useful for debugging. The syntax checker is an automatic tool that checks for misplaced braces ({ and }) and space characters (they are invalid, underscores _ must be used instead).

Glyph inserter

Glyph insertion tools

Last but certainly not least, the glyph inserter allows you to place predefined taxiway types and features. Currently it includes the four FAA-standard types implemented in FlightGear (L858-Y, L858-R, L858-L, L858-B), a line (vertical pipe |), and a no-entry sign.

Placing taxiway signs

A taxiway sign in FlightGear (background) and in FGSignMaker (inset)

This tutorial explains how to add taxiway signs to FlightGear along with FGSignMaker. You are highly encouraged to add taxiway signs to your favorite airport, even if they are somewhat inaccurately placed.

Step 1: Launch FlightGear

Step 1

First things first, we'll launch FlightGear in the UFO at the airport we will be working on (in this case KSFO). Here I will be using my fancy Linux terminal, but FGRun will also suffice.

Step 2: Place taxiway sign(s)

Step 2

With FlightGear loaded, fly the UFO to the location of the sign you want to place. Press the spacebar (or l-key) to bring up the model select dialog, choose $FG ROOT/Aircraft/ufo/Models/sign.ac and click where you want to place the new sign. Alt+Click the terrain to reposition the sign if need be. Press tab to bring up the adjustment dialog and use the heading slider and arrows to turn the sign. For more information on this process, see Howto: Place 3D objects with the UFO.

Step 3: Build your sign in FGSignMaker

Step 3

Now we create the actual taxiway sign code in FGSignMaker. In this case, a pilot looking at the sign would be on taxiway Delta, taxiway Charlie would be on the left, the end of runway 36L would be right in front, and the end of runway 18R would be on the right. To create this sign in FGSignMaker, we would:

  1. Click the L858-Y button
  2. Click the left arrow
  3. Type "C" into the sign code box
  4. Click the L858-L button
  5. Type "D" into the sign code box
  6. Click the L858-R button
  7. Type "36L-18R" into the sign code box
  8. Click the right arrow

Step 4: Add the sign into the *.stg file

Press the d-key to dump the export data to the command line or fgrun log window. You will see several lines similar to this example:

# w130n30/w123n37/942050.stg
OBJECT_SIGN {@size=10,@material=RedSign}NO_CONTENTS_9072 -122.36162983 37.61539004 0.0118 0.0

------------------------------------------------------------------

As you add more signs and/or scenery objects, this output will grow. The latest object you placed is on the last line.

The most important piece of information we need right now is the *.stg file to edit. This is displayed in the comment (line with the hash # at the front).

# w130n30/w123n37/942050.stg

This tells us that the wanted *.stg file can be found at $FG SCENERY/Objects/w130n30/w123n37/942050.stg - obviously, the path will vary depending on where you placed the sign.

Now open that *.stg file in your favorite plain text editor. Insert the desired OBJECT_SIGN line from the command line output from earlier, like so:

...
OBJECT_SIGN {@size=10,@material=RedSign}NO_CONTENTS_9072 -122.36162983 37.61539004 0.0118 0.0

Now replace the "{@size=10,@material=RedSign}NO_CONTENTS_[random number]" with the taxiway sign code you generated in step 3. Save the file.

Step 5: View your new sign(s) in FlightGear

KBFL taxiway signs made with FGSignMaker

You won't immediately see your changes in FlightGear - you will have to restart the simulator. Once you do, you should be able to see the new taxiway signs.

Submitting your work

If you are happy with your work, please submit it into the FlightGear Scenery Database. See here for more details.

To-do list

  • Implement different sizes for signs

External links