航班管理器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
gooneybird47 26e19a8108
First test of a windows .exe file.
3 years ago
__pycache__ First test of a windows .exe file. 3 years ago
screenshot Update screenshot.jpg 3 years ago
windows_64 First test of a windows .exe file. 3 years ago
.gitattributes Initial commit 4 years ago
README.md First test of a windows .exe file. 3 years ago
Traffic_Creator.py First test of a windows .exe file. 3 years ago
traffic_test.xml First test of a windows .exe file. 3 years ago

README.md

AI Traffic Creator For FlightGear

###A simple Ai traffic creator for FlightGear flight simulator

Requirements: Python 3 (written in 3.8)

Screenshot

I believe Linux and Mac already have Python installed by default but windows does not so it will need to be installed if you don't already have it.

The "Traffic_Creator.py" and "traffic_test.xml" files should be extracted to any directory that has read/write permissions.

Traffic_Creator.py can be run either through an IDE or directly from the directory via the command line/terminal by typing "python3 Traffic_Creator.py" without the quotes.

In windows you can open the terminal from the directory the files are in by clicking in the address bar and typing cmd then enter.

See bottom of this text for a Windows Executable.

The program should be self explanatory if you have delt with traffic files before but if not I suggest reading up about them on the Wiki first. - Wiki.flightgear (link also in program).

You can create as many aircraft and flights as you wish by filling in the details then pressing the "Create Aircraft Section" then each "Create Flight Section", this process can be repeated as often as you like but remember to alter the relevant details so you don't end up with duplicate flights. Comments can be added anytime they are required.

Do not close the program until you have finished all tasks and saved the file as this will wipe all data. Saving the file will automatically close the program.

All you need to enter is the actual text not the .xml tags they will be automatically entered when you save the file.

When finished save the file with the name of your choice, all being well it can be copied straight into your AI/Traffic folder and ready for use.

This is not an xml editor, it can not edit traffic files, I created it to quickly write test or local files so it's not really a program for writing or editing airline schedules.

Windows Executable

First test of a windows .exe file.

In the "windows_64" folder is a zip file (Traffic_Creator.zip) extract the contents of the zip into a folder that has write access and run the "Traffic_Creator.exe" file.

This has been tested on several windows 10 computers with no problems but I believe it only runs on 64 bit machines.

Disclaimer

This is my first Python program so any errors and bugs are entirely down to me. ;)

Written on windows 10 in PyCharm and tested with Linux Mint in Virtualbox with no problems.