Board index FlightGear Support

DH.98 Mosquito

All general support: help on flying, installation, hardware, getting online etc. There are lots of users and developers to help you out.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- where did you download your aircraft/scenery from?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).

If you experience FlightGear crashes, please report a bug using the issue tracker (can be also used for feature requests).
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

DH.98 Mosquito

Postby swampthing » Thu Jan 28, 2016 8:55 pm

I know it exist but where? The fgwiki download link no longer works. Does anyone have this plane and could you send me a copy?
www.opredflag.com
I have sworn upon the altar of God, eternal hostility against every form of tyranny over the mind of man. -Thomas Jefferson-
swampthing
 
Posts: 502
Joined: Wed Oct 28, 2015 4:10 am
Location: Missouri
Callsign: swamp
Version: 2018.2
OS: multiple

Re: DH.98 Mosquito

Postby Gijs » Thu Jan 28, 2016 9:08 pm

It's right there on our aircraft download page: http://www.flightgear.org/download/aircraft-v3-4/
Make sure to untick the "Show aircraft with known status only" option, and then search for "Mosquito".
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9300
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: DH.98 Mosquito

Postby swampthing » Fri Jan 29, 2016 1:20 am

Wow I'm blind, I scrolled right by it.
www.opredflag.com
I have sworn upon the altar of God, eternal hostility against every form of tyranny over the mind of man. -Thomas Jefferson-
swampthing
 
Posts: 502
Joined: Wed Oct 28, 2015 4:10 am
Location: Missouri
Callsign: swamp
Version: 2018.2
OS: multiple

Re: DH.98 Mosquito

Postby DFaber » Fri Jan 29, 2016 7:35 am

Hi swampthing,

there is a pending update to the mosquito. This will be in fgdata within a week and as a download on my site.

Some images here:
http://cms.flightgear-de.net/index.php/gallery/flugzeuge-aircraft/mosquito

Greetings
Detlef Faber
FlightGear Development:
http://flightgear-de.net

German FlightGear Forum
http://forum.flightgear-de.net
DFaber
 
Posts: 684
Joined: Fri Dec 01, 2006 7:51 pm
Location: Aachen, Germany
Version: GIT
OS: Linux

Re: DH.98 Mosquito

Postby swampthing » Sat Apr 16, 2016 9:17 pm

I just saw this. I assume I will get it in a bit when I download trunk. Thanks
www.opredflag.com
I have sworn upon the altar of God, eternal hostility against every form of tyranny over the mind of man. -Thomas Jefferson-
swampthing
 
Posts: 502
Joined: Wed Oct 28, 2015 4:10 am
Location: Missouri
Callsign: swamp
Version: 2018.2
OS: multiple

Re: DH.98 Mosquito

Postby cgdae » Tue May 31, 2016 8:54 pm

I've been using the new mosquito-fbVI with flightgear 2016.2.1 on Linux for the last week or so. It's fantastic - many thanks to everyone involved.

I couldn't get the radiator shutters to work - there doesn't appear to be any function called 'mosquito.toggle_cowlflaps()'? I managed to get something to happen by calling merlin{0,1}.open_cowlflaps() and merlin{0,1}.close_cowlflaps(). I think having explicit open/closed key bindings is easier to use than a toggle. I had to modify things so that the cowlflaps moved completely open or completely closed, and it's very likely that i've got this wrong. Also the shutter under the left wing seems to never change?

I also tweaked the console diagnostics when going overspeed to make it clearer what is happening.

Here's a diff in case anyone's interested; apologies if this is the wrong place for it, but i couldn't find out where the mosquito is being developed.

========
diff -ru mosquito/mosquito-common.xml /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/mosquito-common.xml
--- mosquito/mosquito-common.xml 2016-04-15 11:11:34.000000000 +0100
+++ /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/mosquito-common.xml 2016-05-30 16:24:58.618218500 +0100
@@ -159,10 +159,26 @@
</key>
<key n="68">
<name>D</name>
- <desc>Toggle Radiator Shutter</desc>
+ <desc>Open Radiator Shutter</desc>
<binding>
<command>nasal</command>
- <script>mosquito.toggle_cowlflaps()</script>
+ <!--<script>mosquito.toggle_cowlflaps()</script>-->
+ <script>
+ merlin0.open_cowlflaps();
+ merlin1.open_cowlflaps();
+ </script>
+ </binding>
+ </key>
+ <key n="100">
+ <name>d</name>
+ <desc>Close Radiator Shutter</desc>
+ <binding>
+ <command>nasal</command>
+ <!--<script>mosquito.toggle_cowlflaps()</script>-->
+ <script>
+ merlin0.close_cowlflaps();
+ merlin1.close_cowlflaps();
+ </script>
</binding>
</key>
<key n="70">
@@ -289,8 +305,8 @@

<help>
<key>
- <name>Shift+D</name>
- <desc>toggle Radiator Shutter</desc>
+ <name>D/d</name>
+ <desc>Open/close Radiator Shutters</desc>
</key>
<key>
<name>q/Q</name>

diff -ru mosquito/Nasal/failure.nas /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/Nasal/failure.nas
--- mosquito/Nasal/failure.nas 2016-03-24 19:18:54.000000000 +0000
+++ /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/Nasal/failure.nas 2016-05-30 16:00:19.190169175 +0100
@@ -49,14 +49,15 @@
if ( flappos.getValue() > 0 ) {

if (as > flapoverspeed) {
- print ("flaps overspeed!");
+ print ("flaps overspeed! as=", as, " flapoverspeed=", flapoverspeed);
var load = as - flapoverspeed;
- print (load*flappos.getValue());
+ #print (load*flappos.getValue());
if (load * flappos.getValue() > 20 ) {
if (flappos.getValue() >= 0.5 ) {
flappos.setValue(0);
flappos.setAttribute("writable",0);
setprop ("/sim/failure-manager/flaps", "1");
+ print ("Flaps failed");
}
flappos.setValue(0);
}
@@ -65,6 +66,12 @@

# check for excessive g-load or overspeed
#print(gl, breakload - 0.0004 * ow );
+ if (gl > (breakload - 0.0003 * ow)) {
+ print ("gl=", gl, " > (breakload - 0.0003 * ow)=", breakload - 0.0003 * ow);
+ }
+ if (as > breakspeed) {
+ print ("as=", as, " > breakspeed=", breakspeed);
+ }
if (gl > (breakload - 0.0003 * ow) or (as > breakspeed)) {
print ("break");
if (slip < 0) {

diff -ru mosquito/Nasal/merlin64b.nas /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/Nasal/merlin64b.nas
--- mosquito/Nasal/merlin64b.nas 2016-04-15 11:11:34.000000000 +0100
+++ /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/Nasal/merlin64b.nas 2016-05-30 16:18:12.587879456 +0100
@@ -167,7 +167,7 @@
failure.kill_engine();
}
if ( gload.getValue() < -0.3 ) {
- print ("cutout!");
+ print ("Engine cutout!");
if (mixture0.getValue() == 0 ){
mixture0.setValue( mixture.getValue() );
mixture.setValue(0);
@@ -230,12 +230,12 @@

var open_cowlflaps = func {
if (cowlflap.getValue() < 1.0){
- interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() + 0.1,1);
+ interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() + 1.1,1);
}
}
var close_cowlflaps = func {
if (cowlflap.getValue() > 0.0){
- interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() -0.1,1);
+ interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() -1.1,1);
}
}

diff -ru mosquito/Nasal/merlin64.nas /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/Nasal/merlin64.nas
--- mosquito/Nasal/merlin64.nas 2016-04-15 11:11:34.000000000 +0100
+++ /home/jules/flightgear-local/stable/install/flightgear/fgdata/Aircraft/mosquito/Nasal/merlin64.nas 2016-05-30 16:17:12.427532886 +0100
@@ -230,12 +230,12 @@

var open_cowlflaps = func {
if (cowlflap.getValue() < 1.0){
- interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() + 0.1,1);
+ interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() + 1.1,1);
}
}
var close_cowlflaps = func {
if (cowlflap.getValue() > 0.0){
- interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() -0.1,1);
+ interpolate("controls/engines/engine["~ en ~"]/cowl-flaps-norm",cowlflap.getValue() -1.1,1);
}
}
========

Apologies for any errors or mistakes - i'm very new to flightgear.

Thanks,

- Julian
cgdae
 
Posts: 13
Joined: Tue May 31, 2016 7:35 pm

Re: DH.98 Mosquito

Postby elgaton » Wed Jun 01, 2016 6:29 am

Hi Julian, and welcome to the forum!

