See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: [FG] Tuto incompréensible  (Read 6190 times)

0 Members and 1 Guest are viewing this topic.

Offline orbitermat

  • Legend
  • ******
  • Posts: 2257
  • Country: Canada ca
  • Karma: 19
  • Man must explore.
09 September 2013, 23:03:31
Salut, :)

Alors après avoir retrouvé la passion aéronautique, je décide de télécharger Flight Gear. Évidemment au début c'est comme Orbiter on n'arrive pas à voler ou on se crash, donc je regarde le tuto "Startup". Bon la j'arrive à démarrer les moteurs et puis il me dit: "Deviation: 9". Et par la suite il me dit plus rien.

Quelqu'un sait ce que je dois faire ou ce que ça veut dire? :sunk:

Merci! :)


Joffrey

  • Guest
Reply #1 - 11 September 2013, 11:53:39
Salut OrbiterMat,

Ça me rappelle que moi aussi j'avais eu ce message et que je n'avais pas compris. Avec du recul, je pense qu'il faut rouler sur les taxiways en prenant la direction 90° ...


Offline orbitermat

  • Legend
  • ******
  • Posts: 2257
  • Country: Canada ca
  • Karma: 19
  • Man must explore.
Reply #2 - 11 September 2013, 22:24:42
Ahhh je vois. :)

Merci! :) :wor:


Joffrey

  • Guest
Reply #3 - 11 September 2013, 22:49:42
Tu me dira si c'était cela ;)


Offline orbitermat

  • Legend
  • ******
  • Posts: 2257
  • Country: Canada ca
  • Karma: 19
  • Man must explore.
Reply #4 - 12 September 2013, 23:32:10
Non finalement c'est pas ça. MAIS, cela s'affiche à la fin du tuto, donc c'est normal qu'à la fin il ne s'affiche plus rien, et je crois que c'est le nombre "d'erreurs" que j'ai fait ou le nombre de fois qu'il a répété. :)

Premier aterrissage --> Succès! Avec le Cessna CitationX.

Dis, tu utilises la souris ou le pavé numériques toi?


Joffrey

  • Guest
Reply #5 - 13 September 2013, 10:45:55
Dis, tu utilises la souris ou le pavé numériques toi?

Ni l'un ni l'autre, j'utilise un joystick "Thrustmaster" T.Flight Stick X, c'est beaucoup plus immersif et simple pour piloter. Il ne coûte pas très cher aussi.



Comme à l'époque Flightgear ne gérait pas tout les axes de ce joystick, j'ai du écrire un pilote en xml, qui a été intégré par la suite dans Flightgear. Donc celui-ci est complètement compatible.


Offline Fox-Terrier

  • League of
  • Legend
  • ******
  • Posts: 1426
  • Country: Switzerland ch
  • Karma: 28
  • :D
Reply #6 - 13 September 2013, 17:51:35
Comme à l'époque Flightgear ne gérait pas tout les axes de ce joystick, j'ai du écrire un pilote en xml, qui a été intégré par la suite dans Flightgear. Donc celui-ci est complètement compatible.

Wow ! Ben chapeau ! J'en connais plus d'un qui aurait laissé tomber ! :trucdeouf:


Joffrey

  • Guest
Reply #7 - 13 September 2013, 18:04:55
Wow ! Ben chapeau ! J'en connais plus d'un qui aurait laissé tomber ! :trucdeouf:

Merci, mais honnêtement ce n'était pas très compliqué, j'ai du regarder d'autres pilotes pour voir "comment ça marche" et après j'ai rassemblé des petits bouts de code pioché ici et là.


Offline antoo

  • Legend
  • ******
  • Posts: 3659
  • Country: France fr
  • Karma: 179
  • MSFS ❤️
Reply #8 - 13 September 2013, 18:34:04
Ouais ben c'est quand même incroyable pour moi qui ne touche pas du tout à la progra informatique... Chapeau.

---------------------------------------------------------------------------------------------------
"ET C´EST PARTI!!" Youri Gagarine au lancement de vostok 1 le 12 avril 1961

Joffrey

  • Guest
Reply #9 - 13 September 2013, 19:06:50
Tenez, voici le pilote en xml, basé à 90% de copié-collé et de bricolage :

J'ajoute qu'il y a des bouts de code que je n'ai jamais compris, mais qui fonctionnait

