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.

45 lines
2.5 KiB

## AI Traffic Creator For FlightGear
###A simple Ai traffic creator for FlightGear flight simulator
### Requirements: Python 3 (written in 3.8)
4 years ago
![Screenshot](screenshot/screenshot.jpg)
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.
3 years ago
The "Traffic_Creator.py" and "traffic_test.xml" files should be extracted to any directory that has read/write permissions.
3 years ago
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](http://wiki.flightgear.org/AI_Traffic) (link also in program).
3 years ago
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.
4 years ago
**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.
3 years ago
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.**
4 years ago
### Disclaimer
This is my first Python program so any errors and bugs are entirely down to me. ;)
3 years ago
Written on windows 10 in PyCharm and tested with Linux Mint in Virtualbox with no problems.