Board index FlightGear Development Aircraft Cockpit development

Need to improve Dash 8 - 3000 cockpit

Discussion about creating 2d and 3d cockpits.

Need to improve Dash 8 - 3000 cockpit

Postby openflight » Wed Jan 18, 2012 1:37 am

Hi

The Dash 8 loads and runs in FGFS 1.0, however instrumentation is sparse.

The Beech 1900D cockpit standard is better, with a nice autopilot as well.

How do I add the instruments, and will it be compatible for version 2.0 and 2.4 as well?

Part of instruments.xml file:


dhc8_20090218.zip

<?xml version="1.0"?>

<!--
**********************************************************************
This file selects the instrumentation modules that should be available.
**********************************************************************
-->

<PropertyList>

<adf>
<name>adf</name>
<number>0</number>
</adf>

<airspeed-indicator>
<name>airspeed-indicator</name>
<number>0</number>
<total-pressure>/systems/pitot/total-pressure-inhg</total-pressure>
<static-pressure>/systems/static/pressure-inhg</static-pressure>
</airspeed-indicator>

<altimeter>
<name>altimeter</name>
<number>0</number>
<static-pressure>/systems/static/pressure-inhg</static-pressure>
</altimeter>

adf.xml file:


<?xml version="1.0"?>

<PropertyList>

<path>adf.ac</path>

<animation>
<type>material</type>
<object-name>ADFface</object-name>
<object-name>ADFneedle</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>

<animation>
<type>rotate</type>
<object-name>ADFface</object-name>
<property>instrumentation/adf/rotation-deg[0]</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>

<animation>
<type>rotate</type>
<object-name>ADFneedle</object-name>
<property>instrumentation/adf/indicated-bearing-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>

</PropertyList>
openflight
 
Posts: 487
Joined: Fri Sep 16, 2011 12:14 pm
Version: 1 2 2018
OS: Linux Mint 19.3

Re: Need to improve Dash 8 - 3000 cockpit

Postby Figaro » Wed Jan 18, 2012 1:54 am

To be honest, I'd say one would want to improve the Dash8's exterior model first.

However, theoretically, one can transplant the B1900Ds cockpit, however, as they are different aircraft, it's unlikely that in real life, they're the same.


Cheers,
User avatar
Figaro
 
Posts: 1312
Joined: Fri Feb 25, 2011 10:23 pm
Callsign: 4L-FIG
OS: Ubuntu/Win10

Re: Need to improve Dash 8 - 3000 cockpit

Postby openflight » Wed Jan 18, 2012 1:55 am

Terminal gives me this: Ubuntu 10.04



osgDB ac3d reader: could not find texture "Aircraft/fokker50/Models/mainpanel.rgb"
Could not find at least one of the following objects for animation:

gmt

Could not find at least one of the following objects for animation:

lt

Could not find at least one of the following objects for animation:

ft

Could not find at least one of the following objects for animation:

et

Could not find at least one of the following objects for animation:

R.slat

Could not find at least one of the following objects for animation:

L.slat

Could not find at least one of the following objects for animation:

LHengFire.001

RHengFire.001

Could not find at least one of the following objects for animation:

Fuel.off

Could not find at least one of the following objects for animation:

Fire.test

Could not find at least one of the following objects for animation:

Indselect.toggle

Could not find at least one of the following objects for animation:

Lnd.toggle

Could not find at least one of the following objects for animation:

Taxi.toggle

Could not find at least one of the following objects for animation:

Nav.toggle

Could not find at least one of the following objects for animation:

Bcn.toggle

Could not find at least one of the following objects for animation:

Strb.toggle

Could not find at least one of the following objects for animation:

Batt.toggle

Could not find at least one of the following objects for animation:

LHgen.toggle

Could not find at least one of the following objects for animation:

RHgen.toggle

Could not find at least one of the following objects for animation:

Flaplever

Could not find at least one of the following objects for animation:

LHprop

Could not find at least one of the following objects for animation:

RHprop

Could not find at least one of the following objects for animation:

LHcondition

Could not find at least one of the following objects for animation:

RHcondition

Could not find at least one of the following objects for animation:

FLG.door

Could not find at least one of the following objects for animation:

Lfuel.cutoff

Could not find at least one of the following objects for animation:

Rfuel.cutoff

Could not find at least one of the following objects for animation:

Firetest.bezel

Could not find at least one of the following objects for animation:

LHind.select

Could not find at least one of the following objects for animation:

RHind.select

Could not find at least one of the following objects for animation:

Lnd.bezel

Could not find at least one of the following objects for animation:

Taxi.bezel

Could not find at least one of the following objects for animation:

