- Messages
- 34,706
- Country

Hi aircraft developers,
I'm trying to fix a bug in MCX and I can use a little bit of help, as I'm less familiar with modeldef.xml extensions.
There seems to be a bug in restoring the modeldef.xml information from the data I read from the MDL file. The problem is that tooltips don't stick. Inside the MDL file these are stored using the int values as defined in gauges.h. But if I stick that value in the modeldef.xml file like this:
It doesn't work. On the next compile the TooltipID has changed to a different number. If I use the name of the tooltip ID like this it does work:
Is there a way to use the number in the modeldef.xml code or should I always translate them to a name first?
I'm trying to fix a bug in MCX and I can use a little bit of help, as I'm less familiar with modeldef.xml extensions.
There seems to be a bug in restoring the modeldef.xml information from the data I read from the MDL file. The problem is that tooltips don't stick. Inside the MDL file these are stored using the int values as defined in gauges.h. But if I stick that value in the modeldef.xml file like this:
Code:
<TooltipID>12697</TooltipID>
It doesn't work. On the next compile the TooltipID has changed to a different number. If I use the name of the tooltip ID like this it does work:
Code:
<TooltipID>TOOLTIPTEXT_THROTTLE_ENG1_PROPELLER_PERCENT</TooltipID>
Is there a way to use the number in the modeldef.xml code or should I always translate them to a name first?

