I recently installed this mod and it keeps giving me the error:
Spoiler:
ERROR: failed to load 'X-Com Files' ; mod disabled Weapon STR_HUMAN_SONIC_SHOTGUN has clip size 0 and no ammo defined. Please use 'clipSize: -1' for unlimited ammo, or allocate a compatibleAmmo item.
I checked the items_XCOMFILES.rul and decided to give it a clip size of 3. Now it's saying there's a problem with the heavy cannon. I think there may be an issue with how the mod codes the ammo types for these two weapons.
I think the difference in how these two examples are coded is the cause of my issue, but I don't know how to fix it. I hope my detailed explanation helps to improve things and leads to a solution.
I managed to fix the issue by adding the second example on top of the previous ones with the respective ammo types.
Unfortunately I now get another error whenever I dare to open my inventory.
Spoiler:
[22-05-2024_11-27-29] [FATAL] A fatal error has occurred: Segmentation fault. This usually indicates something missing in a mod. [22-05-2024_11-27-29] [FATAL] 0x54f2d0 OpenXcom::CrossPlatform::stackTrace(void*) [22-05-2024_11-27-29] [FATAL] 0x552ba0 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [22-05-2024_11-27-29] [FATAL] 0x40dca0 signalLogger(int) [22-05-2024_11-27-29] [FATAL] 0x87fe90 xbrz::nearestNeighborScale(unsigned int const*, int, int, int, unsigned int*, int, int, int, xbrz::SliceType, int, int) [22-05-2024_11-27-29] [FATAL] 0x770933c0 UnhandledExceptionFilter [22-05-2024_11-27-29] [FATAL] 0x7727bdd0 RtlInitializeExceptionChain [22-05-2024_11-27-29] [FATAL] 0x7727bd00 RtlClearBits [22-05-2024_11-27-36] [FATAL] OpenXcom has crashed: Segmentation fault. This usually indicates something missing in a mod.
Unfortunately I have no idea how to fix this one since I don't know where I need to look. If anyone here can help me, I'd appreciate it.