• December 03, 2021, 09:36:31 AM
• Welcome, Guest

Pages: 1 ... 4 5 6 [7] 8 9 10 ... 13   Go Down

### AuthorTopic: UberQuick Mission Generator (UQMG) for BAT Project Development News (02 Mar 2021 // Update 004 Released, support BAT WAW 4.1.1)  (Read 19252 times)

0 Members and 1 Guest are viewing this topic.

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 23 July 2020: 1st Successful Air database Built!)
« Reply #72 on: July 29, 2020, 12:53:26 AM »

Quick Update:  Working the stationary plane files, which are kicking my butt.  WAW is missing many static plane equivalents in "stationary.ini", so this is creating lots of problems with my code.  I am laboring through it, but I have gone through several iterations of potential substitutions and other solutions and it is a bit frustrating, but we'll see what I can do.  The substitutions will not be perfect, especially if some of the Mod classes stray away from most conventional naming conventions, like calling the class Ju88 as opposed to JU_88...  The idea is simple but does not work with all cases...

For example... say I don't have a static plane version of the P_51DN20, well I could take a look at:
* does P_51DN2 exist? NO
* does P_51DN exist?  Not exactly
* but... a P_51DN5 exists, and that would make a suitable/proper candidate as a static representation...
Of course if the class is called P51DN20, then everything goes to hell and results can be unpredictable.  I stop at a minimum of three characters... but that also mean that a P_5 may be represented by a P_51 in the code...  programming can be a challenge.

I also discovered that a few classes, like some BF_109s and SPITFIRES have class extensions pointing to other tiers, so I created a second tier, but that is as far as I'll go, otherwise it becomes unmanageable.  For example, take a BF_109B3, which extends to class BF_109B1, which extends to BF_109, and only BF_109 contains the data that defines the BF_109 as a fighter.  Two layers will be adequate, but like I said, it will not be perfect.
Logged
Best Regards, UberDemon/danzigzag, Get UQMG at http://www.uberdemon.net

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 23 July 2020: 1st Successful Air database Built!)
« Reply #73 on: August 02, 2020, 04:08:23 PM »

OK, so the silence is because I have been working on a particularly, tedious, mind-numbing part of the project.  As I explained above, not all static versions of aircraft MODs are included in BAT, so I had to write a substitution routine, but it is not perfect, and it produces some unpredictable results.

I hate doing things half-ass, so I decided to add a manual substitution table to override certain aircraft classes because I wanted the immersion to be a little bit closer to the desired effect instead of crazy substitutions.

For example, there are no static objects for the MiG-7 or -11, so if you choose to do a substitution for the ground objects, the equivalent of either plane would be the MiG-3U, not perfect, but at least there is a resemblance.  Some of them are just to have something there.  There is no static object for the Bf-109W2 floatplane, so the "parked" planes, if you choose the option, would be late A6M Floatplanes.

Some plane objects have no equivalent, so I have an option to use static objects from other lists, like other Stationary objects, or even Objects.

There are only a few of those, for example the V1 and flyable V1s do not have static equipments… but there is a V1 static object ("buildings.House$V1"). Same concept with the flyable/driveable vehicles... there is no "static plane" for the Kubelwagen, but you can use the static equivalent ("vehicles.stationary.Stationary$VW82").

Good news is that as new objects are updated, say for example, the Bf-109W2 static is really added, the updated script will always use existing objects first, and only look at manual overrides second, then algorithms third.  In other words, the updated script will include the new objects instead of the "approximated" substitutions.

Anyway, this took hours, going through 1200 or so entries.  There are 145 unique manually generated substitutions, and if you are really bored, here they are:

Format:
[code I am looking for]=[use this definition instead]=[type]

For static planes, there is a simplified lists of types:
ff = fighter
bb = bomber
ga = ground attack
rr = recce
ss = seaplane
tt = transport
gg = glider

If the string "<*>" is found, this means the [type] field has all the information needed (coming from a non-static aircraft source).

