Archived

This topic is now archived and is closed to further replies.

Guest George M

Randomising AI traffic percentages in flightplans.txt

Recommended Posts

Does anyone know of a quick way I can randomize the activity level percentages of each AI aircraft within a flightplans.txt file? I have installed a WOAI package into FSX for American Airlines with over 600 aircraft flying a flightplan, and each flightplan has the activity level set at 1%?

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

That 1% means that those flights will show up if you have the airline traffic density slider set to 1% or higher. As for randomizing those percentages, maybe one of the AI utility programs available here at AVSIM will allow you to do that. Do a search in the file library for those tools.Good Luck,KailFlightSimmer since 1987C2D E6850 3.0GHz 1333FSBXFX Nforce 680i LT SLI2x XFX 8800GT 512MB SLI'd4GB Crucial Ballistix PC6400 800MHzCreative SB Audigy2 ZSUltra Xfinity 600W SLI PSUSeagate 320GB 7200RPM 16MB SATA-3GB/S HDWindows XP SP2 / FSX SP2 / FS9 SP1

Share this post


Link to post
Share on other sites

I cant seem to find anything at the moment in the library. I know that AITM allowed you to do this for FS9, but using it requires you to have FS9 installed, which I dont. Neither can I install it because one of my FS9 discs is faulty!

Share this post


Link to post
Share on other sites

AAL is a big airline, but I sometimes use a text pad editor and go through a flight plan changing 1% to11%21%31%41%51%61%71%81%91%Any text editor which has the ability to not wrap lines of text will work. I use TextPad - www.textpad.com - i even have a macro to do that.

Share this post


Link to post
Share on other sites

Sorry to get off topic here, but since your looking Reggie, I'd like to take this opportunity to thank you for the research and work you've done and shared with the Flightsim community. I've learned an awful lot just by reading your posts here. It's to the point where even if I'm not interested in the topic of a thread, if you've posted in it, I read it. You've given me the ability to make my favorite hobby all that much better.Thank you,KailFlightSimmer since 1987C2D E6850 3.0GHz 1333FSBXFX Nforce 680i LT SLI2x XFX 8800GT 512MB SLI'd4GB Crucial Ballistix PC6400 800MHzCreative SB Audigy2 ZSUltra Xfinity 600W SLI PSUSeagate 320GB 7200RPM 16MB SATA-3GB/S HDWindows XP SP2 / FSX SP2 / FS9 SP1

Share this post


Link to post
Share on other sites

Hi Nick,you can import the txt file into EXCEL or the OpenOffice spreadsheet editor and use their random number generator functions to make a column of values between 1 and 99 and then re-export as .txt. Cheers, Holger

Share this post


Link to post
Share on other sites

BRILLIANT!!!:))KailFlightSimmer since 1987C2D E6850 3.0GHz 1333FSBXFX Nforce 680i LT SLI2x XFX 8800GT 512MB SLI'd4GB Crucial Ballistix PC6400 800MHzCreative SB Audigy2 ZSUltra Xfinity 600W SLI PSUSeagate 320GB 7200RPM 16MB SATA-3GB/S HDWindows XP SP2 / FSX SP2 / FS9 SP1

Share this post


Link to post
Share on other sites

Textpad does seem to make it a lot easier Reggie, thanks for the tip. I have just managed to do the whole 600 aircraft in the space of only a few minutes :-)

Share this post


Link to post
Share on other sites

>Hi Nick,>>you can import the txt file into EXCEL or the OpenOffice>spreadsheet editor and use their random number generator>functions to make a column of values between 1 and 99 and then>re-export as .txt. >>Cheers, Holger Will try this out as well Holger, thanks for the tip.

Share this post


Link to post
Share on other sites

Nick,I would definitely go with what Holger and/or Reggie suggest. If you look in the file library under FSX utilities and order by date the first file is AI Flight Planner, if you are going to be working with AI flight plans and such you might find this useful. There's also one called AIFPC I believe. It is also available in the file library. Just thought you might find them handy :)Good Luck,KailFlightSimmer since 1987C2D E6850 3.0GHz 1333FSBXFX Nforce 680i LT SLI2x XFX 8800GT 512MB SLI'd4GB Crucial Ballistix PC6400 800MHzCreative SB Audigy2 ZSUltra Xfinity 600W SLI PSUSeagate 320GB 7200RPM 16MB SATA-3GB/S HDWindows XP SP2 / FSX SP2 / FS9 SP1

Share this post


Link to post
Share on other sites

Seems like I did see an AI percentage randomizer program here in the AVSIM File Libary last year. It was for FSX flight plan bgl's. You inputted the bgl and it would randomize the percentages for each flight.RhettE8500, Arctic Cooling Freezer 7 Pro, ASUS P5E3 Premium, BFG 8800GTX 756 (nVidia 169 WHQL), 4gb DDR3 1600 Patriot Cas7 7-7-7-20 (2T), PC Power 750, WD 150gb 10000rpm Raptor, Seagate 500gb, Silverstone TJ09 case, Vista Ultimate 64

Share this post


Link to post
Share on other sites

Nick, you might try reduceai.zip by Henning Schaefer, in the library. It's not a true randomizer, but will automatically group flights by whatever interval size you specify, steps of 1%, 5%, 10%, etc.It will not work with default FSX flightplans, or those converted to FSX format. But FS9 formatted flightplans, like WoAI, can be first "randomized", then converted to FSX if desired (or used without conversion).John