Planes included in the official FlightGear hangar are developed by their maintainers (either privately or in a public repository, depending on the plane) and then submitted to FGAddon.

To submit a patch, you will need to find the original author of the plane and contact him/her. For the Mosquito, the maintainer is Detlef Faber; his e-mail address is in the "mosquito-fbVI-set.xml" file, but I believe it was updated since he published that file (as he uses another mailbox to post to the development mailing list). Try sending him your patch at the address in the file; should the message bounce back or should you not receive an answer, send me a PM and I'll be happy to give you his most recent e-mail address.
NIATCA 2nd admin, regular ATC at LIPX and creator of the LIPX custom scenery
elgaton
 
Posts: 1107
Joined: Tue Mar 19, 2013 4:58 pm
Callsign: I-ELGA/LIPX_TW
Version: Git
OS: Windows + Arch Linux

Re: DH.98 Mosquito

Postby swampthing » Wed Jun 01, 2016 9:01 am

Its an awesome aircraft. One of the unsung heroes of the war. I'll bee checking out the new one tomorrow, ;)
www.opredflag.com
I have sworn upon the altar of God, eternal hostility against every form of tyranny over the mind of man. -Thomas Jefferson-
swampthing
 
Posts: 502
Joined: Wed Oct 28, 2015 4:10 am
Location: Missouri
Callsign: swamp
Version: 2018.2
OS: multiple

Re: DH.98 Mosquito

Postby DFaber » Wed Jun 01, 2016 2:09 pm

Hi Julian,

cgdae wrote in Tue May 31, 2016 8:54 pm:I couldn't get the radiator shutters to work - there doesn't appear to be any function called 'mosquito.toggle_cowlflaps()'? I managed to get something to happen by calling merlin{0,1}.open_cowlflaps() and merlin{0,1}.close_cowlflaps(). I think having explicit open/closed key bindings is easier to use than a toggle. I had to modify things so that the cowlflaps moved completely open or completely closed, and it's very likely that i've got this wrong. Also the shutter under the left wing seems to never change?

I also tweaked the console diagnostics when going overspeed to make it clearer what is happening.


thanks for your contribution! You are absolutly right, I forgot to update the key bindings. I guess you already noticed that the radiator flaps can operated by the two foremost switches on the switchbox on the right wall. The Fighter Bombers had only two positions, open or closed, so you are not mistaken. The functions in the merlin64.nas files are left over from the Bomber Version which could be set to arbitrary positions in between.
The Shutter doors themself need some improvment. They do move, but it is barely noticable.


Greetings
Detlef Faber
FlightGear Development:
http://flightgear-de.net

German FlightGear Forum
http://forum.flightgear-de.net
DFaber
 
Posts: 684
Joined: Fri Dec 01, 2006 7:51 pm
Location: Aachen, Germany
Version: GIT
OS: Linux

Re: DH.98 Mosquito

Postby portreekid » Sun Mar 18, 2018 10:01 pm

Just downloaded it from FGMEMBERS. There seem to be some textures missing

Code: Select all
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "logo.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "logo.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "rafside.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "rafside.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "raftail.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "letters.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "raftail.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "rafdownwing.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "rafdownwing.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "rafupwing.png"
opengl:5:C:\Jenkins\workspace\Windows-release\flightgear\src\Viewer\fg_os_osgviewer.cxx:209:osgDB ac3d reader: could not find texture "rafupwing.png"
portreekid
 
Posts: 294
Joined: Tue Jan 14, 2014 3:36 pm
Location: Dresden
Version: 3.0
OS: Windows 7

Re: DH.98 Mosquito

Postby wkitty42 » Sun Mar 18, 2018 10:30 pm

i just checked this craft in FGAddon... it is the "mosquito"... a grep for those files turns them up in these places...

