the problem is that I'm not a FG aircraft developer or anything like it,not even close.
You don't need to be an aircraft developer or FG contributor to make such changes - you just need to have a text editor like wordpad and a working FlightGear installation - and probably a rainy weekend (or two) to learn a bit about FlightGear's built-in scripting capabilities, or some patience to ask lots of questions here to get this started. It's possible, even if you have never done any coding or scripting - you'll be asking questions, we'll be answering them and posting code snippets that you can play with.
I will try to do something but,really not sure how to do it,simply because I have never done that. Anyway ,thanks for the tips,I think this is worth trying.
That's what we're for here - to provide all support that you need, now it's up to you to decide if you're willing to learn a new thing or two ..
http://wiki.flightgear.org/Nasal_Consolehttp://wiki.flightgear.org/Nasal_Hello_Worldhttp://wiki.flightgear.org/Howto:Create ... sal_modulehttp://wiki.flightgear.org/Creating_new_Nasal_scriptsThese are very simple tutorials to get you started playing around with FlightGear, e.g. to make it print something to the terminal window.
For example, open the Nasal console (see above), and paste this:
- Code: Select all
var distance = 100;
print ("Remaining distance: ", distance);
And then click "run".
Next, to make this a little more interesting, here's a snippet that calculates something:
- Code: Select all
var runway_length_m = 3000;
var touchdown_point_m = 600;
var remaining_m = runway_length_m - touchdown_point_m;
print ("Remaining distance: ", remaining_m);
Next, add some speed to the whole thing:
- Code: Select all
var groundspeed_kmh = 180;
var runway_length_m = 3000;
var touchdown_point_m = 600;
var remaining_m = runway_length_m - touchdown_point_m;
var groundspeed_mph = groundspeed_kmh * 1000;
var groundspeed_m_per_minute = groundspeed_mph / 60;
var groundspeed_m_per_second = groundspeed_m_per_minute / 60;
var remaining_secs = remaining_m / groundspeed_m_per_second;
print ("Remaining distance: ", remaining_m);
print("Remaining time: ", remaining_secs);
Now, these are all static numbers obviously - but once you have the basic steps in place, it's pretty trivial to replace these numbers with values coming from the simulator instead.