Board index FlightGear Development Aircraft

Tu-154B for FlightGear - some screenshots

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: Tu-154B for FlightGear - some screenshots

Postby yurik_nsk » Tue Jan 18, 2011 8:54 am

Hi all!

So i suppose the standard 1, 2, 3, 4, 5, etcetera shortcuts should be unlocked now and work like in different planes?


Yes, you are right.

I don't check model with MAC, and I suppose, users of different notebooks may have similar problem. If you want, you may change model shortcuts to another keys, by edit tu154b-set.xml, or change throttle control by edit keyboard.xml.
yurik_nsk
 
Posts: 171
Joined: Wed May 30, 2007 7:57 am
Location: Novosibirsk, Russia

Re: Tu-154B for FlightGear - some screenshots

Postby Ernest1984 » Tue Jan 18, 2011 3:44 pm

Well, i checked that today, and even if i changed "1 2 3 4 5" keys to "Shift + 1 2 3 4 5", they still changing the view, so still, i can't control the throttle, and i can't zero the steers with "5", what was the standard in any other aircraft. :?
EPWA-hub: ERJ-195 clsgn: ERNIE
-----------------------------------
Around The World with B1900D!
callsign: AROUNDw - currently suspended till the FG will have a proper look on different locations
User avatar
Ernest1984
 
Posts: 438
Joined: Wed Dec 01, 2010 4:47 pm
Location: Poland / Canada
Callsign: ERNIE
Version: 2.10
OS: Mac OS X 10.8.2

Re: Tu-154B for FlightGear - some screenshots

Postby Tuxklok » Tue Jan 18, 2011 4:37 pm

Ernest1984 wrote:Well, i checked that today, and even if i changed "1 2 3 4 5" keys to "Shift + 1 2 3 4 5", they still changing the view, so still, i can't control the throttle, and i can't zero the steers with "5", what was the standard in any other aircraft. :?

That shouldn't be, how have you changed the xml to be shift + num? You can post the relevant part of the xml here..enclosed in code tags.

cheers
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1320
Joined: Tue Apr 21, 2009 7:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux

Re: Tu-154B for FlightGear - some screenshots

Postby Ernest1984 » Tue Jan 18, 2011 7:27 pm

Code: Select all
    <key n="33">
      <name>!</name>
      <desc>Captain view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(0);</script>
      </binding>
    </key>
    <key n="64">
      <name>@</name>
      <desc>Copilot view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(1);</script>
      </binding>
    </key>
    <key n="35">
      <name>#</name>
      <desc>Navigator view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(2);</script>
      </binding>
    </key>
    <key n="36">
      <name>$</name>
      <desc>Overhead view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(3);</script>
      </binding>
    </key>
    <key n="37">
      <name>%</name>
      <desc>Flight Engineer view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(4);</script>
      </binding>
    </key>
   
<!-- Reverser -->
 <key n="127">
  <name>Delete</name>
  <desc>Full Reverser</desc>
  <repeatable>true</repeatable>
  <!--Start reverser-->
  <binding>
    <command>nasal</command>
    <script>setprop("/fdm/jsbsim/fcs/revers-by-key",1.0);</script>
  </binding>
  <!--Stop reverser--> 
  <mod-up>
    <binding>
      <command>nasal</command>
      <script>setprop("/fdm/jsbsim/fcs/revers-by-key",0.0);</script>
    </binding>
  </mod-up>


Check the columns:
Code: Select all
<key n="X">
      <name>X</name>

So for Shift+1 the key is "!", which code in ascii is "33", etcetera with other keys.
Thats all i changed.
EPWA-hub: ERJ-195 clsgn: ERNIE
-----------------------------------
Around The World with B1900D!
callsign: AROUNDw - currently suspended till the FG will have a proper look on different locations
User avatar
Ernest1984
 
Posts: 438
Joined: Wed Dec 01, 2010 4:47 pm
Location: Poland / Canada
Callsign: ERNIE
Version: 2.10
OS: Mac OS X 10.8.2

Re: Tu-154B for FlightGear - some screenshots

