Board index FlightGear Development Aircraft

Twin Otter Viking upgrade DHC6-300+

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

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sat Apr 11, 2020 11:02 am

Here is my version back on GitHub
https://github.com/SurferTim/dhc6p

Edit: This is the version with the new landing lights. If they give you problems, let me know.
I'm still working on the autopilot now and then. I don't like the way the ALT engages while climbing.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby wkitty42 » Sat Apr 11, 2020 4:02 pm

SurferTim wrote in Sat Apr 11, 2020 9:50 am:It's not listed as a 300+. It will show as DHC6-300 (PA6-34 engines) or something like that.

the craft is definitely available in FGAddon and via the launcher's download... PT6A-34 engines...

Image

i do see this error on loading, thought... it is then followed by some others but i think this one is the initial problem...
Code: Select all
  612.03 [ALRT]:instruments Unknown top level section in instrumentation: heading-indicator-real-dg
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9123
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Thu Apr 30, 2020 11:05 am

I modified the engine sounds on my version.
The prop sound is the same, but I added an N1 (high pitched turbine compressor whine) frequency and volume determined by throttle.
Use the link in my signature.
Now it sounds like a turboprop. I rode in a U21 (King Air BE90) a couple times a long time ago, and this is the sound I remember.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby scarymovie » Sat May 09, 2020 5:02 pm

SurferTim, I appreciate all your hard work and dedication to improve this version of the DHC-6.

I noticed that the "squeal" sound isn't working during landing when the gears touch the ground. Is there something missing in the code?

Code: Select all
<squeal>
            <name>squeal2</name>
            <mode>once</mode>
            <reference-dist>20.0</reference-dist>
            <max-dist>40.0</max-dist>
            <path>Sounds/squeal2.wav</path>
            <condition>
                <and>
                    <property>gear/gear[7]/wow</property>
                    <property>gear/gear[7]/ground-is-solid</property>
                </and>
            </condition>
            <volume>
                <property>gear/gear[7]/wow</property>
            </volume>
            <volume>
                <property>sim/sound/cabin</property>
            </volume>
            <volume>
                <property>velocities/airspeed-kt</property>
                <factor>0.02</factor>
            </volume>
            <position>
                <x>0</x>
                <y>0</y>
                <z>-2</z>
            </position>
        </squeal>
scarymovie
 
Posts: 214
Joined: Wed Nov 21, 2007 3:34 pm
Location: Singapore

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sat May 09, 2020 5:54 pm

I'm working on some of the errors generated from the setlistener stuff. One of these is the squeal sound. I'll get to it.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby scarymovie » Sat May 09, 2020 6:56 pm

SurferTim wrote in Sat May 09, 2020 5:54 pm:I'm working on some of the errors generated from the setlistener stuff. One of these is the squeal sound. I'll get to it.


Sounds good. Thank you so much.
scarymovie
 
Posts: 214
Joined: Wed Nov 21, 2007 3:34 pm
Location: Singapore

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sat May 09, 2020 8:54 pm

They have the wrong array indices. There are two, one for each main wheel.
I have not tried this yet. I'll test it in the morning.
If you want to edit your file and test it, please give it a shot.
Ensure you change both instances of "wow". One is in condition, the other in volume.
Code: Select all
#change this
 <property>gear/gear[6]/wow</property>
 <property>gear/gear[6]/ground-is-solid</property>
#to this
 <property>gear/gear[1]/wow</property>
 <property>gear/gear[1]/ground-is-solid</property>

#change this
 <property>gear/gear[7]/wow</property>
 <property>gear/gear[7]/ground-is-solid</property>
#to this
 <property>gear/gear[2]/wow</property>
 <property>gear/gear[2]/ground-is-solid</property>
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sun May 10, 2020 12:14 pm

It was only the array index problem. Github has been updated.
Kinda a weird tire squeal sound. Maybe there is one better?
I also set this aircraft to use the current YASIM version. Let me know if it causes anybody grief.
https://github.com/SurferTim/dhc6p

Edit: I kinda like the squeak sound now. Not obtrusive, but enough to let you know you are on the ground, and when you bounce.
I never bounce! :lol:
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby scarymovie » Fri May 15, 2020 8:49 am

Hi SurferTim, thank you so much for the update. I will definitely try that out when I have the chance to. And nice landing, way to go! :D

Edit: I also noticed the <volume> tags:
Code: Select all
            <volume>
                <property>gear/gear[6]/wow</property>
            </volume>


and

Code: Select all
            <volume>
                <property>gear/gear[7]/wow</property>
            </volume>


Should I change them too?
scarymovie
 
Posts: 214
Joined: Wed Nov 21, 2007 3:34 pm
Location: Singapore

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Fri May 15, 2020 10:36 am

scarymovie wrote in Fri May 15, 2020 8:49 am:Hi SurferTim, thank you so much for the update. I will definitely try that out when I have the chance to. And nice landing, way to go! :D

Edit: I also noticed the <volume> tags:
Code: Select all
            <volume>
                <property>gear/gear[6]/wow</property>
            </volume>


and

Code: Select all
            <volume>
                <property>gear/gear[7]/wow</property>
            </volume>


Should I change them too?

Glad you like it.
Yes, those should be changed also.
I've posted the changes to my Github page.

Edit: I like the tire squeak so much I included it on my Citation-X also.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby scarymovie » Fri Mar 05, 2021 4:57 am

Hi SurferTim, Hope your 2021 is good so far.

Seems like the lights are not working in the 2020.4 nightly version. Guess it is due to the new renderer framework compositor.
scarymovie
 
Posts: 214
Joined: Wed Nov 21, 2007 3:34 pm
Location: Singapore

Re: Twin Otter Viking upgrade DHC6-300+

Postby dg-505 » Sun Mar 07, 2021 1:52 am

Hi scarymovie,
this bug was indeed caused by the changes in the rendering pipeline, more precisely due to Rembrandt has been removed.
Should be fixed in r5629 in FGAddon.
A mile of road will take you a mile, but a mile of runway will take you everywhere.

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 677
Joined: Mon Jun 02, 2014 3:36 pm
Location: Bonn, Germany
Callsign: dg-505
Version: next
OS: Ubuntu 20.04.4 LTS

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sun Mar 07, 2021 8:06 am

dg-505 wrote in Sun Mar 07, 2021 1:52 am:Hi scarymovie,
this bug was indeed caused by the changes in the rendering pipeline, more precisely due to Rembrandt has been removed.
Should be fixed in r5629 in FGAddon.

I don't hang out here much any more.
What does Remrandt rendering have to do with the ALS lights in the Twin Otter?
Just another fail...
In the military, this aircraft would have a circled red 'X' in the logbook. VFR daytime only.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby dg-505 » Sun Mar 07, 2021 9:07 am

Well, I thought that scarymovie was referring zo the interior lights in his report (flightdeck and cabin lights).
The ALS landing lights work well for me.
A mile of road will take you a mile, but a mile of runway will take you everywhere.

DHC-6 Twin Otter development
User avatar
dg-505
 
Posts: 677
Joined: Mon Jun 02, 2014 3:36 pm
Location: Bonn, Germany
Callsign: dg-505
Version: next
OS: Ubuntu 20.04.4 LTS

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sun Mar 07, 2021 10:28 am

I have problems with any standard FG version above v2018 with Linux. I had to compile a version 2019.2.0 with a previous version of OSG to use the Garmin GPS and other panel instruments.
You'll know when it's fixed.
viewtopic.php?f=45&t=38338
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1688
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 5 guests