TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Unit Shows As Invisible No Matter What I Do

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 2 Posters 1.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RogerCooperR Offline
      RogerCooper
      last edited by

      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?

      redrumR 1 Reply Last reply Reply Quote 0
      • redrumR Offline
        redrum Admin @RogerCooper
        last edited by

        @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:

        1. Merge this into hearts_of_iron (copy game XML and any needed images into it so you have just 1 zip with 2 games)
        2. 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"/>

        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

        1 Reply Last reply Reply Quote 0

        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
        • 1 / 1
        • First post
          Last post
        Powered by NodeBB Forums