dirmer3 Posted February 2, 2022 Report Posted February 2, 2022 I downloaded a livery and changed my existing airframe to that livery. However, when I restart the sim, it's back to the default livery. Do I need to create a new airframe when I change the livery? Quote
Pils Posted February 2, 2022 Report Posted February 2, 2022 1 hour ago, dirmer3 said: I downloaded a livery and changed my existing airframe to that livery. However, when I restart the sim, it's back to the default livery. Do I need to create a new airframe when I change the livery? Did you change it in X-Plane’s interface, Airframe Manager, or both? Quote
dirmer3 Posted February 2, 2022 Author Report Posted February 2, 2022 12 hours ago, Pils said: Did you change it in X-Plane’s interface, Airframe Manager, or both? Just in the airframe manager. Quote
Pils Posted February 2, 2022 Report Posted February 2, 2022 (edited) On 2/2/2022 at 2:25 PM, dirmer3 said: Just in the airframe manager. That should work. Insofar as the livery should be saved in Airframe Manager at least. Can check if it’s getting saved by looking at the airframes.db file. However if you don’t match the livery in the X-Plane interface when loading a flight, if you then subsequently reload or reposition then X-Plane will change the livery back to what it thinks it should be. Best to always keep them in sync. Edited February 8, 2022 by Pils 1 Quote
dirmer3 Posted February 8, 2022 Author Report Posted February 8, 2022 Changing it in both the airframe manager and the sim worked. 1 Quote
Rodeo Posted February 9, 2022 Report Posted February 9, 2022 Hmm, couldn't changing it in the airframe manager programmatically change it in the sim too? Why the limitation? Regards, Tim 1 Quote
Pils Posted February 9, 2022 Report Posted February 9, 2022 10 minutes ago, Rodeo said: Hmm, couldn't changing it in the airframe manager programmatically change it in the sim too? Why the limitation? Regards, Tim No. Ask LR. Quote
Rodeo Posted February 9, 2022 Report Posted February 9, 2022 I mean, it's not straightforward and requires running code in a flight loop callback (i.e. you can't switch to a specific livery in one go), but you can use: XPLMCommand: sim/operation/prev_livery XPLMCommand: sim/operation/next_livery Check the loaded livery and/or index via: XPLMDataRef: sim/aircraft/view/acf_livery_index XPLMDataRef: sim/aircraft/view/acf_livery_path And be notified of any livery change via XPluginReceiveMessage (XPLM_MSG_LIVERY_LOADED for XPLM_USER_AIRCRAFT). What I don't understand is why you have a livery selector in the airframe manager if you need to select the livery via X-Plane as well, that's very counter-intuitive Regards, Tim Quote
Pils Posted February 9, 2022 Report Posted February 9, 2022 13 minutes ago, Rodeo said: What I don't understand is why you have a livery selector in the airframe manager if you need to select the livery via X-Plane as well, that's very counter-intuitive It only matters if you cause X-Plane to reload after loading a flight. So you don’t “need to” it’s just “recommended”. 1 Quote
Pils Posted February 9, 2022 Report Posted February 9, 2022 15 minutes ago, Rodeo said: I mean, it's not straightforward and requires running code in a flight loop callback (i.e. you can't switch to a specific livery in one go), but you can use: XPLMCommand: sim/operation/prev_livery XPLMCommand: sim/operation/next_livery Check the loaded livery and/or index via: XPLMDataRef: sim/aircraft/view/acf_livery_index XPLMDataRef: sim/aircraft/view/acf_livery_path And be notified of any livery change via XPluginReceiveMessage (XPLM_MSG_LIVERY_LOADED for XPLM_USER_AIRCRAFT). Yuck. If it were me I would say this was a hack not worth the effort for a corner case. But I’ll pass on your suggestion and let the developer decide for themselves. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.