Board index FlightGear Development Aircraft

eurofighter typhoon

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

Fixed MFD panels

Postby almursi » Sat Jul 17, 2010 4:56 am

Hi, Some time ago I saw the error, but accustomed to developing models gave no importance. Today by chance (reviewing radar models) discovered the problem of MFD panel. Make a. Diff is quite simple, but do not know if I will hand :mrgreen: :

Files:
Aircraft/eurofighter/Models/Instruments/mfd-hotspots.xml
Aircraft/eurofighter/Models/Instruments/mfd2-hotspots.xml
Aircraft/eurofighter/Models/Instruments/mfd3-hotspots.xml

On line 8 change with:
Code: Select all
   <background>Aircraft/Generic/Panels/Textures/transparent-bg.rgb</background>


The original refers to Aircraft/bf109/Models/transparent-bg.rgb, so if you have the bf109 model not have noticed, and you have been enjoying the right panel.

Greetings
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Re: eurofighter typhoon

Postby Algernon » Sat Jul 17, 2010 10:22 am

This seems a good point to jump in, as this thread has been mostly quiet for a while...

FGUK would really like to muck in with the Eurofighter project, as it is destined to become our homeland's principle strike fighter. Personally, I'm a big fan of the Dassault Rafale model, and I'd love to see the Typhoon be even better.

Is anybody currently working on it - if not, any objections to us taking responsibility for the development for a while?
Or if it's still being worked on, how can we help?

Excited about this one, it's a fantastic aircraft and a really promising model!!
Algernon
FGUK - A FlightGear community in the United Kingdom and Republic of Ireland
User avatar
Algernon
 
Posts: 498
Joined: Sun Jun 27, 2010 3:55 pm
Callsign: G-ALGY
Version: 3.0
OS: W7U

Re: Fixed MFD panels

Postby Algernon » Sat Jul 17, 2010 10:24 am

almursi wrote:The original refers to Aircraft/bf109/Models/transparent-bg.rgb, so if you have the bf109 model not have noticed, and you have been enjoying the right panel.

Greetings


I'm about to download and install the bf109 and see for myself - if it works, I could kiss you! ;)

UPDATE: It worked for me too, now have some functions on the MFHDDs including TACAN! Deeply exciting, and well spotted almursi - thank you so much :)
Algernon
FGUK - A FlightGear community in the United Kingdom and Republic of Ireland
User avatar
Algernon
 
Posts: 498
Joined: Sun Jun 27, 2010 3:55 pm
Callsign: G-ALGY
Version: 3.0
OS: W7U

Tip on "speedbrake"

Postby almursi » Thu Jul 22, 2010 7:56 pm

Hi, yes :P I also I have problems to stop it, so I happened to look where you can "improve" the speedbrake:

typhoon-yasim.xml line 41:
Code: Select all
<flap1 start="0.0" end="0.15" lift="0.0" drag="1.8" aoa="5"/><!-- flap1 start="0.0" end="0.15" lift="0.0" drag="0.8"/ -->


