SAS_Storebror Posted May 28, 2018 Posted May 28, 2018 (edited) Hi folks, This is a tool to parse weapon mods and payload IDs straight from IL-2's extracted GTP archives. What you need: The GTP Archive Extractor for IL-2 Great Battles (mirror available e.g. at https://www.sas1946.com/main/index.php/topic,58547.0.html) Using this tool you have to extract the file "Scripts.gtp" from IL-2's "data" folder to a folder of your choice. This tool. Put the exe file into the subfolder "Scripts\luascripts\worldobjects\planes" of your extracted Scripts.gtp archive folder and run it there. This will create a new file "Payloads.txt" in that folder. This "Payloads.txt" file holds all weapon mod and payload declarations of all your planes. Whenever a new plane is added to IL-2 or a new version updates the existing plane's weapons, please don't forget to extract "Scripts.gtp" again and run this tool to get an up-to-date list of payload IDs and weapon mods for your Mission Editor works. Link: https://www.sas1946.com/main/index.php/topic,58763.0.html Cheers! Mike Edited May 28, 2018 by SAS_Storebror Link fixed 4
JimTM Posted May 28, 2018 Posted May 28, 2018 Thanks Mike. Note that the second link also goes to the GTP extractor rather than the parsing tool.
SAS_Storebror Posted May 28, 2018 Author Posted May 28, 2018 Thanks for the heads up Jim, it's fixed now. Cheers! Mike
IRRE_Genius Posted May 9, 2019 Posted May 9, 2019 Hello, Thanks for the tools. How to understandt payload files ? Example: - In log parser we found a payload_id and a weapons_mod_id for a P-40E-1: payload_id = 3 and weapon_mod_id = 7 or payload_id = 1 and weapon_mod_id = 5 - What type of payload are ? Thanks.
JG7_X-Man Posted May 10, 2019 Posted May 10, 2019 I like this! Now for all you guys (...you know who you are) that rename the Fw 190D-9 to Fw 190As or A-20s to P-47s for the payload options, in TAW this could be confirmed!
JimTM Posted May 10, 2019 Posted May 10, 2019 (edited) 6 hours ago, -IRRE-Genius said: Hello, Thanks for the tools. How to understandt payload files ? Example: - In log parser we found a payload_id and a weapons_mod_id for a P-40E-1: payload_id = 3 and weapon_mod_id = 7 or payload_id = 1 and weapon_mod_id = 5 - What type of payload are ? Thanks. Here is some of the data for the P-40E: WeaponMods ##############1: M250x42: AddAmmo3: ROS82x44: FAB2505: FAB5006: Mirror############### Payloads ###############Payload ID / Mod # / Payload Name0 / -1,-2,-3,-4,-5 / 0,1,2,3,4,5-M250-AP-14101 / 2,-1,-3,-4,-5 / 0,1,2,3,4,5-M250-AP-16862 / 1,-2,-3,-4,-5 / 0,1,2,3-M250-AP-9403 / 1,2,-3,-4,-5 / 0,1,2,3-M250-AP-24604 / 4,-1,-2,-3,-5 / 0,1,2,3,4,5-M250-AP-1410 + FAB250SV-1 Here is the same data broken out into lines for each weapon mod and payload: WeaponMods ############## 1: M250x4 2: AddAmmo 3: ROS82x4 4: FAB250 5: FAB500 6: Mirror ############### Payloads ###############Payload ID / Mod # / Payload Name 0 / -1,-2,-3,-4,-5 / 0,1,2,3,4,5-M250-AP-1410 1 / 2,-1,-3,-4,-5 / 0,1,2,3,4,5-M250-AP-1686 2 / 1,-2,-3,-4,-5 / 0,1,2,3-M250-AP-940 3 / 1,2,-3,-4,-5 / 0,1,2,3-M250-AP-2460 4 / 4,-1,-2,-3,-5 / 0,1,2,3,4,5-M250-AP-1410 + FAB250SV-1 The first payload line above reads "0 / -1,-2,-3,-4,-5 / 0,1,2,3,4,5-M250-AP-1410". The line has three sections, delimited by forward slashes. The first section is the payload ID (0). The second section lists the required and prohibited weapon mods for payload 0 (-1,-2,-3,-4,-5). The numbers for required mods have no sign and the numbers for prohibited mods have a minus sign. If a mod number is not listed, it is optional. In this case, all mods except the mirror (6) are prohibited and the mirror is optional. The third section is the payload name, which is a concise description of the payload (0,1,2,3,4,5-M250-AP-1410). See pg. 302 of the editor manual for a payload name key. Note: The mod/payload data in the manual is not up to date. Edited May 10, 2019 by JimTM 1
JG1_Butzzell Posted January 28, 2020 Posted January 28, 2020 (edited) S! I understand that if in the weapons mods area I can write 1..6 and it will allow weapon mods 1 though 6. How do I write it for 2,4,5,6,7? I want to skip weapon 3, Found it. They are not CSV. They are slash separated values. Edited January 28, 2020 by JG1_Butzzell
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