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

    I need help for to fix the error

    Scheduled Pinned Locked Moved Map Making
    39 Posts 9 Posters 14.2k Views 9 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.
    • C Offline
      Cernel Moderators @Schulz
      last edited by

      @schulz So, are you trying to use the same zip you have uploaded there?

      The path of that zip is:

      european_war-master/european_war/map/games

      that is not going to work.

      I told you, just have it simple as:

      european_war/games

      I did it and, at least, the game starts with no problems, both zipped and unzipped.

      You don't have to worry about the "master" plus "map" thing; that is just a thing that GitHub makes up when you download the repository.

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

        I had already tried it before. I fear that I won't be able to rescue the map.

        redrumR C 2 Replies Last reply Reply Quote 0
        • redrumR Offline
          redrum Admin @Schulz
          last edited by redrum

          @schulz You were just missing the "-master" from the folder inside the zip. Here is a working version: 0_1523044094353_european_war-master.zip

          PS. You should really consider using the updated House of Habsburg map as a base map since the graphics were massively improved.

          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 1
          • C Offline
            Cernel Moderators @Schulz
            last edited by

            @schulz @schulz What I'm telling you to do is simply that you have your downloadedMaps folder. Then, inside it, you have a folder called "european_war". And inside that folder you have "games" and all other things that, in the map you download from the repository, stay in the "map" folder.
            I did it and it worked; so it has to work for you too, unless you are on a case sensitive system (Linux, Mac) and are getting an error you would not get on Windows.

            Or you can do it the way @redrum is telling you, but, in that case, I believe it will work only zipped.

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

              Thank you so much redrum. In now the zip does work and I would like to use no man's land's v3 rules in the map without any problem.

              Did Crazy German upload the new version of House of Habsburg map?

              C redrumR 2 Replies Last reply Reply Quote 0
              • C Offline
                Cernel Moderators @Schulz
                last edited by

                @schulz Yes. The new one is in the repository.

                1 Reply Last reply Reply Quote -1
                • redrumR Offline
                  redrum Admin @Schulz
                  last edited by

                  @schulz Yeah, you can find his latest map here: https://github.com/triplea-maps/house_of_habsburg

                  If you delete your local House of Habsburg zip from downloadedMaps, you can also re-download from in-game and should be the latest I believe with all the updated map tiles/images.

                  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
                  • SchulzS Offline
                    Schulz
                    last edited by

                    The new version of house of habsburg looks so cool, especially I liked the relief tiles.

                    But I had started on the older version unfortunately.

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

                      @schulz Yeah, vast improvement thanks to @Hepps. I would strongly consider adopting the new version as you can probably re-use at least most of the XML changes you've made for units, etc. Better to switch over sooner rather than later and sure you learned a lot through you initial work. Also, it would probably be good to start a separate map thread for your map now that this error is resolved and you have it working.

                      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 1
                      • SchulzS Offline
                        Schulz
                        last edited by

                        Btw, my trains do not work. I have this code for every country in my xml file like dom 1914 weltpolitic. Should I add something more?

                        <attachment name="techAttachment" attachTo="Country" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                        <option name="techCost" value="10"/>
                        <option name="mechanizedInfantry" value="true"/>
                        </attachment>

                        redrumR General_ZodG 2 Replies Last reply Reply Quote 0
                        • redrumR Offline
                          redrum Admin @Schulz
                          last edited by redrum

                          @schulz You essentially need each nation to have the mechanizedInfantry tech, each land transport have isLandTransport, and each transportable unit have isLandTransportable:

                              <attachment name="techAttachment" attachTo="Germany" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                                <option name="techCost" value="4"/>
                                <option name="mechanizedInfantry" value="true"/>
                              </attachment>
                          
                              <attachment name="unitAttachment" attachTo="Train" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                                <option name="isLandTransport" value="true"/>
                              </attachment>
                          
                              <attachment name="unitAttachment" attachTo="germanInfantry" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                                <option name="isLandTransportable" value="true"/>
                              </attachment>
                          

                          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
                          • SchulzS Offline
                            Schulz
                            last edited by

                            Yes. I have this one.

                            <attachment name="techAttachment" attachTo="Germany" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                            <option name="techCost" value="10"/>
                            <option name="mechanizedInfantry" value="true"/>
                            </attachment>
                            <attachment name="techAttachment" attachTo="Austria" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                            <option name="techCost" value="10"/>
                            <option name="mechanizedInfantry" value="true"/>
                            </attachment>
                            <attachment name="techAttachment" attachTo="Ottoman" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                            <option name="techCost" value="10"/>
                            <option name="mechanizedInfantry" value="true"/>
                            </attachment>
                            <attachment name="techAttachment" attachTo="Britain" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                            <option name="techCost" value="10"/>
                            <option name="mechanizedInfantry" value="true"/>
                            </attachment>
                            <attachment name="techAttachment" attachTo="France" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                            <option name="techCost" value="10"/>
                            <option name="mechanizedInfantry" value="true"/>
                            </attachment>
                            <attachment name="techAttachment" attachTo="Russia" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                            <option name="techCost" value="10"/>
                            <option name="mechanizedInfantry" value="true"/>
                            </attachment>
                            <attachment name="techAttachment" attachTo="Italy" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
                            <option name="techCost" value="10"/>
                            <option name="mechanizedInfantry" value="true"/>
                            </attachment>

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

                              @schulz Ok, I updated my post with some more details. Tech looks ok. Can you check your units and post your latest XML here?

                              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
                              • SchulzS Offline
                                Schulz
                                last edited by

                                I have added <option name="isLandTransport" value="true"/> to train and <option name="isLandTransportable" value="true"/> to aagun, field_gun, heavy_gun, gas, infantry, cossack, stromtruppen, colonial, big_bertha and conscript.

                                And I've got this one.

                                UnitAttachment are either misspelled or exist only in a future version of TripleA. Setter: isLandTransportable

                                I am using triplea 1.9.9.07621.

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

                                  @schulz Can you download the latest version of TripleA and retest: http://triplea-game.org/download/. Should be version 1.9.0.0.9687.

                                  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
                                  • General_ZodG Offline
                                    General_Zod Moderators @Schulz
                                    last edited by

                                    @schulz

                                    I recommend that you utilize the train model from TWW Beta. The trains are much better than any previous version of trains.

                                    1 Reply Last reply Reply Quote 0
                                    • CrazyGC Offline
                                      CrazyG Moderators
                                      last edited by

                                      Just so you know, I intend to release a WW1 game on the House of Habsburg map immediately after HoH reaches a point of decent balance.

                                      1 Reply Last reply Reply Quote 2
                                      • FrostionF Offline
                                        Frostion Admin
                                        last edited by

                                        I have moved this thread to Map Making as it seems to discuss several map making technicalities.
                                        By the way, always nice to see a new mapmaker and new maps in development 🙂

                                        Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

                                          @General_Zod

                                          Currently I am using weltpolitic map's train on the map. But I can utilize TWW's trains why not. Before changing units I have to achieve a decent balance on the western front. Germany definitely should be able to conquer Belgium and Northwestern France but also shoul not be able to take Paris.

                                          I have placed units but of course it has not a decent balance yet.

                                          https://files.fm/u/wpytkdeh#_

                                          Also My Russia is stronger than France is it really logical?

                                          C HeppsH 2 Replies Last reply Reply Quote 0
                                          • C Offline
                                            Cernel Moderators @Schulz
                                            last edited by

                                            @schulz I would have no problems myself talking abot whatever wherever, but I am under the understanding you are supposed to make a thread in "Maps & Mods", with the name of your map, to discuss the map in general (balance, historicity, etc.).

                                            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
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums