Jump to content
Sign in to follow this  
airlinetycoon

Idea: Priority of parking positions

Recommended Posts

Hi Nico,

is it possible to implement a priority ranking for parked aircrafts by editing the airport.xml?

backround: I want to see always didicated aircrafts on special positions independentally of percentage. For example in maintenance or cargo areas. Or for airports with a lot of „corona-parkers“.

cheers!


Greetings Andrew Bowler

Share this post


Link to post
Share on other sites

Hi,

That would be possible. However, it involves some airport.xml file editing from users. Don't know if many people take that plunge.

But it could be implemented like this:

Add this new section to your airport file:

<permanent>
    <parkpos id="g607" airline="BAW" type="B772" />
    <parkpos id="g616" airline="BAW" type="B789" />
         ...
</permanent>

And PSXseconTrafic will place two aircraft at those gates as long as you are at the airport with your user plane, independent from the parking percentage. Like the static aircraft in add-on airport packages.

Cheers,

Nico

 

Edited by kiek

Share this post


Link to post
Share on other sites
4 hours ago, airlinetycoon said:

Great Nico, thank you!!

Please check it with this for "for you only" version of current 20.5. I still have to write the documentation.

I have tested it with this addition to my EHAM.xml fil for FlyTampa EHAM P3Dv5:

<permanent>
    <parkpos id="P10" airline="KLM" type="B77W" />
    <parkpos id="P12" airline="KLM" type="B772" />
    <parkpos id="P14" airline="KLM" type="B77W" />
    <parkpos id="P16" airline="KLM" type="A332" />
    <parkpos id="P2" airline="KLM" type="B738" />
    <parkpos id="P3" airline="KLM" type="B78X" />
    <parkpos id="U1" airline="KLM" type="B738" />
    <parkpos id="U2" airline="TRA" type="B738" />
    <parkpos id="U3" airline="TUI" type="B763" />
    <parkpos id="U4" airline="TRA" type="B738" />
    <parkpos id="U5" airline="KLM" type="B738" />
    <parkpos id="Y71" airline="KLM" type="B739" />
    <parkpos id="Y72" airline="KLM" type="B737" />
    <parkpos id="Y73" airline="KLM" type="B738" />
</permanent>

It worked as expected. Note that these permanent parked aircraft are not counted for in the number of parked aircraft shown in the UI, and they do not 'disturb' the parking percentage.

They are not taken into account in the collison checks; they are just "dead wood" like buildings.

PSXT does check whether the aircraft fits at the gate (radius vs wingspan) and it also checks cargo gates vs cargo aircraft.

Nico

 

Share this post


Link to post
Share on other sites

I've updated the documentation and fixed a bug with the permanent aircraft, please download the latest version, same link above.

Share this post


Link to post
Share on other sites
55 minutes ago, peter_fuss said:

Hello Nico,

this was a great idea, now i can park my static helicopters much better😀

🙂

Could you test it via the link two posts ago? There is also documentation now.

Share this post


Link to post
Share on other sites

Hello Nico,

must i delete the entries in the parkpos like the bold once when i write a permanent once?

<parkpos id="r904" latitude="48.681922" longitude="9.194206" heading="19.9" radius="18.0" cargo="false">
        <aircraft>
            <option airline="PBW" type="EC45" real="true" hours="15,16" />
        </aircraft>

    </parkpos>

<parkpos id="r904" airline="PBW" type="EC35" />


Regards Peter

from ETHL

Share this post


Link to post
Share on other sites
1 hour ago, peter_fuss said:

Hello Nico,

must i delete the entries in the parkpos like the bold once when i write a permanent once?

<parkpos id="r904" latitude="48.681922" longitude="9.194206" heading="19.9" radius="18.0" cargo="false">
        <aircraft>
            <option airline="PBW" type="EC45" real="true" hours="15,16" />
        </aircraft>

    </parkpos>

<parkpos id="r904" airline="PBW" type="EC35" />

No, you don't have too. PSXT will skip the gates that have a permanent  entry too.

Share this post


Link to post
Share on other sites

Hello Nico,

okay, thanks it works. So i can static display the police helicopterstation of stuttgart

edds_helisd5kq6.jpg

 

edds_helis1bwk5u.jpg

  • Like 1

Regards Peter

from ETHL

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...