[Help][Error] Invalid equipment type

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Jagy_CZ

Recruit
20 Badges
Aug 20, 2019
9
2
  • Crusader Kings II
  • Darkest Hour
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders II
  • Age of Wonders III
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Magicka 2
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II: The Old Gods
Hello, I would like to ask if anyone has or had the same error as i do:

[operationresources.cpp:93]: Invalid equipment type ( has to be an archetype ) in operation resources: fighter_equipment

I'm modding my own aircrafts and so far everything worked fine, i have custom aircraft units, with custom equipments, both are accesible in the game and working. Only problem i have is this error, it appeared after i replaced paths for /units and /units/equipment. The thing is, that i checked every file in the units folder, no unit is using this type of equipment and there is not even this type of equipment in the equipment folder. My mod is working fine, but i hate when i see errors in my logs. Thanks for help
 

ecpgieicg

First Lieutenant
27 Badges
Oct 27, 2012
263
113
  • Cities in Motion
  • Magicka
  • Leviathan: Warships
  • Cities in Motion 2
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Hello, I would like to ask if anyone has or had the same error as i do:

[operationresources.cpp:93]: Invalid equipment type ( has to be an archetype ) in operation resources: fighter_equipment

I'm modding my own aircrafts and so far everything worked fine, i have custom aircraft units, with custom equipments, both are accesible in the game and working. Only problem i have is this error, it appeared after i replaced paths for /units and /units/equipment. The thing is, that i checked every file in the units folder, no unit is using this type of equipment and there is not even this type of equipment in the equipment folder. My mod is working fine, but i hate when i see errors in my logs. Thanks for help
Hard to tell without knowing what exactly you did.

Why don't you download a working mod (example list) that also adds/changes unit and use the same file directory structure as they do?
 

SophieX

Major
May 9, 2014
558
505
I suggest to ask your question in the forum: HOI IV - User mods

[operationresources.cpp:93]: Invalid equipment type ( has to be an archetype ) in operation resources: fighter_equipment

recreate an archetype like here in: ......\common\units\eequipment\single_engine-airframe.txt
equipments = {

fighter_equipment = {
year = 1933

is_archetype = yes
is_convertable = yes
picture = archetype_fighter_equipment
is_buildable = no
type = { fighter interceptor }
group_by = archetype
sprite = light_plane
air_map_icon_frame = 1

etc.....
 
  • 1
Reactions: