Author Topic: Passenger Bus  (Read 2442 times)

Eisbahn

  • Full Member
  • ***
  • Posts: 139
Passenger Bus
« on: September 02, 2017, 06:33:27 pm »
Hello,
I would like to use only the red passenger bus at FSDT Zürich (LSZH) and Geneva (LSGG) airports.
I have attempted to make a USER file to achieve this but I still get random bus colours.
I have copied the standard texture,red file into the USER folder although I know this may not be necessary.
I have attached my sim.cfg and texture.cfg files.
What am I doing wrong? Any help appreciated.
Eisbahn

Eisbahn

  • Full Member
  • ***
  • Posts: 139
Re: Passenger Bus
« Reply #1 on: September 07, 2017, 11:17:11 am »
Anyone?

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51439
    • VIRTUALI Sagl
Re: Passenger Bus
« Reply #2 on: September 07, 2017, 11:20:48 am »
You put a condition:

couatl.condition = %(numPassengers)d > 5 and %(numPassengers)d <= 20

Likely because you copied the [fltsim.1] from the Paintkit sample sim.cfg, which is related to the FSDT Shuttle, not the bus, which is the [fltsim.0] section, which is the one for the Bus.

This means your red bus will appear only if the estimated number of passengers is between 6 and 20. A couatl.condition inside a [flightsim] section will always take precedence to the a condition in the [general] section, which says the number of passengers should be more than 20.

For the same reason, the wheels distance is also wrong, because it was the one for the shuttle. Basically, you should have taken the [fltsim.0] section, which is for a bus, as a template.
« Last Edit: September 07, 2017, 11:23:17 am by virtuali »

Eisbahn

  • Full Member
  • ***
  • Posts: 139
Re: Passenger Bus
« Reply #3 on: September 07, 2017, 12:55:23 pm »
Hi Umberto,
Thank you for the prompt reply.
I have modified my sim.cfg and texture.cfg files. However, I still get different coloured buses.
Do I need to enter any other conditions? Thanks for your advice.
Eisbahn

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51439
    • VIRTUALI Sagl
Re: Passenger Bus
« Reply #4 on: September 07, 2017, 01:21:00 pm »
Your texture.cfg is wrong, because it has 2 [fltsim] sections.