aliens

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - theboyinblue101

Pages: [1]
1
Troubleshooting / Re: Change Avatar
« on: May 22, 2024, 10:34:00 pm »
Is it possible to add new avatars or create presets in Open X-Com Extended? I've been looking through the files but I can't seem to figure it out.

2
The X-Com Files / Re: Bugs, crashes, typos & bad taste
« on: May 22, 2024, 06:43:24 pm »
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.

Spoiler:
ammo:
0:
compatibleAmmo: [STR_HUMAN_SONIC_SHOTGUN_PELLET_CLIP]
tuLoad: 12
tuUnload: 6
1:
compatibleAmmo: [STR_HUMAN_SONIC_SHOTGUN_FOCUSED_CLIP]
tuLoad: 28
tuUnload: 8

ammo:
0:
compatibleAmmo: [STR_HUMAN_SONIC_HEAVY_CANNON_CLIP]
tuLoad: 25
tuUnload: 9
1:
compatibleAmmo: [STR_HUMAN_SONIC_HEAVY_CANNON_FOCUSED_CLIP]
tuLoad: 28
tuUnload: 10
Every other weapon in the game from what I can tell uses code like:

Spoiler:
compatibleAmmo:
- STR_CHEMTHROWER_GAS_CLIP
- STR_CHEMTHROWER_CHRYSSALID_GAS_CLIP
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.

Pages: [1]