Jump to content
Sign in to follow this  
Guest

CFS2 Tooltip_IDs

Recommended Posts

Guest

Hi,CFS2 gauges like p38f_lightning.gau seem to use their own Tooltip_IDs I can't find documented anywhere. I assume they are defined Tooltip_IDs because they give properly translated messages in my German FS2k2 version. I'd like to use them instead of some FS2k2 Tooltip_IDs which don't work correctly (e.g. attitude indicator, engine RPM or clock). I know how to edit sections but they don't have the translation feature and I couldn't figure out how to produce the pop-up of a CFS2 analog clock with XML yet. Using those Tooltip_IDs (if they exist) would just be convenient and a proper solution. Does anyone know something about it?TIA!Frank

Share this post


Link to post
Share on other sites
Guest

Check this subject, could be useful. I was just made aware of it:http://ftp.avsim.com/dcforum/DCForumID9/1398.htmlAs for the attitude tooltip, just find the xml code in the HelpID_SDK, write own tooltip using this code, and replace bank (or pitch, don't remember).Then use the link above to make it a localized one if you need it.

Share this post


Link to post
Share on other sites
Guest bartels

As far as I know the CFS2 aren't tooltip ids, they are help ids. It won't help in XML gauges because you need the names of it, which are unknown. But it might help the C-gauge programmers that the cfs2 helpids start at HELPID_MIN + 0x0DFF. And as Karl already stated producing localized are a bit more difficult then simple text tooltips, but possible.Arne Bartels

Share this post


Link to post
Share on other sites
Guest

Thanks for replying!Karl, I found that useful thread a few days ago and it taught me how to make custom tooltips. What I did for my attitude indicator is copy and paste the code from HelpIDs.doc and replaced the second bank with pitch. I also had to replace the degree symbol with the apropriate xml code. I haven't tried localization yet but will do soon. I suspect I'll not get it working for bank and pitch tho.Arne, I thought the difference between help ids and tooltip ids would be that tooltip ids also give current values and not only the gauge names. CFS2 gauges give both. Too bad they're unknown and I don't know how to hack them out. Unfortunately I'm no programmer, that's why I like scripting so much.Best,Frank

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...