(it isn't realistic, but... Does anyone have a better idea? :) this configuration is only a idea...)

Regards...
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Re: eurofighter typhoon

Postby Algernon » Fri Jul 23, 2010 7:06 pm

I have enquired about improving this aircraft, because whilst the BF109 trick worked really well, there are more serious issues such as it still doesn't fly quite how I expect "one of the most agile fighter aircraft in the world" to, it seems to lack sound on at least some machines, and it's fuel payload is a bit tight. FGUK would really like to develop it a lot further, so if people are interested in it, please let us know and perhaps we can all contribute some bits to it. Personally, I have one small, triangular panel on the right hand side of the HUD mounting on my personal task list!

I'm off to patch in that speedbrake update, thanks very much almursi! :)
Algernon
FGUK - A FlightGear community in the United Kingdom and Republic of Ireland
User avatar
Algernon
 
Posts: 498
Joined: Sun Jun 27, 2010 3:55 pm
Callsign: G-ALGY
Version: 3.0
OS: W7U

Re: eurofighter typhoon

Postby rsotaccs » Sat Jul 24, 2010 1:31 am

doesn't the "flap1start=0.00" cause the QNaN problem? Shouldn't it be 0.001? (wiki article says that, AFAIK).
Active again! Sometimes... // BRASIL
rsotaccs
 
Posts: 111
Joined: Sun Dec 13, 2009 3:50 pm
Callsign: PT-RSB
IRC name: PT-RSB
Version: 111219
OS: Win7 x64

Re: eurofighter typhoon

Postby almursi » Sat Jul 24, 2010 10:32 pm

rsotaccs wrote:doesn't the "flap1start=0.00" cause the QNaN problem? Shouldn't it be 0.001? (wiki article says that, AFAIK).


Hi, thanks for report. Fixed :mrgreen:

Aircraft/eurofighter/typhoon-yasim.xml line 41
Code: Select all
<flap1 start="0.001" end="0.15" lift="0.0" drag="1.8" aoa="5"/><!-- flap1 start="0.0" end="0.15" lift="0.0" drag="0.8"/ -->


(viewtopic.php?p=83466#p83466)

Regards.
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Re: eurofighter typhoon

Postby almursi » Sun Jul 25, 2010 7:47 pm

Algernon wrote:I have enquired about improving this aircraft, because whilst the BF109 trick worked really well, there are more serious issues such as it still doesn't fly quite how I expect "one of the most agile fighter aircraft in the world" to, it seems to lack sound on at least some machines, and it's fuel payload is a bit tight. FGUK would really like to develop it a lot further, so if people are interested in it, please let us know and perhaps we can all contribute some bits to it. Personally, I have one small, triangular panel on the right hand side of the HUD mounting on my personal task list!

I'm off to patch in that speedbrake update, thanks very much almursi! :)


Hi, I do not know much about 3D design, I'm starting fresh. For now I'm focused on the OH-1 model, so do not think I can help you. Developing it is interesting, but I think it still has many "little secrets". I do not know if I had the same skirt could elicit some of the pilots of the Air Academy (San Javier), but I see it with my beard very very difficult :D. But as to redefine some variables of the simulation, I would say it could do something, but for that I will be inspired :mrgreen:... Good luck
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Typhoon on carrier (fixed)

Postby almursi » Wed Jul 28, 2010 11:44 am

Hi, While reviewing some airbrake settings, I could not resist to include a hook :), so here it is, along with the basic commands to use the catapult on carrier:

etyphoon_carrier01b.zip:

Based on the Seahawk (nasal commands) and F14b (YASim settins, nasal commands and hook animations). In principle I do not intend to make a new version, it has been just a little practice while I'm learning how to 3D design.

Regards.

Edit3:
Finally I created a new package including all fixes
Last edited by almursi on Sat Sep 25, 2010 12:15 pm, edited 1 time in total.
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Re: eurofighter typhoon

Postby Algernon » Thu Jul 29, 2010 3:35 pm

Brilliant :) Just downloading now!
Algernon
FGUK - A FlightGear community in the United Kingdom and Republic of Ireland
User avatar
Algernon
 
Posts: 498
Joined: Sun Jun 27, 2010 3:55 pm
Callsign: G-ALGY
Version: 3.0
OS: W7U

Re: Typhoon on carrier (fixed)

Postby almursi » Wed Aug 04, 2010 8:23 am

almursi wrote:etyphoon_carrier01b.zip:


Hi, another patch, over typhoon.nas file: includes the inability to collect the gear on ground and a better integration with the functions from f14b.

Aircraft/eurofhighter/Nasal/typhoon.nas
Code: Select all
var WOW = 1;

var setHook = func() {
  var NoDosVeces=getprop("/controls/tailhook/position-norm");
  if (NoDosVeces!=1) {
   setprop("/controls/tailhook/position-norm", 1);
     setprop("/controls/gear/tailhook", 1);
   screen.log.write("HOOK extended"); }
    else {
   setprop("/controls/tailhook/position-norm", 0);
     setprop("/controls/gear/tailhook", 0);
   screen.log.write("Hook retracted");
   }
}


