Hi all,
I propose adding two items to the ATC/AI Options menu.
The first one will enable users to set the speed of carrier Nimitz.
The second will set Nimitz speed to 0 and place it at the it's start up
location. This will allow MP players to place Nimitz at the same location
without editing configuration files.
See here for a screen capture.
http://pics.ww.com/v/coulee182/fgfs-screen-073.jpg.html
Best Regards,
Paul B
If there is no objection please add following to; data/gui/dialogs/atc.xml.
<input>
<halign>left</halign>
<label>Set Nimitz Speed</label>
<name>nimitz-speed</name>
<width>10</width>
<height>25</height>
<property>/ai[0]/models[0]/carrier[0]/controls/base-speed-kts</property>
</input>
<binding>
<command>dialog-apply</command>
<object-name>nimitz-speed</object-name>
</binding>
<button>
<legend>Set Nimitz Speed 0, Default Location</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
setprop("/ai[0]/models[0]/carrier[0]/controls/base-speed-kts", 0.0);
setprop("/ai[0]/models[0]/carrier[0]/velocities/speed-kts", 0.0);
setprop("/ai[0]/models[0]/carrier[0]/controls/tgt-heading-degs",
200.0);
setprop("/ai[0]/models[0]/carrier[0]/orientation/true-heading-deg",
200.0);
setprop("/ai[0]/models[0]/carrier[0]/orientation/pitch-deg", 0.0);
setprop("/ai[0]/models[0]/carrier[0]/orientation/roll-deg", 0.0);
setprop("/ai[0]/models[0]/carrier[0]/position/latitude-deg", 37.80);
setprop("/ai[0]/models[0]/carrier[0]/position/longitude-deg",
-122.60);
</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel