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

    Need help to convert an old game

    Scheduled Pinned Locked Moved Maps & Mods
    6 Posts 3 Posters 2.6k Views 3 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.
    • SchulzS Offline
      Schulz
      last edited by Schulz

      I have tried my best to do it but still there is issues wondering if somebody can help.

      And I would like to get relief tiles too if possible.

      https://www.sendspace.com/file/q6jqgd

      1 Reply Last reply Reply Quote 0
      • wc_sumptonW Offline
        wc_sumpton
        last edited by wc_sumpton

        @Schulz

        6 quick edits:
        <attachment name="techAttachment" attachTo="Germans" javaClass="games.strategy.triplea.attachments.techAttachment" type="player">
        Needs to be:
        <attachment name="techAttachment" attachTo="Germans" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">

        The 't' needs to capitalized. Search the document for '.techAttachment' and replace with '.TechAttachment' (Please note that there is a '.' period there so you don't replace ' "techAttachment" at the beginning.

        '.canalAttachment' with '.CanalAttachment'

        '"UnitAttachment' with '"unitAttachment'

        '"territoryattachment' with '"territoryAttachment'

        '"isImpassible' with '"isImpassable'

        In the 'map.properties' change

        Impassible with Impassable

        The map should load now. as for relief tiles, I'm not good with that.

        Cheers...

        1 Reply Last reply Reply Quote 0
        • SchulzS Offline
          Schulz
          last edited by

          I did them but it gives still error message,

          Could not find attachment 'games.strategy.triplea.attachments.unitAttachment'.

          1 Reply Last reply Reply Quote 0
          • LaFayetteL Offline
            LaFayette Admin
            last edited by

            Maybe this might help:

            https://github.com/triplea-game/triplea/blob/master/docs/map-making/upgrading-1-8-maps.md

            Not sure about it complaining about UnitAttachment. Could you post of an XML snippet from where it's crashing?

            1 Reply Last reply Reply Quote 0
            • wc_sumptonW Offline
              wc_sumpton
              last edited by

              @Schulz

              LOL Sorry about that I left the double quotes on to indicate that it was the first unitAttachment like:
              <attachment name="unitAttachment" attachTo="stormtrooper" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">

              After 'name="xxAttachment" always small letter and after 'javaClass="games.strategy.triplea.attachments.XxAttachment" Capital letter. Sorry I didn't make it clear before. To replace the first instance search for 'name="UnitAttachment"' and replace with 'name="unitAttachment"'. To do the second search for 'attachments.unitAttachment' and replace with 'attachments.UnitAttachment'

              Hope that helps.

              Cheers...

              1 Reply Last reply Reply Quote 0
              • SchulzS Offline
                Schulz
                last edited by

                It works now perfectly, unfortunately both Great war and GW1918 lack of png image. How do I can create relief tiles?

                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
                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums