* Grivell, Ian -- Thursday 25 October 2007: > When I tune in to ATIS, I get audio but no corresponding text on the > screen. Is there a way to turn on text display of ATIS messages?
No, I'm afraid there isn't. The message is already assembled as lookup terms for the ATIS sound DB, and looks something like this: "This_is San-Francisco-International information alpha / Weather one niner zero zero zero hours zulu / Temperature one five degrees_Celsius / Visibility one zero miles / Cloudbase five thousand feet / Altimeter two niner decimal niner two / Winds two knots from two seven zero degrees / Landing_and_departing_runway two eight / Advise_controller_on_initial_contact_you_have alpha ///" ... so it's not really suited for display. But not even that is exported. You can easily add this to src/ATC/atis.cxx: --- atis.cxx 21 Feb 2006 01:16:05 -0000 1.23 +++ atis.cxx 25 Oct 2007 10:14:25 -0000 @@ -71,6 +71,7 @@ void FGATIS::Update(double dt) { // Check if we need to update the message // - basically every hour and if the weather changes significantly at the station //globals->get_ATC_display()->ChangeRepeatingMessage(transmission); + fgSetString("/sim/messages/atis", transmission.c_str()); } else { // We need to get and display the message UpdateTransmission(); Then you could attach a listener to that property and map the message to the screen (see $FG_ROOT/Nasal/screen.nas) or print it to the console: setlistener("/sim/messages/atis", func { print("ATIS: ", cmdarg().getValue()); }); > IMPORTANT: This email remains the property of the Australian Defence > Organisation and is subject to the jurisdiction of section 70 of the > CRIMES ACT 1914. I find such disclaimers amusing. Completely detached from reality. :-} (Yes, I know that you didn't add it.) m. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users