Snagar Development Site
  • Home
  • News
  • Plugins
  • Applications
    • Mission-X Editor
    • Mission Installer
    • Scripts
  • Missions
  • Documentation
    • Overview of XML Writing
    • XSD: XML Schema Definition
    • v2.0 Tutorials >
      • intro [v2.0]
      • Triggers and Events [v2.0] >
        • Solution 02 [v2.0]
      • Mission Ending [v2.0]
      • Dropping Object [v2.0]
  • Staff

Mission-X v2.1.24

11/2/2015

0 Comments

 
Hi everyone.

The latest build for mission-x has minor bug fixes and a nice feature addition which was asked by "xplaneuser" from x-plane.org.
But before I'll explain the new feature in this build here are some nice to know facts on this build:
  • For OSX simmers: plugin was built under Yosemite and XCode 6.x which limits the OS version it can support. I only tested the plugin under OSX10.8.x and 10.10.x !
  • Linux was built under VM, but should work (has an issue with my native Linux distro).
The Refuel Rules feature explained:


The idea behind this option, is to limit the plane refuel option. The refuel rules are:
  • Step defined and not global (If the step has the flag, then it will force the rules.
  • The restriction on fuel payload, is only on increasing and not decreasing weight. Meaning, simmer can decrease as much fuel as he/she wants, but once he/she wants to increase the fuel capacity the rules will be forced.
  • Refuel can be done only around "refuel_zone"s.
    This element behaves like "trigger_zone", but is dedicated to fuel.
  • Mission designer needs to define the "refuel_locations" globally (just like store element).
For example, Let us assume that we have a 4 step mission and we want to restrict the plane refuel in all steps.
Therefore we need to define "refuel_rules" under each "step_settings" element.

Example:


<step_settings>

  <refuel_rules restrict_refuel_location="1" />

</step_settings>

Now, if we want to allow the simmer to refuel the plane we need to manually add external tank locations.
This is done just like "store" element but with the flexibility of "trigger_zone" (in some aspects).
Here is an example:
  <refuel_locations>
    <
refuel_zone name="FBMN tank"  type="rad" >
      <refuel_settings>
        <point    lat="-19.975357" long="23.428282" />
        <radius length_mtr="80" />
        <tank _fuel_in_tank_kg
fuel_in_tank_kgfuel_in_tank_kg="" max_fuel_capacity="" />
        
      </refuel_settings>
         
      <event name="onEnter">
        <msg repeat="0" mute_voice="0" ><![CDATA[You entered FBMN fuel area. Stop your plane to refuel.;]]></msg>
      </event>      
             

    </refuel_zone>   
 
    <!-- Refuel point does not mean mission will also prevent manual refuel. You need to set the "refuel_rules" element on each step_settings -->

  </refuel_locations>

This might look complicated at first, but I believe there is some logic in it that you will find plausible.
  • All "refuel_zone" elements are children of "refuel_locations" element.
  • All "refuel_zone"s should have unique name.
  • All "refuel_zone"s must have coordination: "point" element. If we define the type of zone as "poly" then we need at least 3 points.
  • "radius" is only relevant if type of zone is "rad". radius can be in meters: "length_mtr" or nautical miles: "length_nm". Default radius is: "50 meters".
  • You can define External Fuel tank capacity: "fuel_in_tank_kg__", "max_fuel_capacity". If you won't then the tank level will default to "100kg".
0 Comments

    Author

    Creation is something I always wanted to do. Since I'm not that good in painting/writing, I decided to contribute in programming.

    Archives

    October 2019
    August 2019
    February 2019
    January 2019
    December 2018
    November 2018
    August 2018
    July 2018
    April 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    April 2017
    November 2016
    September 2016
    August 2016
    April 2016
    February 2016
    January 2016
    December 2015
    August 2015
    July 2015
    May 2015
    April 2015
    March 2015
    February 2015
    October 2014
    April 2014
    February 2014
    December 2013
    November 2013
    September 2013
    August 2013
    April 2013
    March 2013
    November 2012
    August 2012
    July 2012
    May 2012
    April 2012
    March 2012
    January 2012
    December 2011
    November 2011
    October 2011
    September 2011
    August 2011
    June 2011
    May 2011
    April 2011
    March 2011
    February 2011
    January 2011
    December 2010
    November 2010
    October 2010
    September 2010

    RSS Feed

Powered by Create your own unique website with customizable templates.