DD_Friar Posted March 28, 2022 Posted March 28, 2022 (edited) Salute, I am trying to add the new Ju88-C6 to a mission I am building. In this mission I wanted to restrict the loadout. I have had success with locking loadouts in my missions previously and have made contributions to a thread here... However I am now having an issue with the new JU88-C6 I have followed the same process and configured it in screen shot 1 below, however when I go into my server this plane loadout restriction is not working. I am using the same plane set as in my other post and they are all fine (no big bombs etc) so I know / believe I have everything else correct for this function to work. What I get when I go in game is as screen shot 2 below, although from the restriction list the option is denied, it is still available. Will @Han be updating the master loadout list ("https://forum.il2sturmovik.com/topic/21045-payloads-list-dependences-on-unlocks/")? Is anyone else able to lock out loadouts 6,13 and 16 on this plane? Your advice and guidance, as always is very much appreciated. Edit: Please note I have tried with the "Weapon Mods" set to 1111111 (as per this screen shot) and also clear with no options selected. I get the same results in both cases. Cheers DD_Friar Edited March 28, 2022 by DD_Friar
DD_Friar Posted March 28, 2022 Author Posted March 28, 2022 @Sketch Many thanks for the link. So it seems I need to disable 8,12 and 15 not 6, 13 and 16! May I ask where / how did you find those numbers from, so I know the next time a new plane comes along and I can do the heavy lifting myself?
1CGS LukeFF Posted March 28, 2022 1CGS Posted March 28, 2022 (edited) 1 hour ago, DD_Friar said: @Sketch Many thanks for the link. So it seems I need to disable 8,12 and 15 not 6, 13 and 16! May I ask where / how did you find those numbers from, so I know the next time a new plane comes along and I can do the heavy lifting myself? I know what I do when a new plane comes out and I want to lock certain mods in career mode, I load up a quick mission and choose all of the mods I want to lock (before generating the mission itself). I then open the _gen.mission file and search for the WMMask line, which will then tell me the combination of 1s and 0s needed (minimum of 6 is required). Edited March 28, 2022 by LukeFF 1
Sketch Posted March 28, 2022 Posted March 28, 2022 3 hours ago, DD_Friar said: May I ask where / how did you find those numbers from, so I know the next time a new plane comes along and I can do the heavy lifting myself? I went into the game, and looked at the id number in the game. I took that id number minus 1 and that's the id number for the payload.
JimTM Posted March 28, 2022 Posted March 28, 2022 (edited) 6 hours ago, DD_Friar said: @Sketch Many thanks for the link. So it seems I need to disable 8, 12 and 15 not 6, 13 and 16! May I ask where / how did you find those numbers from, so I know the next time a new plane comes along and I can do the heavy lifting myself? You need to disable payload 5, 12, and 15 (as read from the extract below, which is missing from Han's list). I generated (and edited) the extract from Storebror's Payload Parser. The output from the Payload Parser is all crammed together and needs editing to make it look neat. LukeFF's method above looks interesting; I'll have to try that out. ================================================================ Ju 88 C-6 WeaponMods 1: AdditionalArmor 2: ExhaustSuppressor 3: MG15120 4: UpperTurret 5: BombBayBombs 6: UnderwingBombs Payloads Payload ID / Mod # / Payload Name 0 / -3,-5,-6,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 1 / 3,-5,-6,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 2 / 5,-3,-6,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC50-10 3 / 6,-3,-5,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC250-2 4 / 6,-3,-5,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC500-25 / 6,-3,-5,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC1000-2 6 / 5,6,-3,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC250-2 + SC50-10 7 / 5,6,-3,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC500-2 + SC50-10 8 / 5,6,-3,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC1000-2 + SC50-10 9 / 3,5,-6,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 + SC50-10 10 / 3,6,-5,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 + SC250-2 11 / 3,6,-5,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 + SC500-212 / 3,6,-5,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 + SC1000-2 13 / 3,5,6,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 + SC250-2 + SC50-10 14 / 3,5,6,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 + SC500-2 + SC50-1015 / 3,5,6,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3-MG15120-APHE-350 + 4,5-MGFF-APHE-240 + SC1000-2 + SC50-10 16 / -3,-5,-6 / Empty 17 / -3,-4,-5,-6 / SmokeGenWhiteOne-1 18 / -3,-4,-5,-6 / SmokeGenWhiteTwo-2 19 / -3,-4,-5,-6 / SmokeGenBlueOne-1 20 / -3,-4,-5,-6 / SmokeGenBlueTwo-2 21 / -3,-4,-5,-6 / SmokeGenRedOne-1 22 / -3,-4,-5,-6 / SmokeGenRedTwo-2 23 / -3,-4,-5,-6 / SmokeGenGreenOne-1 24 / -3,-4,-5,-6 / SmokeGenGreenTwo-2 25 / -3,-4,-5,-6 / SmokeGenYellowOne-1 26 / -3,-4,-5,-6 / SmokeGenYellowTwo-2 27 / -3,-4,-5,-6 / SmokeGenBlackOne-1 28 / -3,-4,-5,-6 / SmokeGenBlackTwo-2 ================================================================ FYI re. the first part of the Payload Parser process (that is using the GTP Archive Extractor, unGTP): 1. Open the folder where you installed unGTP and open your IL-2 /data folder. 2. From the IL-2 /data folder, drag Scripts.gtp onto unGTP-IL2.exe in your unGTP folder. A command window opens and unpacks the GTP, but you get an "unknown type" error at the end, which you can ignore. A folder called "(null)" is created under the IL-2 /data folder. 3. Close the command window and move the (null) folder to a non-IL-2 folder to avoid confusing it with a standard IL-2 folder. Edited March 28, 2022 by JimTM 1
DD_Friar Posted March 29, 2022 Author Posted March 29, 2022 (edited) 11 hours ago, JimTM said: 8 / 5,6,-3,-8,-9 / 0,1-MG17-AP-2000 + 2-MG17-AP-800 + 3,4,5-MGFF-APHE-360 + SC1000-2 + SC50-10 Many thanks for your reply Jim, but from your list it does look like #8 as well is required. I will give the combinations a go later this morning. Salute to all for your time in assisting. EDIT Sorry just re-read your post #8 is id not the payload number, why did I doubt such a wise one? Friar Edited March 29, 2022 by DD_Friar
JG4_Deciman Posted March 29, 2022 Posted March 29, 2022 Modified the parser to create a readable output... Simply decompiled it changed a single line (!) and recompiled it... I noticed no on screen output generated, but never mind... Changes: ### private static void addLine(string line = "") { // Program.sw.Write(line); Program.sw.WriteLine(line); Console.WriteLine(line); } ### Result taken directly from the generated file: ###################################### # # # Bf 109 E-7 # # # ###################################### ############## WeaponMods ############## 1: SC50x4 2: SC250x1 3: ArmouredWindScreen 4: RemoveHeadRest 5: Armour ############### Payloads ############### Payload ID / Mod # / Payload Name 0 / -1,-2 / 0,1-MG17-AP-2000 + 2,3-MGFF-APHE-120 1 / 1,-2 / 0,1-MG17-AP-2000 + 2,3-MGFF-APHE-120 + SC50-4 2 / 2,-1 / 0,1-MG17-AP-2000 + 2,3-MGFF-APHE-120 + SC250-1 3 / -1,-2 / Empty 4 / -1,-2 / SmokeGenWhiteOne-1 5 / -1,-2 / SmokeGenWhiteTwo-2 6 / -1,-2 / SmokeGenBlueOne-1 7 / -1,-2 / SmokeGenBlueTwo-2 8 / -1,-2 / SmokeGenRedOne-1 9 / -1,-2 / SmokeGenRedTwo-2 10 / -1,-2 / SmokeGenGreenOne-1 11 / -1,-2 / SmokeGenGreenTwo-2 12 / -1,-2 / SmokeGenYellowOne-1 13 / -1,-2 / SmokeGenYellowTwo-2 14 / -1,-2 / SmokeGenBlackOne-1 15 / -1,-2 / SmokeGenBlackTwo-2 Deci PayloadParser.zip 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now