Board index FlightGear Development Aircraft

A310-300 - Another version (download-link in first post)

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

A310-300 - Another version (download-link in first post)

Postby Sascha » Mon Jan 20, 2014 11:14 pm

Hi everyone!

Some time ago, I created an A310-300 model (3D-files and some liveries only) for another project. Since I really like flightgear, like to see my work in action instead of having it rotting somewhere on my HD and due to the fact that - for some reason - all of the A310-links on this website do not work any more, I thought it would be a good idea to share "my" 3D files.

I already tried to enhance the plain AC3D-files to get a simple flightgear-model, but I did no fully succeed. So... Here are my files and a request for help in one post :-)

First: Some pictures. I really love the old Hapag Lloyd livery :-)
Image

Image

Image

Image

As you can see, the model is quite acceptable for a first shot. On the other hand, I was/am just interested in getting some beautiful pictures, so I did not spend to much work to create a fully qualified FG-aircraft. Here´s a list of thinks wich are working and those that are not:

Finished/Usable:
    All Flaps, rudders etc are functional and react to Joystick commands
    The lieveries look good
    Paintkit available
    There´s a FM created with Aeromatic
    Very important for me: The front section really looks like an Airbus.
    Engines: GE-CF6-80C2

Not ready but somehow available later or at least buggy:
    Obviously the windscreen got lost somewhere, I need to add it again
    The polygon-count of the engines is too low, I´ll export a better version
    Whenever I try to use the livery menue (wich was created following the FG-Howto), I get an "nasal runtime error no such member: dialog" error
    The fuselage has no bolts or dirt etc while the wings and engines have

Not available:
    Most important: I don´t have a clue on how to start the engines!
    Any other engine than the GE (but: might follow later)
    Since I don´t have engines, I was not able to animate the fans and gears
    No sound
    No cockpit

So - If you could help me with the engines and menue, I would fix this. Once Everything is settled, I´d also like to provide my paintkit (vector based, created with inkscape) and the first ca. 10 liveries.

For the cockpit - well, as I said in the beginning, I´m the guy looking at aircrafts, not the pilot :-)
But ok, if possible, I´ll continue finishing this baby. Unless some finds and reactivates the old A310-files again.

But first: Here´s the aircraft.
Download-link A310

Minor warning: In this file, I used really big textures (4096x4096).

Have fun!
Sascha


*Edit 2014-02-28: Modified Download-Link
Last edited by Sascha on Fri Feb 28, 2014 9:55 pm, edited 1 time in total.
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Re: A310-300 - Another version

Postby KL-666 » Tue Jan 21, 2014 3:09 am

Was not the Hapag Loyd A310 flying gear down from Greece and barely or not made it to their destination? :-)

Kind regards, Vincent
KL-666
 
Posts: 781
Joined: Sat Jan 19, 2013 2:32 pm

Re: A310-300 - Another version

Postby andylui8 » Tue Jan 21, 2014 6:56 pm

oooo lala!!! posted about the a310 like a day ago now u suddenly released this haha :)
andylui8
 
Posts: 15
Joined: Fri Jun 07, 2013 7:07 pm

Re: A310-300 - Another version

Postby Sascha » Thu Jan 23, 2014 11:49 pm

Hello!

Just spent some time on the A310. It´s flying now - even though it´s just "allways on engines" and Aeromatic. But: I like it :-)
The link can be found in the first post.

Other changes:
    The engines look smoother/round now, no more edges due to low polycon count.
    The windscreen is back (ok, this time I lost the transparency somewhere).
    The fans spin.
    The gears spin and retract.

Some images:
Image

Image

Once I get the livery selection running, The following high-res/vector based liveries will be available:
    Airbus House 90s
    Air France 90s
    Air Transat 00s
    Condor 80s
    FedEx Express 00s
    Hapag Lloys 90s
    KLM 90s
    Lufthansa 90s
    Lufthansa 00s
    Pan Am 80s
    Swissair 90s
    Swissair 00s

Btw: Rembrandt really boost the visual experience. Awesome!

Have fun!
Sascha
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Re: A310-300 - Another version