Postby Tuxklok » Tue Jan 18, 2011 7:54 pm

I tried and seems to work perfectly here...perhaps mac is doing something weird with it's keyboard.

Here's what I used that worked for shift+n view change, and number keys worked fine alone.
Code: Select all
    <key n="33">
      <name>!</name>
      <desc>Captain view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(0);</script>
      </binding>
    </key>
    <key n="64">
      <name>@</name>
      <desc>Copilot view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(1);</script>
      </binding>
    </key>
    <key n="35">
      <name>#</name>
      <desc>Navigator view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(2);</script>
      </binding>
    </key>
    <key n="36">
      <name>$</name>
      <desc>Overhead view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(3);</script>
      </binding>
    </key>
    <key n="37">
      <name>%</name>
      <desc>Flight Engineer view</desc>
      <binding>
        <command>nasal</command>
        <script>view.forceView(4);</script>
      </binding>
    </key>


Should always be able use Function/Fn combos like mentioned before. Or just change throttle down from '3' to like '8' or '6' or something in keyboard.xml...and change '5' to something else. Or just get a cheap joystick. ;)

cheers
The Austria Scenery Project - more info
fg-scenery-tools - gitorious | videos
fgcomgui - Open source, cross platform, gui front end for fgcom. more info

More random musings and doings can be found on my personal site. (work in progress)
User avatar
Tuxklok
 
Posts: 1320
Joined: Tue Apr 21, 2009 7:04 pm
Location: Orlando, FL
Callsign: Tuxklok / N1292P
OS: GNU/Linux

Re: Tu-154B for FlightGear - some screenshots

Postby Ernest1984 » Tue Jan 18, 2011 9:50 pm

Still nothing, but i'll try to use another keys for throttle and steer-zeroing, like you said.

EDIT:
Yessss, i've changed some keys for throttle and it works now :)
EPWA-hub: ERJ-195 clsgn: ERNIE
-----------------------------------
Around The World with B1900D!
callsign: AROUNDw - currently suspended till the FG will have a proper look on different locations
User avatar
Ernest1984
 
Posts: 438
Joined: Wed Dec 01, 2010 4:47 pm
Location: Poland / Canada
Callsign: ERNIE
Version: 2.10
OS: Mac OS X 10.8.2

Re: Tu-154B for FlightGear - some screenshots

Postby Barambu2sa » Sun Feb 28, 2016 2:52 pm

A question about this aircraft and latest fllightgear.
Usually on other aircafts i use 1 of numkey or button n°2
of joypad for elevator trim.
But here doesn't work,how to set a key for elevator trim please?
Barambu2sa
 
Posts: 288
Joined: Tue Mar 25, 2008 5:49 pm

Re: Tu-154B for FlightGear - some screenshots

Postby Ger272 » Tue Jul 11, 2017 6:20 pm

Is it usual that the tu154 has a huge radius (nose wheel)?
Ger272 HQ-Liveries on request:
A350, A320, A380 and Transall
User avatar
Ger272
 
Posts: 240
Joined: Tue Nov 24, 2015 2:13 pm
Location: Germany (EDDT, EDDH, EDDC, EDDP, EDDF)
Callsign: LH390/ BER4EVR
Version: 2020.3.8
OS: MacOS 11.3.1

Re: Tu-154B for FlightGear - some screenshots

Postby Soitanen » Tue Jul 11, 2017 8:34 pm

Nosewheel in Tu-154 have two modes: steering and takeoff. Switch is on bottom left part of overhead.
Boeing 737-300. Reworked cockpit, FDM, autopilot and much more. WIP.
Boeing 737-800. WIP. Canvas PFD and ND.
Antonov An-24B. Made from scratch. Very good FDM. 3D model by Adrian. WIP.
Project Russia (some cities, based on OSM with custom objects).
Soitanen
 
Posts: 489
Joined: Sat Jun 16, 2012 7:50 am
Location: Saint-Petersburg, Russia
Version: git
OS: Linux Mint 17

Previous

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 12 guests