Code: [Select]
P_5dt=R_5=rrSNC_1=CW_21=rrS_T6=Texan_AT6=gaS_AT6=Texan_AT6=gaS_SNJ3=S_SNJ4=gaSNJ_USN=S_SNJ4=rrBU_131=Ar_66C=rrF2G=F4U_5=rrCRPracer12=P_51D30NA=rrTarget_Banner=G_11=ggTarget_Message=G_11=ggFW190D9early=FW_190D9=ffFW190D9r5=FW_190D9=ffFW_187A0=BF_110C4=ffFW_187A1=BF_110C4=ffAr_240A=ME_210CA1=gaAr_240C=ME_210CA1=gaAr_240C2=ME_410B=ffTA_154_A0=UHU=ffJU_87R1=JU_87B2=bbJU_87R2=JU_87B2=bbFW58B=Ju_F13=bbDo217_E2=Do217_K1=bbJU_188beta=JU_88A4=bbJU_388K=JU_88A4=bbDo_22L=Hs126K_6=rrFury_S=GLADIATOR1=ffF534=CW_21=ffMustangMkI=P_51B=ffMARTIN_167=Beaufort1Early=bbBristolBombay=WhitleyMkV=bbManchester_early=WhitleyMkV=bbManchester_I=WhitleyMkV=bbManchester_Ia=WhitleyMkV=bbRAPID=Electra14=ttSEAGLADIATOR3=SEAGLADIATOR2=ffSW2=Swordfish1=bbFirefly_FR1=BarracudaMkII=bbFirefly_MkV=Fulmar=bbMARTLETMKI=F4F3=ffMARTLETMKII=F4F4=ffHellcatMkI=F6F3=ffHellcatMkIb=F6F3=ffHellcatMkII=F6F3=ffHellcatMkIII=F6F5=ffSeaFury_MkX=TEMPEST5=ffHawk75H=DXXI_DU=ffHawk75A2=H_75A3=ffFM_1=BLENHEIM1F=ffP_40P=P_40N=ffYB_40=B_17G=ffPB4Y_2=B_24J100=bbF3F_2=Hawk_3=ffAU_1=F4U1D=ffNW_YAK_1Light=YAK_1=ffNW_YAK_1BEarly=YAK_1B=ffNW_YAK_1Late=YAK_1=ffNW_YAK_9D_44=YAK_9D=ffNW_YAK_9T_44=YAK_9T=gaNW_YAK_9T_45=YAK_9T=gaNW_YAK_9U=YAK_9U=ffCCCdt=R_5=rrKawa_Ki3=Ki10=rrKi30A=KI_27_OTSU=ffKi_32=KI_27_OTSU=ffKi36=KI_27_OTSU=ffKi36ns=KI_27_OTSU=ffKI_51_I=KI_27_OTSU=ffKI_48_I=KI_45_OTSU=ffKI_48_II=KI_45_OTSU=ffKI_48_IIb=KI_45_OTSU=ffKI_48_II_KAMIKAZE=KI_45_HEI=ffKI_109_I=KI_67_I=ffA4N1_IJN=A2N3_IJN=ffB2M1=Ki10=gaB2M2=Ki10=gaB3Y1=Ki10=gaB4Y1=Ki10=gaJ1N1_S=KI_45_HEI=ffJ1N1_Sa=KI_45_HEI=ffJ1N1_F=KI_45_HEI=ffRo37bis=LetovS_328=rrMARTIN_167F=Beaufort1Early=bbNC_900A5=FW_190A5=ffNC_900A8=FW_190A8=ffAVIA_Ba122=A2N2_IJN=ffMyrsky_II=F2A_B239=ffAVIA_B534_Float=HE_60=ssFW58W=HE_60=ssBF_109W2=A6M_NLate=ssDo_18=Do_24T=ssDo_22K=HE_60=ssBV138B=Do_24T=ssBV138MS=Do_24T=ssBV138FM=Do_24T=ssRo43=HE_60=ssSM44_AM=SM_S62=ssCantZ501=SM_S62=ssFiat_RS14=JU_52_3MG5E=ssM6A1=FolgoreSea=ssYokosukaE14Y=E13A1=ssF4FS_3=SB2C2_USN=ssSC_1=SB2C2_USN=ssJ2F_Duck_Super=<*>="[StationaryShips]=J2F_sea=ships.ShipJ2F$J2F_sea=1=ss"Sea_Avenger=TBD1A=ssUPF_F=O_47Float=ssMartin_B_10Bfloats=A_20EXZ=ssSPITFIRE5float=Monsoon=ssFI_103_V1=<*>="[Static_OBJ_AVSK]=V1=buildings.House$V1=2=gg"FI_103RIV=<*>="[Static_OBJ_AVSK]=V1=buildings.House$V1=2=gg"BF_109CRP=BF_109G2=ffBF_109V48=BF_109G2=ffME_209_II=BF_109G2=ffBV_155=TA_152H1=ffKi232=DO_335A6=ffJ6K1=A7M2=ffJ8M1=ME_163B1A=ffPulsejet_F51D=P_51D30NA=ffRamjet_F51D=P_51D30NA=ffF_82E=P_51D30NA=ffF_82E=P_51D30NA=ffMB5=SPITFIREF24=ffSpiteful14=SPITFIREF24=ffVampireGio1=MeteorF4=ffMIG_7=MIG_3U=ffMIG_11=MIG_3U=ffR_4BF=R_4B=ssJetman=<*>="[Static_B.A.T.PERSONNEL]=USAAFPilot2=buildings.House$USAAFPilot2=1=ff"P_40h11od=P_40E=ffDragonfly36a=MIG_3U=ffDragonfly42a=G_55_ss0=ffDragonfly46=HE_162C=ffDragonfly46N=A6M_NLate=ssGranvilleP45=GeeBeeR2=ffBF_109L1=BF_109K4=ffBF_109L2=BF_109K4=ffBF_109L2_LATE=BF_109K4=ffBF_109L3Zerstorer=BF_109K4=ffBF_109L4=BF_109K4=ffBF_109L4C3=BF_109K4=ffKi51=B5N2=rrKurogane=<*>="[Stationary_Support_1]=Kurogane=vehicles.stationary.Stationary$Kurogane=2=rr"WAGEN=<*>="[Stationary_Support_1]=VW82=vehicles.stationary.Stationary$VW82=2=rr"JEEP=<*>="[Stationary_Support_1]=WillisMB_US=vehicles.stationary.Stationary$WillisMB_US=1=rr"JEEP50=<*>="[Stationary_Support_1]=WillisMB_US=vehicles.stationary.Stationary$WillisMB_US=1=rr"
Logged
Best Regards, UberDemon/danzigzag, Get UQMG at http://www.uberdemon.net

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 23 July 2020: 1st Successful Air database Built!)
« Reply #74 on: August 02, 2020, 04:12:28 PM »