# GearDown Control from f14b gear.nas
# ----------------
# Hijacked Gear handling so we have a Weight on Wheel security to prevent
# undercarriage retraction when on ground.

controls.gearDown = func(v) {
    WOW = getprop ("/gear/gear[1]/wow") or getprop ("/gear/gear[2]/wow");

    if (v < 0 and ! WOW) {
      setprop("/controls/gear/gear-down", 0);
    } elsif (v > 0) {
      setprop("/controls/gear/gear-down", 1);
      setprop("/controls/gear/catapult-launch-cmd", 0);
    }
}


setlistener("/controls/engines/engine[0]/throttle", func(n) {
    setprop("/controls/engines/engine[0]/reheat", n.getValue() >= 0.95);
},1);


setlistener("/controls/engines/engine[1]/throttle", func(n) {
    setprop("/controls/engines/engine[1]/reheat", n.getValue() >= 0.95);
},1);


# turn off hud in external views
setlistener("/sim/current-view/view-number", func(n) { setprop("/sim/hud/visibility[1]", n.getValue() == 0) },1);

var canopy = aircraft.door.new ("/controls/canopy/", 3);

aircraft.livery.init("Aircraft/eurofighter/Models/Liveries");


## Launch bar animation f14b

var listen_launchbar = nil;
listen_launchbar = setlistener( "gear/launchbar/state", func { settimer(update_launchbar, 0.05) },0 ,0 );

var update_launchbar = func() {
   WOW = getprop ("/gear/gear[1]/wow") or getprop ("/gear/gear[2]/wow");

   if ( getprop("gear/launchbar/position-norm") == 1 and ! WOW ) {
      removelistener( listen_launchbar );
      setprop("controls/gear/launchbar", "false");
      setprop("controls/gear/launchbar", "true");
      settimer(reset_launchbar_listener, 1);
   }
}

var reset_launchbar_listener = func() {
   setprop("controls/gear/launchbar", "false");
   listen_launchbar = setlistener( "gear/launchbar/state", func { settimer(update_launchbar, 0.05) },0 ,0 );
}

## From seahawk


var tailwheel_lock = props.globals.getNode("/controls/gear/tailwheel-lock", 1);
var launchbar_state = props.globals.getNode("/gear/launchbar/state", 1);

tailwheel_lock.setDoubleValue(1);
launchbar_state.setValue("Disengaged"); 

var updateTailwheelLock = func {
   var lock = tailwheel_lock.getValue();
   var state = launchbar_state.getValue() ;

   if ( state != "Disengaged" ) {   
      lock = 0;
   } else {
      lock = 1;
   }

   tailwheel_lock.setDoubleValue(lock);

#print("tail-wheel-lock " , lock , " state " , state);

} #end func updateTailwheelLock()

setlistener( launchbar_state , updateTailwheelLock,0,0 );


Still testing, so maybe I need to correct anything else.

Edit: Fixed catapult-launch-cmd, now catapult is off when up gears.

Regards
Last edited by almursi on Sat Sep 25, 2010 12:16 pm, edited 1 time in total.
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Re: eurofighter typhoon

Postby almursi » Thu Aug 05, 2010 8:14 am

Algernon wrote:and it's fuel payload is a bit tight



Hi, due to my boredom with OH-1 (not the best design for a beginner :mrgreen:) I am working a few days with the typhoon. This in particular (fuel consume) I think that can be adjusted in several places:

First, editing typhoon-set.xml, changing "<fuel-fraction>1.0</fuel-fraction>" with:
Code: Select all
<fuel-fraction>0.5</fuel-fraction>


