Shakaali Posted March 25, 2016 Report Share Posted March 25, 2016 Hello. Is there a maximum number of planes DCG can handle? I use CUP and downloaded class file created by JG7_X_Man. It has 964 lines. I noticed that this section: P_40SUKAISVOLOCH2A Curtiss Tomahawk IIa, 1941 gb 1 1 1 194101 194512 None TomahawkMkIIa None 5000 Meters 360.00 kph Default 360.00 kph P_40SUKAISVOLOCH2B Curtiss Tomahawk IIb, 1941 gb 1 1 1 194101 194512 None TomahawkMkIIb None 5000 Meters 360.00 kph Default 360.00 kph TyphoonMk1a Hawker Typhoon MkIA, 1941 gb 1 4 1 194101 194512 None TyphoonMk1a None 3000 Meters 360.00 kph Default 360.00 kph TYPHOON1B Hawker Typhoon MkIB, 1942 gb 1 4 1 194201 194512 None TyphoonMkIB None 3000 Meters 360.00 kph Default 360.00 kph TYPHOON1BLate Hawker Typhoon MkIB late, 1943 gb 1 4 1 194301 194512 None TyphoonMkIBLate None 3000 Meters 420.00 kph Default 420.00 kph TYPHOON1BLate4Blade Hawker Typhoon MkIB late4, 1944 gb 1 4 1 194401 194512 None TyphoonMkIBLate4 None 3000 Meters 430.00 kph Default 430.00 kph TEMPEST5 Hawker Tempest V, 1944 gb 1 4 1 194401 194512 None TempestMkV None 3000 Meters 440.00 kph Default 440.00 kph TEMPESTFB2 Hawker Tempest MkII FB, 1943 gb 1 4 1 194301 194512 None TempestFBMkII None 3000 Meters 440.00 kph Default 440.00 kph WhirlwindA Westland Whirlwind MkI/II, 1940/42 gb 1 4 1 194001 194512 None WhirlwindMkII None 3000 Meters 420.00 kph Default 420.00 kph was missing from the Squadron editor. I created a new campaign with these planes, all the planes were replaced with other planes (Tomahawks with MS410's, all the rest with Hurricane IIb's) Then I edited the class file, deleted everything but this section and restarted the campaign. All the planes were there. EDIT: JG7_X_Man confirmed that these planes are present in his installation. EDIT2: Historic Production Dates is off. DCG version 3.49 Beta. Windows 7 Ultimate running in Finnish - maybe that messes up text coding? Quote Link to comment Share on other sites More sharing options...
Shakaali Posted March 25, 2016 Author Report Share Posted March 25, 2016 It's not the maximum number. I completely uninstalled DCG - including campaigns - and reinstalled it from scratch using original dcg files . Started campaign Tobruk 41 for RAF - still missing Tomahawks that are present in aircraft settings panel. I copied the skin folder names from air.ini to class.dcg to folder name and skins work in game. Quote Link to comment Share on other sites More sharing options...
Shakaali Posted March 25, 2016 Author Report Share Posted March 25, 2016 Got it. ;DRenamed my old Skins folder and created a new one, works perfectly.Still don't understand why it didn't work, as there are no differences in names. And it worked when only the missing section was present in class file.My old Skins folder had 1142 folders as the new one has 963. Maybe that was the reason. Quote Link to comment Share on other sites More sharing options...
Lowengrin Posted March 25, 2016 Report Share Posted March 25, 2016 Long long ago, IL-2 used to use the same name for the skin folder as the online dogfight ID of the plane, so I used the existence of the skin folder to confirm the availability of the plane in the version of the game a person was using. Unfortunately, somewhere along the way, the rules changed. So now it's a bit of a mess. Quote Link to comment Share on other sites More sharing options...
Lowengrin Posted March 25, 2016 Report Share Posted March 25, 2016 BTW, good to know the class file created by JG7_X_Man has 964 lines. The current limit in DCG is 1028. I will increase it in the next beta. Quote Link to comment Share on other sites More sharing options...
Shakaali Posted March 25, 2016 Author Report Share Posted March 25, 2016 The current limit in DCG is 1028. I will increase it in the next beta. Is the number calculated by class file lines? I experimented a bit, adding folders to my Skins folder made the planes disappear at around 1100 folders. No alterations to class file. Quote Link to comment Share on other sites More sharing options...
Lowengrin Posted March 27, 2016 Report Share Posted March 27, 2016 The limit is hardcoded in DCG, but the number of planes is calculated by the lines in the class file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.