Code: [Select]
<?xml version="1.0"?>
<!--
Bindings for THRUSTMASTER T.Flight Stick X based on presets from the constructor.
by Joffrey
-->
<PropertyList>
<name>T.Flight Stick X</name>
<name>Thrustmaster T.Flight Stick X</name>
<axis n="0">
  <desc>Aileron</desc>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/aileron</property>
   <squared type="bool">true</squared>
  </binding>
</axis>
<axis n="1">
  <desc>Elevator</desc>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/elevator</property>
   <factor type="double">-1.0</factor>
   <squared type="bool">true</squared>
  </binding>
</axis>
<axis n="2">
  <desc>Increase/Reduce Throttle</desc>
  <binding>
   <command>nasal</command>
   <script>controls.throttleAxis()</script>
  </binding>
</axis>
<axis n="3">
  <desc>Rudder Left/Right</desc>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/rudder</property>
   <factor type="double">1.0</factor>
  </binding>
</axis>
<axis n="6">
  <desc>View Direction</desc>
            <low>
            <repeatable>true</repeatable>
            <binding>
             <command>property-adjust</command>
             <property>/sim/current-view/goal-heading-offset-deg</property>
             <step type="double">2.0</step>
            </binding>
            </low>
            <high>
               <repeatable>true</repeatable>
                    <binding>
                     <command>property-adjust</command>
                     <property>/sim/current-view/goal-heading-offset-deg</property>
                     <step type="double">-2.0</step>
                  </binding>
             </high>
       </axis>
      <axis n="7">
          <desc>View Elevation</desc>
           <low>
            <repeatable>true</repeatable>
               <binding>
                  <command>property-adjust</command>
                  <property>/sim/current-view/goal-pitch-offset-deg</property>
                  <step type="double">-2.0</step>
               </binding>
           </low>
           <high>
           <repeatable>true</repeatable>
             <binding>
               <command>property-adjust</command>
               <property>/sim/current-view/goal-pitch-offset-deg</property>
               <step type="double">2.0</step>
             </binding>
            </high>
        </axis>
<button n="0">
  <desc>Brakes</desc>
  <binding>
   <command>nasal</command>
   <script>controls.applyBrakes(1)</script>
  </binding>
  <mod-up>
   <binding>
    <command>nasal</command>
    <script>controls.applyBrakes(0)</script>
   </binding>
  </mod-up>
</button>
<button n="1">
  <desc>Change View</desc>
  <binding>
   <command>nasal</command>
   <script>view.stepView(1)</script>
  </binding>
</button>
<button n="2">
  <desc>Trim Nose Up</desc>
  <repeatable type="bool">true</repeatable>
  <binding>
   <command>nasal</command>
   <script>controls.elevatorTrim(1)</script>
  </binding>
</button>
<button n="3">
  <desc>Trim Nose Down</desc>
  <repeatable type="bool">true</repeatable>
  <binding>
   <command>nasal</command>
   <script>controls.elevatorTrim(-1)</script>
  </binding>
</button>
<button n="4">
  <desc>Extend Flaps Incrementally</desc>
  <repeatable>false</repeatable>
  <binding>
   <command>nasal</command>
   <script>controls.flapsDown(1)</script>
  </binding>
  <mod-up>
   <binding>
    <command>nasal</command>
    <script>controls.flapsDown(0)</script>
   </binding>
  </mod-up>
</button>
<button n="5">
  <desc>Retract Flaps Incrementally</desc>
  <repeatable>false</repeatable>
  <binding>
   <command>nasal</command>
   <script>controls.flapsDown(-1)</script>
  </binding>
  <mod-up>
   <binding>
    <command>nasal</command>
    <script>controls.flapsDown(0)</script>
   </binding>
  </mod-up>
</button>
<button n="7">
  <desc>Landing gear Up/Down</desc>
  <repeatable>false</repeatable>
  <binding>
   <command>nasal</command>
   <script>controls.gearToggle()</script>
  </binding>
</button>
</PropertyList>
<!-- end of T.Flight Stick X.xml -->

« Last Edit: 01 July 2019, 17:19:30 by Joffrey »

Offline orbitermat

  • Legend
  • ******
  • Posts: 2257
  • Country: Canada ca
  • Karma: 19
  • Man must explore.
Reply #10 - 14 September 2013, 01:54:07
Quand on contrôle avec la souris, c'est difficile car parfois il faut abandonner le pilotage pour naviguer dans le VC et appuyer sur les boutons... :bug:

Question: Quelqu'un sait comment rentrer les volets sur le Boeing 777? Je clique partout près de la commande des volets, ils sortent mais rentrent pas... :worry:

Mais sinon je commence à controler et c'est super! J'ai presque envie de devenir pilote de ligne! :)