In YASim, typhoon-yasim.xml: adding
Code: Select all
tsfc="0.5"
on both "jet" setions, for example:
Code: Select all
<jet x="-12.8" y="0.94" z="-0.032"
       mass="2204"
       thrust="13490"
      afterburner="20230"
                tsfc="0.5"
       n1-idle="25" n1-max="100" n2-idle="30" n2-max="105"
       exhaust-speed="1150"
       rotation="0">
    <actionpt x="-14.914" y="0.532" z="-0.032"/>
    <control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
    <control-input axis="/controls/engines/engine[0]/reheat" control="REHEAT"/>
  </jet>
  <jet x="-12.8" y="-0.94" z="-0.032"
       mass="2204"
       thrust="13490"
      afterburner="20230"
                tsfc="0.5"
       n1-idle="25" n1-max="100" n2-idle="30" n2-max="105"
       exhaust-speed="1150"
       rotation="0">
    <actionpt x="-14.914" y="-0.532" z="-0.032"/>
    <control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
    <control-input axis="/controls/engines/engine[0]/reheat" control="REHEAT"/>
  </jet>


In main program, go to menu-> Equipment -> Fuel and payload and check all wing tanks (remain several unchecked).

Now, I need test all this settings, and any suggest is welcome :). (in theory, this model with extra tanks has a range of 3500 kilometers ...)

Regards.
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Re: eurofighter typhoon

Postby almursi » Thu Aug 05, 2010 10:50 am

Hi, one thing missing is done in the slats. Here you can see:

http://www.eurofighter.com/media/image- ... bb94909422

it's another TODO. At least it seems that in FDM is defined, and only seems to be missing the animation.

Edited: Anyway, First I'll try to create the basis for the AFCS, and I will try to make more stable.
The design plan would be:
Revision 3: best hook (done), fuel consumption (in curse), basic fcs
Revision 4: slats animation, external lights, other external details
Revision 5: Improve cockpit lighting, instrumentation

I hope to reach at least the revision 4 (or at least create the base), before I run out of free time.

Regards.
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

Re: eurofighter typhoon

Postby Algernon » Thu Aug 05, 2010 4:11 pm

Fantastic that this aircraft is being worked on so hard. Once your free time runs out, FGUK has a few people interested in developing some more aspects of it. Are you uploading updated aircraft to be tried out, or do we have that to look forward to? :)
Algernon
FGUK - A FlightGear community in the United Kingdom and Republic of Ireland
User avatar
Algernon
 
Posts: 498
Joined: Sun Jun 27, 2010 3:55 pm
Callsign: G-ALGY
Version: 3.0
OS: W7U

Re: eurofighter typhoon

Postby almursi » Thu Aug 05, 2010 9:08 pm

Algernon wrote:Fantastic that this aircraft is being worked on so hard. Once your free time runs out, FGUK has a few people interested in developing some more aspects of it. Are you uploading updated aircraft to be tried out, or do we have that to look forward to? :)


Hi, The number of the reviews (revisions) relate to the packages that I (like) do. For now I'd released two, so immediately after finished the fuel consumed and the core FCS -few days-, I'll pack 1.3-version so that you can download :mrgreen: (version 1 from M,Alex, .3 of revision/review). When I finished my free time I hope to leave what I have done in git, but respecting the previous version of M.Alex (that I know, there is not any typhoon based on any carrier, it's only a fun version :) ).

Edited: As I imagined, lol, looks like they are thinking about adapting the Typhoon to act on aircraft carriers. Especially Spain, but it all depends on the budgetary impact of the crisis (because it means building a new larger carrier to replace the existing, adapted to the Harrier-AV8B). It is a recent project (2009), related to the acquisition of some models by the Indian Navy.
-- On the other hand apology yesterday did not understand the question (some days English is not my thing). Yes, there are no problems in collaborating. The points I want to work on just explained, so that nothing prevents people from working on the rest or to contact me to work together at the point it has reached (or correct any that has gone on , I'm not perfect). But I'll be just one week, two at most. Then my time will be very limited. And the GPL is for that, so that everyone can contribute what you can.

Regards.
almursi
 
Posts: 108
Joined: Tue Apr 06, 2010 5:21 am
Location: LELC Murcia (Spain)
Callsign: EC-ALM
Version: Git
OS: Ubuntu 10.04

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 4 guests