Ramp Marshall

From FlightGear wiki
Revision as of 15:03, 7 August 2013 by Omega1174 (talk | contribs)
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.

Independant Ramp Marshall

Omega95 has been working on a Nasal-based Ramp Marshall script. That was a prototype only to test the general script and the animations. He's now working on a larger system similar to the animated jetways to generalize this and make the animations independant.

Adding Ramp Marshall Compatibility to Aircraft

It's actually very simple to add ramp marshall compatibility to an aircraft, the only file required to be edited is the aircraft's -set.xml file. (or common xml file for aircraft groups) The user is still required to use some kind of 3D modeling program to get the position.

1. Open the Aircraft's model file (containing the gears) with a 3D modeling program and get the x position of the bottom of the nose gear. (Or the position you want to rest at the ramp)

File:A330-ramp-position
A330-200 Ramp Marshall Compatibility - getting position with ac3D

2. Add the following code within the <sim> ... <model> ... </model></sim> tags in the aircraft's -set.xml file. (or common xml file for aircraft groups)

<ramp>

   <x-m type="float">-15.9664</x-m>
   <class type="string">2</class>

</ramp>

The x position from the 3D model is in the <x-m> tag and the aircraft class is in the <class> tag. With the current models, the aircraft classes are as follows -

  • 0 - 747s, 777-300s, A340s, A380s
  • 1 - 777-300s, A330-300s, 787s
  • 2 - A330-200s, 757s, 767s
  • 3 - A320s (includes A318s, A319s and A321s), 737s and other aircraft in general. This works for CRJs, E-jets etc.

This should be all! The ramp marshall should be able to recognize the aircraft and guide it to the right position at the ramp!

Related