Unit Shows As Invisible No Matter What I Do
-
I am converting an old scenario (HeartsofIron_Fatherland) to Version 1.9. Some images were not loading. One of them was for the unit "fighterjet". I saw that in the units folder, the unit was "fighterJet". I tried to correct this by renaming, but it still failed. I then tried renaming to "fighter_jet" and then "jet_fighter", but the error stubbornly remains. The exact message is
MISSING IMAGE (this unit or image will be invisible): UnitType{name=jet_fighter}
You can download the file HearsofIron_Fatherland. Does anyone see why this is not working?
-
@RogerCooper It appears this map was a separate mod of hearts of iron which are no longer supported in 1.9. The reason it doesn't find the images is that its only looking here:
Loading resources from the following paths: [C:\maps\hearts_of_iron.zip, C:\Users\ron\Documents\GitHub\triplea\assets]To resolve this you should either do:
- Merge this into hearts_of_iron (copy game XML and any needed images into it so you have just 1 zip with 2 games)
- Copy all assets from hearts_of_iron to HeartsofIron_Fatherland so its a standalone map and then update the name property in the game XML so it no longer points to hearts of iron:
<property name="mapName" value="Hearts of Iron" editable="false"/>
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login