Sign in to follow this  
johnbla

Aircraft variations

Recommended Posts

Hi Maarten

 

Is there any way to change an aircraft variation that is displayed when "show all variations" is unticked. I have been playing around with the filters but I am struggling. What I am trying to do is have say variation "A" displayed instead of variation "B". I have changed the order in the aircraft.cfg file, but that did not help.

 

Many thanks

 

John

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi John, 

 

I too struggled with this. The aircraft that gets shown is sorted on UI_VARIATION in the aircraft.cfg file. I just put a dash in front of the one I want listed first and it works like a charm. 

 

John

Share this post


Link to post
Share on other sites

Hi John,

SLX sorts the variations by ui_variation and will then show the first one. To display another variation, you need to change the ui_variation keys in the aircraft.cfg file and then rebuild the database (aircraft only).

thanks, Maarten

Share this post


Link to post
Share on other sites

Hi John, 

 

I too struggled with this. The aircraft that gets shown is sorted on UI_VARIATION in the aircraft.cfg file. I just put a dash in front of the one I want listed first and it works like a charm. 

 

John

 

 

Thanks guys

 

As you can see, I put a dash in front of ui_variation=PH-FLF and that seemed to do the trick, I don"t know why.

 

[fltsim.6]
title=C337 Skymaster PH-FLF
sim=C337
model=2P
panel=
sound=
texture=JK_PH-FLF
kb_checklists=C337_CHECK
kb_reference=C337_REF
atc_id=PH-FLF
ui_manufacturer="Carenado"
ui_type=C337
ui_typerole="Twin Engine Prop"
ui_createdby="Carenado"
-ui_variation=PH-FLF
description="Carenado C337 Skymaster"
atc_heavy=0
atc_airline=
atc_flight_number=
atc_id_color=0000000000
visual_damage=1
 
Many thanks 
John

Share this post


Link to post
Share on other sites

Hi Maarten,

 

just my thought:

 

You could set a new parameter like SLX_SORT in aircraft.cfg only for sorting purpose. It would be ignored by any other program.

 

Kind regards, Walter.

Share this post


Link to post
Share on other sites

Hi Walter,

 

I'm sorry, but I don't want to modufy the aircraft.cfg files. The idea of prefixing the ui_variation key is a better option.

 

thanks, Maarten

@John: what you did is not the way to do it:

 

change -ui_variation=PH-FLF in ui_variation=-PH-FLF

 

The dash should go after the = sign.

 

thanks, Maarten

Share this post


Link to post
Share on other sites

Hi Maarten,

 

as i wrote, just a thought. I don't need that.

 

Thanks for attention, Walter.

Share this post


Link to post
Share on other sites

 

 


@John: what you did is not the way to do it:

change -ui_variation=PH-FLF in ui_variation=-PH-FLF

Just like at work: too many damn John's!!!    :lol:

Share this post


Link to post
Share on other sites

 

 


thanks, Maarten
@John: what you did is not the way to do it:

change -ui_variation=PH-FLF in ui_variation=-PH-FLF

The dash should go after the = sign.

 

This John said thanks !!

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