Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Need help to convert an old game

    Maps & Mods
    3
    6
    1611
    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.
    • Schulz
      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
      • W
        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
        • Schulz
          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
          • LaFayette
            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
            • W
              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
              • Schulz
                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
                • 1 / 1
                • First post
                  Last post
                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums