Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Where are knobs located in the xml/panel code?

Featured Replies

I'm editing a freeware aircraft, an L-39 http://www.rikoooo.com/downloads/viewdownload/65/727, to have units that I'm used to like knots, etc. I'm trying to figure out where the code for the decision height knob is:

 

2v9dopg.jpg

 

I'm looking all through the code of this specific aircraft and can't even find a reference to it. Any ideas?

  • Moderator

You won't find it. XML scripts for 3d objects such as that knob are embedded into the compiled model (.mdl) file and cannot be edited like a 2d XML gauge script.

 

When the model is exported from the modeling program (GMax or Max), it is combined with the definitions in the modeldef.xml file and two interim files are generated:

 

1. aircraftname.x

2. aircraftname.xml

 

When the compiler is run, those two files are combined to generate the model file: aircraftname.mdl

 

Once compiled, there is no practical way to "decompile", modify, then "recompile."

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

Ah, I see. Thank you. I'll go see what I can do with other things.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.