Jump to content
Sign in to follow this  
n4gix

Six Second Display Timer - XML

Recommended Posts

I need some XML that will allow the "blue box" to display around the SN4550's "flags" for about 6 to 7 seconds, then disappear.For example, in pseudo-code:if (HDG or LOC or NAV) then {display blue box for 6 seconds}The blue box is displayed via: (L:HdgSelBox,bool)http://img187.imageshack.us/img187/6739/sn4550flagsax3.jpg


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Bill, Give this a try.. Since the above is pseudo code, not really sure where (L:HdgSelBox,bool) is coming from. But it may be necessary to replace it with (A:AUTOPILOT HEADING LOCK, bool) or the code that simulates AP Heading ON/OF I.E. AP HDG HOLD / AP HDG SELECT, most likely though it would be the stock A:Var though. The code could be combined all into one section inside the code but for clarity it was put into it's own .(L:HdgSelBox,bool) 1 == (L:Timer_HDG_Lock,bool) 0 == & if{ (P:ABSOLUTE TIME, seconds) 6 + (>L:Timer_HDG, number) 1 (>L:Timer_HDG_Lock,bool) } (L:HdgSelBox,bool) 0 == (L:Timer_HDG_Lock,bool) 1 == & If{ 0 (>L:Timer_HDG, number) 0 (>L:Timer_HDG_Lock,bool) }(P:ABSOLUTE TIME, seconds) (L:Timer_HDG, number) <RomanProud "TEAM AVSIM" RTW race member.XP Pro, FS9, FR Locked @ 23, AMD 1800+ OCd to 1900+, APIC MProc Mod (24 IRQs), Latency Mods, ECS K7S5a V1.1, 7 fans, 1 gig, 100 & 60 Gig 7200rpm HD, ASUS/NVidia GeForce 64mb AGP on 21", NVidia FX5500 vivo 256mb (CRAP) on 18", Nvidia 93.71s ( The highest can go for the GeForce3 & 5500 combined ), Savage4 32mb on 15", BV services mods.


20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Share this post


Link to post
Share on other sites

Thanks, Roman. That looks like it should work.I was planning to use the flag (L:HdgSelBox,bool) section for the "blue box."(A:Autopilot Heading Lock, bool)(A:Autopilot Nav1 Lock, bool)(A:Autopilot Approach Hold, bool)or or(L:Timer_HDG_Lock,bool) 0 == andif{ ... }


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

>Are you 'going XML' now, Bill?Some things have come full-circle, Herbie. I must use XML for some gauges for which GDI+ would be "overkill..." ;)


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...