Author Topic: Gas Mask // Armed Civlians armor error  (Read 1287 times)

Offline SDEDEN

  • Sergeant
  • **
  • Posts: 25
    • View Profile
Gas Mask // Armed Civlians armor error
« on: November 25, 2024, 09:50:40 pm »
I get this in the XCOM log when trying to run these mods with the newest OXCE+.

Error for 'FIREFIGHTER_ARMOR': Number of battle corpse items for 'corpseBattle' does not match the armor size.
Error for 'HUMAN_ARMOR': Number of battle corpse items for 'corpseBattle' does not match the armor size.
Error for 'HUMAN_SOLDIER_ARMOR': Number of battle corpse items for 'corpseBattle' does not match the armor size.
Error for 'PARAMEDIC_ARMOR': Number of battle corpse items for 'corpseBattle' does not match the armor size.
Error for 'POLICE_FEMALE_ARMOR': Number of battle corpse items for 'corpseBattle' does not match the armor size.
Error for 'POLICE_MALE_ARMOR': Number of battle corpse items for 'corpseBattle' does not match the armor size.
Error for 'STR_GASMASK_UC': Number of battle corpse items for 'corpseBattle' does not match the armor size.

Reading the UFOpaedia nightly rules and looking at the files as far as /I/ can tell everything should be fine. I tried adding "size: 1" to the rules but that didn't work. I'm an amateur, so any help would be appreciated. I've been running a version of OXCE+ from mid 2018 for years mainly because of errors like this but I do want to upgrade finally.

Offline Delian

  • Commander
  • *****
  • Posts: 602
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #1 on: November 25, 2024, 10:48:32 pm »
These armors are either missing the corpseBattle definition in the yaml. Or these definitions are invalid because items with those codenames don't exist.
« Last Edit: November 25, 2024, 10:50:45 pm by Delian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9309
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #2 on: November 26, 2024, 12:04:38 am »
If you link the mod download, we can fix the mod for you.

Offline SDEDEN

  • Sergeant
  • **
  • Posts: 25
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #3 on: November 26, 2024, 06:14:15 am »
Armed Civilians:
https://mod.io/g/openxcom/m/armed-civilians

Gasmask & Gasmask Armor:
https://openxcom.org/download/oldmods/


Everything looks good to me, but there must be more I need to read then. Would appreciate it

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9309
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #4 on: November 26, 2024, 10:46:05 am »
Armed Civilians:
https://mod.io/g/openxcom/m/armed-civilians

Armed Civilians mod loads without problems for me in OXCE 7.15

Gasmask & Gasmask Armor:
https://openxcom.org/download/oldmods/

Those two mods seem to be just different versions of the same mod.
You should use only one of them.

Both fixed versions attached.

Offline SDEDEN

  • Sergeant
  • **
  • Posts: 25
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #5 on: November 26, 2024, 11:59:52 am »
Regarding Gasmask Armor: yes I know, I'm not sure if there is any difference between the two files there.

Anyway, thanks for your help, but it seems there are several more mods that don't work with modern OXCE versions, so I'm just keep with the old version.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9309
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #6 on: November 26, 2024, 12:17:26 pm »
Anyway, thanks for your help, but it seems there are several more mods that don't work with modern OXCE versions, so I'm just keep with the old version.

If you know which ones they are, we can fix them.

Offline SDEDEN

  • Sergeant
  • **
  • Posts: 25
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #7 on: November 26, 2024, 06:22:12 pm »
It was complaining about Cybermite weapon from Waspite Alien mod. I ran it with no other mods installed, downloaded right from the website last night.

I'm not sure what was going on with Armed Civilians, I using the newest version of that, but I had just installed it over an old version and that must have left something behind. I think to upgrade I'd need to just scrap my whole mod list and try every mod one ant a time and not play with anything as the logic with later versions of OXCE seem to be different. It's very very particular about how it wants things done. Versions 3.10 justwerks!


Offline SDEDEN

  • Sergeant
  • **
  • Posts: 25
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #8 on: November 26, 2024, 08:44:27 pm »
Update:

Error for 'ALLOYTANK_ARMOR': The first battle corpse item must be of item type 'corpse' (battleType: 11)
Error for 'STR_NONE_UC': Number of battle corpse items for 'corpseBattle' does not match the armor size.


[26-11-2024_10-16-25]   [ERROR]   failed to load 'Alien Waspite'; mod disabled
C:/Users/19162/Documents/OpenXcom/mods/Alien Waspite/Ruleset/cover_alien.rul: Error for 'CYBERMITE_WEAPON': offset '-3' has incorrect value in set 'BIGOBS.PCK' at line 30

Alloy Tanks, the Ufopedia entry for the default jumpsuit. Waspite Alien from the main mod portal.

Then it doesn't seem to even recognize various mods from the old archive such as the Anthropod alien, Gazer alien, matching laser/plasma/default colors, Rylenki's Guns' Gadets, Shotgun, Grenade Launcher, and whatever else. They don't show up in the mod list. Some might be mods that were on the main portal but then removed in the recent past, I'm not sure.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9309
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #9 on: November 26, 2024, 09:25:24 pm »
I will gladly help you, but I need a download link for each mod.
I don't have time looking for the correct version and fail anyway because you have it from somewhere else.
« Last Edit: November 26, 2024, 09:29:00 pm by Meridian »

Offline yergnoor

  • Colonel
  • ****
  • Posts: 148
    • View Profile
Re: Gas Mask // Armed Civlians armor error
« Reply #10 on: November 27, 2024, 06:21:40 am »
Then it doesn't seem to even recognize various mods from the old archive such as the Anthropod alien, Gazer alien, matching laser/plasma/default colors, Rylenki's Guns' Gadets, Shotgun, Grenade Launcher, and whatever else. They don't show up in the mod list. Some might be mods that were on the main portal but then removed in the recent past, I'm not sure.
Many older mods did not yet have a metadata.yml file, which indicated their name and some other data.  For older versions of OpenXcom this was optional.  But now, without this file, the game simply won’t notice the mod, and if metadata.yml is missing, then you just need to create it yourself.  Although, of course, this does not mean that the old mod will be functional, but OXCE will at least see it and check for errors.