Hi, everybody.
I finished the main work on DGen_MOD 2.0 and began the first testing. While debugging of the program will be carried out and preparation of beta of the version I will start acquainting with features of the new version gradually.
1 . It is completely integrated option of the generator - I cleaned all double procedures and copied a code, having taken the best and unique from branches FB and Pacific. All main opportunities are available now isn't dependent on a battlefield. While there was a division into avianosny and overland options, but I will surely clean this restriction the following versions.
2 . I completely changed algorithm of calculation of radius of search of the purposes - now it isn't attached to key points and works according to the radius of flight from FM.
3 . I completely changed algorithms of selection of planes in mission and arms selection:
- the AllPlanes.dat files and *Planes.dat aren't used any more.
- are added the AllPlaneDB.dat file in which all necessary information on planes and the AllWeapons.dat file which is a matrix of a choice of arms depending on type of a fighting task is collected. I will in detail describe these files in documentation.
4 . I changed available versions of information in section [Planes] of the DB files:
Old format
[Planes]
10 F4U1A
10 F4U1D SSkin.bmp WSkin.bmp
probability of emergence and plane name, summer and winter skin.
New format - option 1
[Planes]
Allies England 10 F6F5 - can set now a plane nationality forcibly
New format - option 2
[Planes]
Allies England 10 F6F5 --Reconplane - can in addition set plane type (in this example of F6F5 will appear only as the scout)
10 F6F5 SSkin.bmp WSkin.bmp --Reconplane
all combinations work.
Now such option is possible:
[Planes]
Axis Germany 45 BF_109G6
Axis Italy 45 BF_109G6
57 BF_109G6Late
Allies USSR 57 BF_109G6Late
These planes will appear at the same time in missions with the established nationalities.
For today while everything, I will continue to acquaint with new opportunities in the next few days.