Greetings.
I have been busy with other things in life. Work & family of course.
But I had time today to do some work I really wanted to tidy up in the Air Database interface, so that searches are handled correctly, the GUI has all functionality, and also adding the ability to do searches based on Load choices (Weapons, Cargo, paratroopers, etc).
Regarding the Load choices, please understand that results in a search are not 100% accurate because there is no standard in the naming of weapon or loads amongst the original developer and much less amongst modders, so I hope you will be patient with search results.
The good news is that I have developed the okayest working model for using weapon load search parameters. By that I mean it is a good working start, and it will be super easy to update with a simple text file update that provides additional or updated search parameters based on the BAT text weapons initialization file. Although in the past that would have been an incomplete solution, with SAS~Storebror’s Loader MOD, this is totally possible, of course with some coding magic due to issues with some aircraft naming conventions.
Now… there are some things that are impossible to do unless I do some complex updating of my search engine, so there is a chance that some things are just not 100% accurate, but we’ll worry about that later after the release. I have a 95% solution that is better than most releases, I think. An example is choosing aircraft with 20mm cannons… unless it is explicitly mentioned in a load out that an aircraft has that, obviously they will not appear in the search results. For aircraft that only have Default and Empty choices, they will not come up… so this weapon search is really meant for the weapon loads, like finding which planes carry Torpedos or Bombs.
In the original UQMG Classic, it took me weeks, months to create a database with the details for each plane, and I want to avoid this by using the power of programming. It will make updating much faster as new mods and BAT updates come up.
So OK, lets look at an example…
Here is the Air DB for the new UQMG. Note the addition of “Load Options”.
We are currently editing a blue flight group. First we will use the Select All option. And as expected everything gets selected.
Let’s look at a fictional scenario. I want first 1945 or later German planes that carry Nuclear bombs. So let’s setup the search.
* Flyable planes (uncheck non-flyable)
* German planes (so uncheck all Red countries using the right-button click Uncheck All option in the Red and Blue team selection list boxes, then select Germany in the Blue list box)
* Keep all IL-2 Type DB parameters checked, because the limitation right now is based on weapon loads.
* In load options, uncheck everything with context menu, then select only Nuclear Bombs.
* For Year parameter, let’s use low year as 1945, high year as 1950, and low-year limit of “2”, that is, any airplane that meets the parameters and was available from 1943 would be available.
So we Click the Go button and we wait about 15 seconds (really it takes a lot of time to go through all the search parameters). I have the search updating with some numbers so you don’t think there is an eminent crash…
We can see there are two planes meeting the criteria. Let’s go ahead and move all to the right box. Because we want to add some other planes to the potential set we are creating.
We now want to add all fighters from that time period that can carry drop tanks, because they need to escort those bombers. We will deselect all the IL-2 Type DB options and select only Fighter options, then we will select in the load Options, only droptanks, of course. I want only planes that were available from 1945 and later in this case, so I will lower my low year limit to “0”.
We get 18 planes in the result, including some fairly advanced designs, like the BV 237 series, the Go 229, late model 109s and 190s, as well as the Me-155.
Let’s add the BVs, Horten, and Me-155 to this set. You click on them and transfer them.
So you see you can build interesting sets for interesting scenarios.
The Rule Set building Engine will be next, but it will follow a similar pattern, but easier, compared with UQMG Classic, and it will be hopefully easier to update as well.