Share this post


Link to post
Share on other sites

>Does anyone know of a quick way I can randomize the activity>level percentages of each AI aircraft within a flightplans.txt>file? I have installed a WOAI package into FSX for American>Airlines with over 600 aircraft flying a flightplan, and each>flightplan has the activity level set at 1%?If the flightplans.txt files are in FS9 format I have a small VBScript file that does exactly that. I'd be happy to make it available if anyone's interested.I know nothing about the FSX format, but if it's anything similar it would be easy to adapt the script.

Share this post


Link to post
Share on other sites

I'm operating with 20% of FSX airline traffic plus WOAI added. Using notepad fullscreen with wordwrap off, it wasn't too difficult to enter the % for each flightplan in WOAI flightplan text files. Instead of randomizing, I set half of the flights to 19% or less and half to 21% so I get half of the flights at 20%. If an airport isn't getting enough flights, a search (find) in notepad will identify the flightplans applicable so they can be set to 19% or less. Anyway, this seems to be giving me a manageable level of AI traffic.ArtBiostar TF560-A2+, Athlon 64X2-6000+, 4GB RAM, Geforce 8800GTS-320MB, 500W PSU, 250GB HD, FSX (SP1-SP2), Vista Home Premium 32 bit, CH Yoke & Pedals, 22" WS LCD monitor

Share this post


Link to post
Share on other sites

Ok the program you are looking for is ReduceAI found here,http://library.avsim.net/search.php?Search...=root&Go=SearchTo save you guys the hassle I have already redone all the WOAI packs than need doing. All new packs are done already going back a while. I have excluded packs that are under 12 flight plans (small airlines) and ones that are pre "randomized" (obviously).Here is a zip with all the Aircraft, Airport & Flightplan*.txt files! Just Encode with TTOOLS AIFPC. I personally convert all the BGLs to FSX format to get back boat AI and the like. The guy at WOAI dropped a bollock for some reason when i tried to post em there so lets not invite him.http://www.mediafire.com/upload_complete.php?id=4dpdl09mjlx

Share this post


Link to post
Share on other sites

ReduceAI by Henning Schaefer! That was the prog I was trying to remember.RhettE8500, Arctic Cooling Freezer 7 Pro, ASUS P5E3 Premium, BFG 8800GTX 756 (nVidia 169 WHQL), 4gb DDR3 1600 Patriot Cas7 7-7-7-20 (2T), PC Power 750, WD 150gb 10000rpm Raptor, Seagate 500gb, Silverstone TJ09 case, Vista Ultimate 64

Share this post


Link to post
Share on other sites

Nice, thanks for sharing Dotsie. I tried ReduceAI several times but couldn't get it to work - the command line, which was per the instructions, would never be correctly recognized.Regards, Kendall#1: E6750@3.2GHZ/Coolermaster HyperTX2 Gigabyte P35-DS3L 4GB Ballistix Tracers PC6400 EVGA 8800GT - 174.74 beta Seagate 250GB 7200.11 CH Yoke/Pedals/Saitek Throttle Dual Monitor: Dell 2405/1905 #2: Dell 8400 3.2 H.T. 3GB PC4200 - X800XT Diamond Xtreme/Logitech X-530's

Share this post


Link to post
Share on other sites

Some very helpful replies in this post guys, thanks very much. I will have to take a look at the reduceai program that is mentioned, sounds useful.Kail - I do currently use the AIFPC program religiously to convert my FS9 bgls over to FSX format - very useful tool. Im still trying to get to grips with the AI Flight Planner program, but I have learned that this also has a means of changing the percentages within the program itself without having to go into the flightplans.txt files to edit them. Although in saying that Reggie's method does seem a lot quicker I find. AI Flight Planner will nevertheless come in very handy for managing my AI traffic in general.george m - would much appreciate you making this tool available. Sounds just the ticket. Doesnt matter if it only works on FS9 bgls. The FS9 bgls can then simply be converted to FSX format with AIFPC or the like. And dotsie, your work in changing those WoAI percentages is much appreciated my friend. The file you've uploaded will certainly come in handy.

Share this post


Link to post
Share on other sites

After reading this thread, it makes me wonder if I have WOAI installed correctly. I only use WOAI for traffic and am running it in FS9 format. At Ray Smith's version of KLAX with my traffic slider at 100%, I average about 70% of the gates filled. Is that about right, or are you guys getting so much more traffic that you have to reduce it?

Share this post


Link to post
Share on other sites

If WoA is your sole source for AI traffic - at KLAX you would be missing several airlines - mainly regional aircraft for American Eagle, Delta Connection, Continental Express, Horizon Air, United Express, US Airways Express.Those would fill a lot of parking spots.

Share this post


Link to post
Share on other sites

>george m - would much appreciate you making this tool>available. Sounds just the ticket. Doesnt matter if it only>works on FS9 bgls. The FS9 bgls can then simply be converted>to FSX format with AIFPC or the like. OK, you can [a href=http://george.headroar.com/downloads/msfs/fs9/randomize_ai.zip]grab it here[/a], such as it is. I added a readme that hopefully will explain things. If you have any problems with it my email address is in the readme, or you can contact me through the forums here.Sorry if the readme is a little vague about the whole process, but it's been a long time since I've messed with AI traffic. So far my focus in FSX has been elsewhere.

Share this post


Link to post
Share on other sites

We are working on updates for all packages still at 1%, including AA.

Share this post


Link to post
Share on other sites