Nav.bezel

Could not find at least one of the following objects for animation:

Bcn.bezel

Could not find at least one of the following objects for animation:

Strb.bezel

Could not find at least one of the following objects for animation:

Batt.bezel

Could not find at least one of the following objects for animation:

LHgen.bezel

Could not find at least one of the following objects for animation:

RHgen.bezel

FGMultiplayMgr - No receiver port, Multiplayermode disabled
Electrical System ... ok
system ...Check
VHF-22 ... OK
VIR-32 ... OK
Chronometer ... Check
openflight
 
Posts: 487
Joined: Fri Sep 16, 2011 12:14 pm
Version: 1 2 2018
OS: Linux Mint 19.3

Re: Need to improve Dash 8 - 3000 cockpit

Postby f-ojac » Wed Jan 18, 2012 8:50 am

Note that it will be difficult for most of us to help you, as I think no one over here is using FG 1.0 anymore. But more help on how to design a cockpit is on the wiki. But please, before all, check that this aircraft has not been updated since.
f-ojac
 
Posts: 1304
Joined: Fri Mar 07, 2008 10:50 am
Version: GIT
OS: GNU/Linux

Re: Need to improve Dash 8 - 3000 cockpit

Postby openflight » Sun Jan 22, 2012 6:43 am

I have donwloaded and installed the latest DHC8 version. I have started up FG version 2.0, and checked , the cockpit instruments are still missing. I have not tried the new DHC8 in FG 2, however, assume that the instructions pertain to FG 2.0 and the model is the 2011 DHC8 model.

How do I add an instrument?

In the Wiki:

http://wiki.flightgear.org/Creating_instruments_for_FG

it says to find this : (for example for the ITT gauge) under the section "adding instruments to the aircraft"

<!-- ITT Gauge -->
<model>
<path>Aircraft/fokker50/Models/itt.xml</path>
<offsets>
<x-m>-8.9088</x-m>
<y-m>-0.0811</y-m>
<z-m>-1.0722</z-m>
<pitch-deg>-10</pitch-deg>
</offsets>
</model>


I cannot find any reference to placing the instrument.
openflight
 
Posts: 487
Joined: Fri Sep 16, 2011 12:14 pm
Version: 1 2 2018
OS: Linux Mint 19.3

Re: Need to improve Dash 8 - 3000 cockpit

Postby Figaro » Sun Jan 22, 2012 6:58 am

Well the latest version will likely not work with 2.0 due to the fact that the latest version is for 2.4 :/ Coding evolved ALOT between the two releases, you know.

I'd highly highly suggest updating either to 2.4 or a development snapshot.

Cheers,
User avatar
Figaro
 
Posts: 1312
Joined: Fri Feb 25, 2011 10:23 pm
Callsign: 4L-FIG
OS: Ubuntu/Win10

Re: Need to improve Dash 8 - 3000 cockpit

Postby openflight » Sun Jan 22, 2012 8:40 am

Well I found the XML file! Will keep you posted!
openflight
 
Posts: 487
Joined: Fri Sep 16, 2011 12:14 pm
Version: 1 2 2018
OS: Linux Mint 19.3

Re: Need to improve Dash 8 - 3000 cockpit

Postby openflight » Sun Jan 22, 2012 12:01 pm

Done!

Added VSI model files from B1900D, then added the code to the XML file. Positioning took time, because Y direction is to the left and right and up and down is X? Z?

Shows vertical speed as well. Now for the PFDS

Will check if it works in 2.0
openflight
 
Posts: 487
Joined: Fri Sep 16, 2011 12:14 pm
Version: 1 2 2018
OS: Linux Mint 19.3

Re: Need to improve Dash 8 - 3000 cockpit

Postby openflight » Mon Jan 23, 2012 1:03 am

Works in 2.0 as well. Did a circuit in the Dash 8 in the WIndows version (running in UBUNTU on WINE) at 640 x 480 resolution getting between 5 and 18 fps.

Autostart did not work for some reason??
openflight
 
Posts: 487
Joined: Fri Sep 16, 2011 12:14 pm
Version: 1 2 2018
OS: Linux Mint 19.3

Re: Need to improve Dash 8 - 3000 cockpit

Postby openflight » Tue May 15, 2012 10:07 am

Redirect to the Forum listed on Dash 8 wiki


viewtopic.php?f=4&t=1748&st=0&sk=t&sd=a
openflight
 
Posts: 487
Joined: Fri Sep 16, 2011 12:14 pm
Version: 1 2 2018
OS: Linux Mint 19.3


Return to Cockpit development

Who is online

Users browsing this forum: No registered users and 1 guest