Postby 747sp » Thu Jan 30, 2014 4:37 pm

looking forward to it! It looks good. Wishing for a good cockpit :D
Last edited by 747sp on Fri Jan 31, 2014 2:27 am, edited 1 time in total.
User avatar
747sp
 
Posts: 95
Joined: Thu Jan 30, 2014 4:35 pm
Callsign: OMS120

Re: A310-300 - Another version

Postby Sascha » Thu Jan 30, 2014 8:31 pm

Hello everyone,

I tried to add some lights to the aircraft but encountered a strange behaviour with the flightgear wizzard, aircraft preview. All of the light-cones and -spheres are rendered:

Image
(The aircraft itself is almost hidden inside the spheres, it´s not invisible)

in xml, I followed the howto and added a condition to disable the spheres unless Rembrandt is enabled:

<model>
<name>Lights-Rembrandt</name>
<path>Aircraft/A310/Models/Lights-Rembrandt.ac</path>
<texture-path>./Liveries</texture-path>
</model>
.....
<animation>
<type>select</type>
<object-name>Lights-Rembrandt</object-name>
<condition>
<property>/sim/rendering/rembrandt/enabled</property>
</condition>
</animation>

In FG itself, everything looks good:
Image

If - as a test - I turn off Rembrandt, the lights are off but there are no spheres/cones:
Image

Can anybody help?
Sascha
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Re: A310-300 - Another version

Postby Gijs » Thu Jan 30, 2014 8:44 pm

Have a close look at the sample code at http://wiki.flightgear.org/Project_Remb ... to_a_model (and pay special attention to nopreview, also listed in the table on the right).
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9544
Joined: Tue Jul 03, 2007 3:55 pm
Location: Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: A310-300 - Another version

Postby Sascha » Thu Jan 30, 2014 9:04 pm

Hey, thanks for the quick response. Unfortunately, the "nopreview" tag is in place, I just did not copy. I am sorry. Here´s the full file content:

Code: Select all
<?xml version = '1.0' encoding = 'UTF-8' ?>
<PropertyList>
 
<model>
 <name>Lights-Rembrandt</name>
 <path>Aircraft/A310/Models/Lights-Rembrandt.ac</path>
 <texture-path>./Liveries</texture-path>
</model>
 

<!--Wing right: green-->
<animation>
   <type>light</type>
   <light-type>point</light-type>
   <name>PositionLightRightWing</name>
   <object-name>lightsphere_right_front</object-name>
   <nopreview/>
   <position>
     <x>6.5381</x>
     <y>22.0</y>
     <z>0.57996</z>
   </position>
   <ambient>
     <r>0.0</r>
     <g>0.0</g>
     <b>0.00</b>
     <a>1.0</a>
   </ambient>
   <diffuse>
     <r>0.0</r>
     <g>0.5</g>
     <b>0.0</b>
     <a>1.0</a>
   </diffuse>
   <specular>
     <r>0.0</r>
     <g>0.5</g>
     <b>0.0</b>
     <a>1.0</a>
   </specular>
   <attenuation>
     <c>0.0</c>
     <l>0.7</l>
     <q>0.1</q>
   </attenuation>
   <near-m>1</near-m>
   <far-m>50</far-m>
 </animation>

 <!--Wing left: red-->
<animation>
   <type>light</type>
   <light-type>point</light-type>
   <name>PositionLightLeftWing</name>
   <object-name>lightsphere_left_front</object-name>
   <nopreview/>
   <position>
     <x>6.5381</x>
     <y>-22.0</y>
     <z>0.57996</z>
   </position>
   <ambient>
     <r>0.0</r>
     <g>0.0</g>
     <b>0.00</b>
     <a>1.0</a>
   </ambient>
   <diffuse>
     <r>0.5</r>
     <g>0.0</g>
     <b>0.0</b>
     <a>1.0</a>
   </diffuse>
   <specular>
     <r>0.5</r>
     <g>0.0</g>
     <b>0.0</b>
     <a>1.0</a>
   </specular>
   <attenuation>
     <c>0.0</c>
     <l>0.7</l>
     <q>0.0</q>
   </attenuation>
   <exponent>1.0</exponent>
   <near-m>1</near-m>
   <far-m>50</far-m>
 </animation>
 
 
 <!--beacon bottom: red-->