Code: Select all
myuser@mymachine:~/flightgear-dev/fgaddon-ng/Aircraft/mosquito$ egrep -r -e "(logo|rafside|letters|rafdownwing|rafupwing)\.png" *
Models/AI-Liveries/RAF-2.xml:   <nation>rafside.png</nation>
Models/AI-Liveries/RAF-2.xml:   <lwingU>rafupwing.png</lwingU>
Models/AI-Liveries/RAF-2.xml:   <lwingD>rafdownwing.png</lwingD>
Models/AI-Liveries/RAF-2.xml:   <rwingU>rafupwing.png</rwingU>
Models/AI-Liveries/RAF-2.xml:   <rwingD>rafdownwing.png</rwingD>
Models/AI-Liveries/RAF-3.xml:   <nation>rafside.png</nation>
Models/AI-Liveries/RAF-3.xml:   <lwingU>rafupwing.png</lwingU>
Models/AI-Liveries/RAF-3.xml:   <lwingD>rafdownwing.png</lwingD>
Models/AI-Liveries/RAF-3.xml:   <rwingU>rafupwing.png</rwingU>
Models/AI-Liveries/RAF-3.xml:   <rwingD>rafdownwing.png</rwingD>
Models/AI-Liveries/RAF-4.xml:   <nation>rafside.png</nation>
Models/AI-Liveries/RAF-4.xml:   <lwingU>rafupwing.png</lwingU>
Models/AI-Liveries/RAF-4.xml:   <lwingD>rafdownwing.png</lwingD>
Models/AI-Liveries/RAF-4.xml:   <rwingU>rafupwing.png</rwingU>
Models/AI-Liveries/RAF-4.xml:   <rwingD>rafdownwing.png</rwingD>
Models/AI-Liveries/RAF-1.xml:   <nation>rafside.png</nation>
Models/AI-Liveries/RAF-1.xml:   <lwingU>rafupwing.png</lwingU>
Models/AI-Liveries/RAF-1.xml:   <lwingD>rafdownwing.png</lwingD>
Models/AI-Liveries/RAF-1.xml:   <rwingU>rafupwing.png</rwingU>
Models/AI-Liveries/RAF-1.xml:   <rwingD>rafdownwing.png</rwingD>
Models/Mosquito-B16.xml:    <texture>rafside.png</texture>
Models/Mosquito-B16.xml:    <texture>taillogo.png</texture>
Models/Mosquito-B16.xml:    <texture>rafupwing.png</texture>
Models/Mosquito-B16.xml:    <texture>rafdownwing.png</texture>
Models/Mosquito-B16.xml:    <texture>rafupwing.png</texture>
Models/Mosquito-B16.xml:    <texture>rafdownwing.png</texture>
Models/mosquito.ac:texture "logo.png"
Models/mosquito.ac:texture "logo.png"
Models/mosquito.ac:texture "rafside.png"
Models/mosquito.ac:texture "rafside.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "letters.png"
Models/mosquito.ac:texture "rafdownwing.png"
Models/mosquito.ac:texture "rafdownwing.png"
Models/mosquito.ac:texture "rafupwing.png"
Models/mosquito.ac:texture "rafupwing.png"

maybe Detlef Faber knows what happened to those files? it looks like he built the craft... check the -set.xml file for a website and email address...
"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: 4736
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: DH.98 Mosquito

Postby portreekid » Mon Mar 19, 2018 6:56 am

Will do. The version on his website is ok.
portreekid
 
Posts: 294
Joined: Tue Jan 14, 2014 3:36 pm
Location: Dresden
Version: 3.0
OS: Windows 7

Re: DH.98 Mosquito

Postby DFaber » Mon Mar 19, 2018 7:28 am

wkitty42 wrote in Sun Mar 18, 2018 10:30 pm:maybe Detlef Faber knows what happened to those files?


These textures were part of the old Livery model. They are obsolete since I reverted to single texture Liveries without Fancy Number and custom Logo stuff. I guess it maybe still contained in the discontinued B Mk16 Bomber Variant. It is due to be replaced by a B Mk IV Variant, which is still in the works.

The Download on my website is the same as in fgaddon, btw. I don't do any development in fgmembers.

Greetings
Detlef Faber
FlightGear Development:
http://flightgear-de.net

German FlightGear Forum
http://forum.flightgear-de.net
DFaber
 
Posts: 684
Joined: Fri Dec 01, 2006 7:51 pm
Location: Aachen, Germany
Version: GIT
OS: Linux

Re: DH.98 Mosquito

Postby wkitty42 » Mon Mar 19, 2018 5:45 pm

thanks for the info and update on the status :)
"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: 4736
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: DH.98 Mosquito

Postby portreekid » Tue Mar 20, 2018 7:31 am

With the IV Variant it certainly looks smashing. I wish I was better with liveries.
portreekid
 
Posts: 294
Joined: Tue Jan 14, 2014 3:36 pm
Location: Dresden
Version: 3.0
OS: Windows 7

Next

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests