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.0k 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.
    • 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
                        • HeppsH Offline
                          Hepps Moderators @Schulz
                          last edited by

                          @schulz I think it is important to ask the developer of a map whether they are ok with you using their work to create a MOD before commencing the development of a project utilizing their initial designs. Especially when that person designed the map to create a scenario for the exact same time period in the first place.

                          "A joyous heart sours with the burden of expectation"
                          Hepster

                          1 Reply Last reply Reply Quote 4
                          • B Offline
                            beelee
                            last edited by

                            yea, even though we're open source here, it'd be a common courtesy imo. Especially with CrazyG's map being basically brand new.

                            B 1 Reply Last reply Reply Quote 4
                            • B Offline
                              beelee @beelee
                              last edited by

                              @Schulz Just to clarify, not trying to be a downer. : ) It's cool you're interested in map making and learning how the xml works. Just a informal etiquette thing : )

                              As you've probably noticed, there's plenty of people who will help with answering questions.

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                beelee
                                last edited by

                                @Schulz here's some more advice

                                Don't troll

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

                                  ........

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

                                    I need help for another xml file. I'd be grateful if anyone is able to detect the error. And I would like to learn that how do you detect errors when I am not able to.

                                    0_1537810193629_Domination_1914_No_Mans_Land_v2.xml

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Cernel Moderators @Schulz
                                      last edited by

                                      @schulz said in I need help for to fix the error:

                                      And I would like to learn that how do you detect errors when I am not able to.

                                      In past you would always get the error message in case the game was not working. Then that was disabled and an option added to show the error messages always. But now I cannot find that option in Engine Prefereces anymore? I'm talking about "Show Console Always".

                                      Also, I preferred how it worked in 1.8.0.9.

                                      prastleP 1 Reply Last reply Reply Quote 0
                                      • prastleP Offline
                                        prastle Moderators Admin @Cernel
                                        last edited by

                                        @cernel I believe they moved it to the game settings show console set as true

                                        If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

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

                                          I've looked most likely there is no way to get error message in the current version. Is there any way to detect mistakes of xml besides getting error messages.

                                          Also I have tried to download older version. Neither this nor old version did work when I downloaded the older one. So I did delete the older one.

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