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 10: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 DHC6-300+. https://github.com/SurferTim/dhc6p
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 943
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

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

SurferTim wrote in Sat Apr 11, 2020 8: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: 6444
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Thu Apr 30, 2020 10: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 DHC6-300+. https://github.com/SurferTim/dhc6p
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 943
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby scarymovie » Sat May 09, 2020 4: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: 89
Joined: Wed Nov 21, 2007 2:34 pm
Location: Singapore
Callsign: 9VRCS

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sat May 09, 2020 4: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 DHC6-300+. https://github.com/SurferTim/dhc6p
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 943
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

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

SurferTim wrote in Sat May 09, 2020 4: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: 89
Joined: Wed Nov 21, 2007 2:34 pm
Location: Singapore
Callsign: 9VRCS

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sat May 09, 2020 7: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 DHC6-300+. https://github.com/SurferTim/dhc6p
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 943
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby SurferTim » Sun May 10, 2020 11:14 am

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 DHC6-300+. https://github.com/SurferTim/dhc6p
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 943
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Re: Twin Otter Viking upgrade DHC6-300+

Postby scarymovie » Fri May 15, 2020 7: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: 89
Joined: Wed Nov 21, 2007 2:34 pm
Location: Singapore
Callsign: 9VRCS

Re: Twin Otter Viking upgrade DHC6-300+

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

scarymovie wrote in Fri May 15, 2020 7: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 DHC6-300+. https://github.com/SurferTim/dhc6p
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 943
Joined: Sun Dec 09, 2018 5:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2019.2.0
OS: Ubuntu 18.04

Previous

Return to Aircraft

Who is online

Users browsing this forum: YandexBot [Bot] and 1 guest