DJK Posted April 29, 2024 Posted April 29, 2024 Hello. Using getInventory() function to get all items in a warehouse, but some are missing, even though they are set in mission editor and are showing on the in-game resource window. Things like the PK-3 pods for the L-39ZA, gunners for Mi8 and some others. What gives? Is this a bug or is there a way to get those items as well? I've attached a simple mission which illustrates what i'm talking about. Batumi warehouse set with 4 items in stock (BetAB 500, Fuel Tank 150L, ALQ-184 and PK-3) and a small script that iterates through the warehouse items 5 seconds in, but only 3 are found. Thanks! getInventoryTsT.miz
Solution Grimes Posted April 29, 2024 Solution Posted April 29, 2024 Known bug with gun pods and maybe a few other weird object types. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Chesster Posted August 27, 2024 Posted August 27, 2024 @Grimes There are many items missing when i run it on a full warehouse inventory. If it was only some weird type of inventory missing I wouldn't care much, but it's also missing items for core modules like F-16CM center tank. Here is a list of all items missing that I found: A2G Missiles: Kh-23L (as-7) BOMBS: LGB-50LGB MPS-410 Kopyo Several !!!!! FUEL TANKS: ptb-3000 fuel tank 1000 gal fuel_tank_370gal fuel_tank_300gal fuel tank 330 gal fuel tank 800 l fuel tank mig-25 fuel tank 1150 l fuel tank 1500 l 275 Gal Fuel Tank fuel tank 1500 kg fuel tank 1000 kg fuel tank f-4 (wing) fuel tank f-4 (fuselage) PTB-2000 fuel tank 800 l wing S-3-PTB fuel tank 370 gal PTB-1150-29 Fuel tank FT600 PTB-150 Drop tank 75gal MISC: sppu-22 UPK-23-250 R-73U (RED) R-73U (GREEN) R-73U (BLUE) R-73U (WHITE) R-73U (YELLOW) R-73U (ORANGE) AIM-9S (GREEN) AIM-9S (BLUE) AIM-9S (WHITE) AIM-9S (YELLOW) AIM-9S (ORANGE) MXU-648 OH-58D_BROWNING AB-212_m134_l AB-212_m134_r GUV_YakB GUV_VOG HWAR smote generator ab-212_m134gunner_l ab-212_m134gunner_r ab-212_m60gunner_l ab-212_m60gunner_r mi-8_gunner mi-8_gunner_b AKANM55 GAU_12_Equalizer DEFA-553 AN-M3 ADEN_GUNPOD PK-3 GAU_12_Equalizer_AP GAU_12_Equalizer_HE M134MiniGunner_R_SA342 MI24Gunner MB339-DEFA553_L MB339-DEFA553_R MB339_cal50_L MB339_cal50_R GIAT_M261_APHE GIAT_M261_HEAP GIAT_M261_HE GIAT_M261_SAPHEI GIAT_M261_AP HMP400 HMP400200 HMP400100 AKANM55_NO_TRC DEFA-553 SUU-23 CH47_PORT_M60D CH47_STBD_M60D CH47_AFT_M60D CH47_PORT_M240H CH47_STBD_M240H CH47_AFT_M240H CH47_PORT_M134D CH47_STBD_M134D CH47_AFT_M3M M3P500 M3P400 M3P300 M3P200 M3P100 MK4 HEIPEG Hercules_105mm_Howitzer Hercules_GAU_23A_Chain_Gun Hercules_M61_Vulcan_Rotary_Chain_Gun 1
INFAMOUS Posted January 16 Posted January 16 (edited) Did they change the name of the file for the 370 gallon tanks on the F-16 again? my tank diff is named "fuel_tank_370gal_diff" and they do not show up again. The flight suit and helmet do not show up anymore either. Edited January 16 by INFAMOUS
tae. Posted Sunday at 02:47 PM Posted Sunday at 02:47 PM I was about to report this as a bug after running into it with my own mission, but then saw this thread. @Grimes is this actually reported as a bug to ED? It would be nice to have the rest of the items added to getInventory() in advance of modules like the C-130J being added, and logistics becoming more fleshed out in DCS. Seems this has sat idle for some time now. If anyone knows of any other workaround that would also be appreciated.
Recommended Posts