Now I can finally get back to what I enjoy... the actual coding piece.  Back to the drawing boards after some Grilling outside... a great day for a few drinks and some flame grilled meat.
Logged
Best Regards, UberDemon/danzigzag, Get UQMG at http://www.uberdemon.net

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 23 July 2020: 1st Successful Air database Built!)
« Reply #75 on: August 05, 2020, 10:35:38 PM »

Quick Update,

The four aircraft database items are done for WAW 3.8.4.

* airDB.ini:  This is the beast, now with slightly more accurate two tiered java extension following, it takes 77 minutes (1hr, 17 minutes) to build.
* airStatDB.ini:  Statistics for the DB, not perfect, but "mejor que nada."
* airStatic.ini:  DB of static aircraft
* g_sairplane.ini:  DB of static aircraft for Ground Editor

The last two files are built at the same time and take about 15 minutes to complete.

Getting closer to a point where I can incorporate changes in UQMG engine to try getting a Beta release...

... in two weeks...
Logged
Best Regards, UberDemon/danzigzag, Get UQMG at http://www.uberdemon.net

#### raf1659

• member
• Offline
• Posts: 151
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 23 July 2020: 1st Successful Air database Built!)
« Reply #76 on: August 06, 2020, 02:01:32 AM »

...
* airDB.ini:  This is the beast, now with slightly more accurate two tiered java extension following, it takes 77 minutes (1hr, 17 minutes) to build.
...

Logged

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 23 July 2020: 1st Successful Air database Built!)
« Reply #77 on: August 07, 2020, 04:54:55 PM »

...
* airDB.ini:  This is the beast, now with slightly more accurate two tiered java extension following, it takes 77 minutes (1hr, 17 minutes) to build.
...

… but imagine how long it would take to update 1500+ items manually...  For DOF, TGA and JTW it should take less time.

I also found some other issues, so I'll start fixing them.  Good thing I did the Mass substitution routine, because I'll have to use it.

2 weeks
Logged
Best Regards, UberDemon/danzigzag, Get UQMG at http://www.uberdemon.net

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 5 August 2020: All Aircraft DB files built.)
« Reply #78 on: August 15, 2020, 11:10:06 PM »

Got the in-laws visiting... not a whole lot of programming for the next couple of weeks...  I plan to sneak in some IL-2 time though...
Logged
Best Regards, UberDemon/danzigzag, Get UQMG at http://www.uberdemon.net

#### RealDarko

• Modder
• member
• Offline
• Posts: 2135
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 5 August 2020: All Aircraft DB files built.)
« Reply #79 on: August 16, 2020, 02:15:02 AM »

"enjoy" you In laws visit, lol
Logged

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 5 August 2020: All Aircraft DB files built.)
« Reply #80 on: August 17, 2020, 10:19:45 PM »

Father in law made delicious briquet!

Logged
Best Regards, UberDemon/danzigzag, Get UQMG at http://www.uberdemon.net

#### raf1659

• member
• Offline
• Posts: 151
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 5 August 2020: All Aircraft DB files built.)
« Reply #81 on: August 18, 2020, 01:39:59 AM »

Father in law made delicious briquet!

Logged

#### RealDarko

• Modder
• member
• Offline
• Posts: 2135
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 5 August 2020: All Aircraft DB files built.)
« Reply #82 on: August 18, 2020, 02:26:52 PM »

Father in law made delicious briquet!

No idea of what is a Brisquet, but have fun lol
Logged

#### UberDemon

• UberDemon/danzigzag
• Modder
• member
• Offline
• Posts: 746
##### Re: ANNOUNCEMENT: UberQuick Mission Generator (UQMG) for BAT Project on Development (with Progress!)(Update 5 August 2020: All Aircraft DB files built.)
« Reply #83 on: August 19, 2020, 01:24:04 PM »

Father in law made delicious briquet!