546
edits
(Syntax highlighting) |
m (→For YASim) |
||
Line 158: | Line 158: | ||
== For YASim == | == For YASim == | ||
For YASim we have to fake the external forces with the thruster. A thruster in YASim is a very simple "thrust only" engine object which not consume any fuel etc. | For YASim we have to fake the external forces with the thruster. A thruster in YASim is a very simple "thrust only" engine object which does not consume any fuel etc. | ||
=== .xml (FDM) === | === .xml (FDM) === | ||
So we add | So we add the following lines to our yasim.xml: | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<thruster x="19.246" y="0.00" z="-2.7" vx="1" vy="0" vz="0" thrust="20000"> | <thruster x="19.246" y="0.00" z="-2.7" vx="1" vy="0" vz="0" thrust="20000"> | ||
Line 168: | Line 168: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
For the coordinates use the same | For the coordinates use the same as the coordinates of the Nosegear. The thrust itself is in lbs- don't set it too high! 1/3 of the aircraft's empty mass should be enough! | ||
Then we just have to add our [[Menubar|menu]] dialog. A generic one is available at <tt>$FG_ROOT/gui/Dialogs/pushback.xml</tt>. Add the following lines to include it in the Equipment menu of the aircraft. Note: if the menubar and default tags are already there, you do | Then we just have to add our [[Menubar|menu]] dialog. A generic one is available at <tt>$FG_ROOT/gui/Dialogs/pushback.xml</tt>. Add the following lines to include it in the Equipment menu of the aircraft. Note: if the menubar and default tags are already there, you do not need to add them again. Just place the stuff between them. | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
Line 206: | Line 206: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Note: If the aircraft author didn't use gear/gear[0]/steering-norm for ground steering, the pushback model won't be | Note: If the aircraft author didn't use gear/gear[0]/steering-norm for ground steering, the pushback model won't be turned with the nosegear | ||
Done! Now you have Pushback on your favourite YASim-Model! | Done! Now you have a Pushback on your favourite YASim-Model! | ||
[[Category:Aircraft enhancement|Implement pushback]] | [[Category:Aircraft enhancement|Implement pushback]] | ||
[[Category:Howto|Implement pushback]] | [[Category:Howto|Implement pushback]] |
edits