Need help to convert an old game



  • 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



  • @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...



  • I did them but it gives still error message,

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


  • Admin

    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?



  • @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...



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


Log in to reply