Author Topic: GSX Not Respecting Changes to rules_handling.cfg  (Read 1282 times)

coryb13

  • Newbie
  • *
  • Posts: 13
GSX Not Respecting Changes to rules_handling.cfg
« on: November 02, 2021, 06:03:32 am »
Hello,

After updating GSX to the September improvements, it no longer seems to be referencing changes to the rules_handling.cfg file. Previously, I had set the Southwest (WN) base color to full_blue since their vehicle fleet is all blue, and GSX correctly displayed this color change. Now, no matter what I seem to try, GSX continues to display Southwest vehicles in the red base color. The relevant section of the rules_handling.cfg looks like this:

Code: [Select]
[WN]
couatl.atc_parking_codes = SWA
couatl.icaoprefixes = K KLAS KATL KABQ KLAX KDEN KMCO KSFO KBWI KPHX KPHL KLGA KMDW KFLL KOMA KMCI KMEM KOAK KONT KSAN KDCA KSDF
couatl.basecolor = full_blue

Is there something I'm missing here? Or can GSX at least be changed to default Southwest to full_blue since their vehicles are entirely blue in real life?

Thanks.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: GSX Not Respecting Changes to rules_handling.cfg
« Reply #1 on: November 06, 2021, 10:38:30 am »
That's not really a bug but, more a side effect of having added multi-liveries support, using the standard method, instead of DirectX 11.

Before the update, there weren't any vehicles which were operator specific in P3D4/5. We only had some blank vehicles with a "base color" and while P3D V4 was then capable to create the operator logo "on the fly" using DirectX 11, in P3D V5 you only had the blank vehicle but, at least, the base color was correct, because there weren't any operator-specific livery combinations, so in V5 you only got the blank generic, but in the right base color which was selected just like P3D V4, but with no DirectX to add the logos.

Now, with multi-liveries back, the generic blank vehicles would only be used in very rare cases, if nothing better is available for an airport but, most of the times, the operator-specific variant will be found so, this variant gets its base color by means of a texture "Fallback" command in the object TEXTURE.CFG file, which instructs the sim should look for a texture in other folders.

Since the WN set of vehicles all have their fallbacks pointing to some "texture.red" folder (exact name changes depending on the vehicle), that's what makes them red, the base color parameter of the rule won't affect its choice anymore so, the only way for you to have a "full_blue" version would be changing all Fallback lines in the TEXTURE.CFG file in the "TEXTURE.WN" folders of all vehicles to read "full_blue" instead of "red".

If you think the full blue livery would be more appropriate for Southwest, we might make that change official, since any of your changes would then be wiped out by an update.
« Last Edit: November 06, 2021, 10:42:03 am by virtuali »

coryb13

  • Newbie
  • *
  • Posts: 13
Re: GSX Not Respecting Changes to rules_handling.cfg
« Reply #2 on: November 06, 2021, 04:52:45 pm »
That's not really a bug but, more a side effect of having added multi-liveries support, using the standard method, instead of DirectX 11.

Before the update, there weren't any vehicles which were operator specific in P3D4/5. We only had some blank vehicles with a "base color" and while P3D V4 was then capable to create the operator logo "on the fly" using DirectX 11, in P3D V5 you only had the blank vehicle but, at least, the base color was correct, because there weren't any operator-specific livery combinations, so in V5 you only got the blank generic, but in the right base color which was selected just like P3D V4, but with no DirectX to add the logos.

Now, with multi-liveries back, the generic blank vehicles would only be used in very rare cases, if nothing better is available for an airport but, most of the times, the operator-specific variant will be found so, this variant gets its base color by means of a texture "Fallback" command in the object TEXTURE.CFG file, which instructs the sim should look for a texture in other folders.

Since the WN set of vehicles all have their fallbacks pointing to some "texture.red" folder (exact name changes depending on the vehicle), that's what makes them red, the base color parameter of the rule won't affect its choice anymore so, the only way for you to have a "full_blue" version would be changing all Fallback lines in the TEXTURE.CFG file in the "TEXTURE.WN" folders of all vehicles to read "full_blue" instead of "red".

If you think the full blue livery would be more appropriate for Southwest, we might make that change official, since any of your changes would then be wiped out by an update.

Okay, that makes sense. Thank you for the detailed and helpful explanation!

I would recommend making an official change to "full_blue" since that better fits their vehicle fleet. Their whole fleet looks like the vehicles pictured here: https://upload.wikimedia.org/wikipedia/commons/6/65/Denver_International_Southwest_Airlines_gate.jpg

Additionally. if the change is made to "full_blue", you'll want to update the text in the logo to be white (and the heart still full color). I can send you my version of the logo as well (just can't attach it here since it's a .dds).

Thanks!