<animation>
   <type>light</type>
   <light-type>point</light-type>
   <name>PositionLightBottom</name>
   <object-name>lightsphere_bottom_back</object-name>
   <nopreview/>
   <position>
     <x>6.16771</x>
     <y>0</y>
     <z>-3</z>
   </position>
   <ambient>
     <r>0.0</r>
     <g>0.0</g>
     <b>0.00</b>
     <a>1.0</a>
   </ambient>
   <diffuse>
     <r>0.5</r>
     <g>0.1</g>
     <b>0.0</b>
     <a>1.0</a>
   </diffuse>
   <specular>
     <r>0.5</r>
     <g>0.1</g>
     <b>0.0</b>
     <a>1.0</a>
   </specular>
   <attenuation>
     <c>0.0</c>
     <l>0.9</l>
     <q>0.0</q>
   </attenuation>
   <near-m>2</near-m>
   <far-m>50</far-m>
 </animation>
 
<!--beacon top: red-->
<animation>
   <type>light</type>
   <light-type>point</light-type>
   <name>PositionLightTop</name>
   <object-name>lightsphere_top_front</object-name>
   <nopreview/>
   <position>
     <x>-3</x>
     <y>0</y>
     <z>3.3</z>
   </position>
   <ambient>
     <r>0.0</r>
     <g>0.0</g>
     <b>0.00</b>
     <a>1.0</a>
   </ambient>
   <diffuse>
     <r>0.5.0</r>
     <g>0.1</g>
     <b>0.0</b>
     <a>1.0</a>
   </diffuse>
   <specular>
     <r>0.5</r>
     <g>0.1</g>
     <b>0.0</b>
     <a>1.0</a>
   </specular>
   <attenuation>
     <c>0.0</c>
     <l>0.0</l>
     <q>0.8</q>
   </attenuation>
   <near-m>2</near-m>
   <far-m>50</far-m>
 </animation>
 
 <!--Fin: Left-->
<animation>
   <type>light</type>
   <light-type>spot</light-type>
   <name>FinLightLeft</name>
   <object-name>lightcone_fin_left</object-name>
   <nopreview/>
   <position>
     <x>20.74</x>
     <y>-3.59</y>
     <z>2.1</z>
   </position>
   <direction>
     <x>0.1</x>
     <y>0.8</y>
     <z>1</z>
   </direction>
   <ambient>
     <r>0.0</r>
     <g>0.0</g>
     <b>0.0</b>
     <a>1.0</a>
   </ambient>
   <diffuse>
     <r>1.0</r>
     <g>1.0</g>
     <b>1.0</b>
     <a>1.0</a>
   </diffuse>
   <specular>
     <r>0.5</r>
     <g>0.5</g>
     <b>0.5</b>
     <a>1.0</a>
   </specular>
   <attenuation>
     <c>1.0</c>
     <l>0.004</l>
     <q>0.0005</q>
   </attenuation>
   <exponent>10.0</exponent>
   <cutoff>50</cutoff>
   <near-m>0.1</near-m>
   <far-m>50</far-m>
 </animation>
 
<!--Fin: Right-->
<animation>
   <type>light</type>
   <light-type>spot</light-type>
   <name>FinLightRight</name>
   <object-name>lightcone_fin_right</object-name>
   <nopreview/>
   <position>
     <x>20.74</x>
     <y>3.59</y>
     <z>2.1</z>
   </position>
   <direction>
     <x>0.1</x>
     <y>-0.8</y>
     <z>1</z>
   </direction>
   <ambient>
     <r>0.0</r>
     <g>0.0</g>
     <b>0.0</b>
     <a>1.0</a>
   </ambient>
   <diffuse>
     <r>1.0</r>
     <g>1.0</g>
     <b>1.0</b>
     <a>1.0</a>
   </diffuse>
   <specular>
     <r>0.5</r>
     <g>0.5</g>
     <b>0.5</b>
     <a>1.0</a>
   </specular>
   <attenuation>
     <c>1.0</c>
     <l>0.004</l>
     <q>0.0005</q>
   </attenuation>
   <exponent>10.0</exponent>
   <cutoff>50</cutoff>
   <near-m>0.1</near-m>
   <far-m>50</far-m>
 </animation>
 
<!--Front-->
<animation>
   <type>light</type>
   <light-type>spot</light-type>
   <name>LightFront</name>
   <object-name>lightcone_front</object-name>
   <nopreview/>
   <position>
     <x>-18</x>
     <y>0</y>
     <z>-2.7</z>
   </position>
    <direction>
     <x>-1</x>
     <y>0</y>
     <z>-0.1</z>
   </direction>
   <ambient>
     <r>0.0</r>
     <g>0.0</g>
     <b>0.0</b>
     <a>1.0</a>
   </ambient>
   <diffuse>
     <r>1.0</r>
     <g>1.0</g>
     <b>1.0</b>
     <a>1.0</a>
   </diffuse>
   <specular>
     <r>0.8</r>
     <g>0.8</g>
     <b>0.8</b>
     <a>1.0</a>
   </specular>
   <attenuation>
     <c>1.0</c>
     <l>0.004</l>
     <q>0.0005</q>
   </attenuation>
   <exponent>27.0</exponent>
   <cutoff>180</cutoff>
   <near-m>1</near-m>
   <far-m>180</far-m>
 </animation>

 
<animation>
   <type>select</type>
    <object-name>Lights-Rembrandt</object-name>
   <condition>
      <property>/sim/rendering/rembrandt/enabled</property>
   </condition>
</animation>

<animation>
   <type>select</type>
   <object-name>lightsphere_top_front</object-name>
    <object-name>lightsphere_bottom_back</object-name>
   <condition>
      <equals>
         <property>/sim/model/lights/beacon/state</property>
         <value>1</value>
      </equals>
   </condition>
</animation>

<animation>
   <type>select</type>
   <object-name>lightsphere_right_front</object-name>
   <object-name>lightsphere_left_front</object-name>
   <condition>
      <equals>
         <property>/controls/lighting/nav-lights</property>
         <value>1</value>
      </equals>
   </condition>
</animation>

<animation>
   <type>select</type>
   <object-name>lightcone_fin_right</object-name>
   <object-name>lightcone_fin_left</object-name>
   <condition>
      <equals>
         <property>/controls/lighting/logo-lights</property>
         <value>1</value>
      </equals>
   </condition>
</animation>

<animation>
   <type>select</type>
   <object-name>lightcone_front</object-name>
   <condition>
      <equals>
         <property>/controls/lighting/landing-lights</property>
         <value>1</value>
      </equals>
   </condition>
</animation>


</PropertyList>


Actualy I copy&pasted the content of the howto (and removed the optional dim-factor).

Sascha
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Re: A310-300 - Another version

Postby Gijs » Thu Jan 30, 2014 9:34 pm

Hm, maybe it doesn't work that way when the light model is included like that... Try placing the nopreview tag in the <model> block.
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9544
Joined: Tue Jul 03, 2007 3:55 pm
Location: Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: A310-300 - Another version

Postby Sascha » Thu Jan 30, 2014 9:58 pm

Sorry, no success:

<model>
<name>Lights-Rembrandt</name>
<path>Aircraft/A310/Models/Lights-Rembrandt.ac</path>
<nopreview/>
<texture-path>./Liveries</texture-path>
</model>

By the way: What do you mean with "... is included like that..."? How else can I include the spheres?
My setup right now:

AIRCRAFTROOT/A310-308-set.xml
<model> <path>Aircraft/A310/Models/A310-308.xml</path> [...] </model>

AIRCRAFTROOT/Models/A310-308.xml
<model> <name>Lights-Rembrandt</name> <path>Aircraft/A310/Models/Lights-Rembrandt.xml</path> [...] </model>

AIRCRAFTROOT/Models/Lights-Rembrandt.xml
[as posted before]

Sascha
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Re: A310-300 - Another version

Postby Sascha » Thu Jan 30, 2014 10:51 pm

Hm, something is weird. Next to my visible light-spheres, the windscreen transparency is gone. I start believing there´s something wrong with the overall structure of my files or whatever. At least the windscreen has been transparent for some time.

I tried to use the 787 as an orientation: The windscreen is a single object in blender, transparency is set to ca. 0.5, no specific texture - just like the 787.

In blender, everything is ok:
Image

In FG, the screen is dark:
Image

In models/A310-308.xml, there´s a shader:
<animation>
<type>shader</type>
<shader>chrome</shader>
<texture>glassshade.png</texture>
<object-name>windscreen</object-name>
</animation>
(just like it is for the 787)

It does not matter wether I remove this animation or not, the screen stays dark.

I´m done for today. If anybody would like to have a closer look: Thank you. You´ll find this buggy file (v0.3) in this special link:
http://www.iterations.de/A310v03.zip

Once it´s less buggy, I´ll update the link in the first post.

Changes so far:
    Added wingtip navlights, beacons, fin- and front lights (always on/off, controll via property tree)
    Included slats into flaps-animation
    Added an animation which replaces the fan with a blurry disc if the RPM goes up

Sascha
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Re: A310-300 - Another version

Postby jormapaappa1235 » Thu Jan 30, 2014 11:40 pm

jormapaappa1235
 
Posts: 160
Joined: Fri Apr 05, 2013 5:52 pm
OS: Windows 7, Ubuntu

Re: A310-300 - Another version

Postby Sascha » Fri Jan 31, 2014 5:09 pm

Hi!

Thank you! As far as I can see, everything you had to do was moving the animation-section into the fuselage-properties? Or was there something else?

Sascha
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Re: A310-300 - Another version

Postby jormapaappa1235 » Fri Jan 31, 2014 5:40 pm

I also added "<path>Fuselage.ac</path>" into the Fuselage.xml and deleted the model-section.
jormapaappa1235
 
Posts: 160
Joined: Fri Apr 05, 2013 5:52 pm
OS: Windows 7, Ubuntu

Re: A310-300 - Another version

Postby Sascha » Mon Feb 10, 2014 9:02 pm

Just applied these changes to all of the other "sub"-xmls.
With success: Now the lightcones are invisible in fgrun preview - just as they should.
Thank you again for the hint!

Seems the fg-engine / xml-interpreter does not like a <model>-section inside a file wich is included via <model><path>...

What I still was not able to figure out is the "change livery" functionality.
I follow the official tutorial:
http://wiki.flightgear.org/Livery_over_MP
The menue appears and everything seems to be ok. But once I hit the menue item, nothing happens and instead I get an

"Nasal runtime error: no such member: dialog
at /sim/bindings/menu/binding[77], line 1"

The problem looks similar to this one:
https://code.google.com/p/flightgear-bu ... ail?id=199

But: I have no relative paths. My commandline is:

Code: Select all
C:\Spiele\Simulation\FlightGear\bin\Win32\fgfs.exe --enable-rembrandt
  --fg-root=C:\Spiele\Simulation\FlightGear\data
  --fg-scenery=C:\Spiele\Simulation\FlightGear\data\Scenery;C:\Spiele\Simulation\FlightGear\scenery;C:\Spiele\Simulation\FlightGear\terrasync
  --airport=LGSA
  --aircraft=A310-308
  --parkpos=Apron-62
  --control=joystick
  --enable-game-mode
  --enable-random-objects
  --enable-horizon-effect
  --enable-enhanced-lighting
  --enable-ai-models
  --enable-ai-traffic
  --disable-real-weather-fetch
  --enable-clouds3d
  --geometry=1024x768
  --bpp=32
  --texture-filtering=2
  --timeofday=noon
  --atlas=socket,out,5,localhost,5505,udp


Has anybody encountered this problem as well? I´d really like to enable my liveries and share them :-)

Sascha
Sascha
 
Posts: 62
Joined: Sun Mar 03, 2013 4:31 pm

Next

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 18 guests