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

    Random number of units placed randomly at random turns?

    Scheduled Pinned Locked Moved Maps & Mods
    38 Posts 9 Posters 14.4k 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
      last edited by

      You might want to look at maps like Feudal Japan and Feudal Japan Warlords as they do a lot of things with randomly placing units/territory ownership.

      TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        ComR @redrum
        last edited by

        @redrum Yes, I love Feudal Japan and I'm playing with it's XML, problem is, Feudal Japan Warlords crashes everytime after first round or so. Do you have the same problem? I tried few TripleA versions - older and newest ones - no luck. could you help me which version should work with the Warlords, please?

        redrumR 1 Reply Last reply Reply Quote 0
        • alkexrA Offline
          alkexr @ComR
          last edited by

          @comr You won't need to do actual coding, but the way you'll have to use triggers requires algorithmic thinking.

          Greyhawk Wars is a map uses an interesting system to fire random events each turn.

          "For the world is changing: I feel it in the water, I feel it in the earth, and I smell it in the air."

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            ComR @alkexr
            last edited by

            @alkexr Great, thank you! I will take a closer look to Greyhawk too.

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

              @comr I'm not aware of any errors on Feudal Japan Warlords so if you are seeing some please post them and I can take a look.

              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
              • C Offline
                ComR
                last edited by

                Game usually crashed just after window "do you want to hire a ninja"? Oh, yes... This time I set every AI to Hard AI and reinstalled release (I was using latest Github versions usually [last time it was 9687 - so, probably it causes problems with Feudal Japan Warlords], except for some older games). And... it works!

                However, 12 Army Middle Earth doesn't work at all, no matter what version I'm using. I've got this error almost every line (around 1000 errors): "SAXParseException: game:...." and so on. However, that game was downloaded from "developer site", but I think it's very old version and I have just to move it from my games dir.

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

                  @comr Yeah the SAXParseException probably means its an older XML that's out of date and best to remove it from your maps folder and see if there is a new version to download.

                  TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    ComR @redrum
                    last edited by

                    @redrum Well, I couldn't find any newer version, so I hoped to repair the XML, but it's probably too much work. In this case I'd like to ask you. Long time ago there were 2 or three main sources of TripleA maps: TripleA few different official sites (now all of these dead, except Github, Wikia and new TripleA site, we are using now, as I can say)... is there any map list worth mentioning yet?

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

                      @comr Only really 2 map listings still exist now. The official ones that are downloadable in game from github and @RogerCooper maps that he's converted: https://forums.triplea-game.org/topic/120/conversions-to-version-1-9

                      General goal is to move all decent quality maps to github so we can more easily manage and upgrade them as needed. Otherwise when any major non-backwards compatible changes are made to the XML then it breaks any maps we don't know about.

                      TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                      HeppsH 1 Reply Last reply Reply Quote 0
                      • HeppsH Offline
                        Hepps Moderators @redrum
                        last edited by

                        @redrum Perhaps it might be worth while to have a topic thread dedicated to out of date maps that people may have downloaded previously and can no longer play. A spot where someone can upload defunct maps that others could look at to determine whether they are worthy of being salvage for the repository.

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

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

                          @hepps Yeah or use @RogerCooper's conversion thread. Just not sure anyone would volunteer to update them but if they would or at least consider it then it could be helpful.

                          TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                          HeppsH RogerCooperR 2 Replies Last reply Reply Quote 0
                          • HeppsH Offline
                            Hepps Moderators @redrum
                            last edited by

                            @redrum True. Just thought there are probably some decent maps that have gotten lost after the dreaded crash of 2016. Was just a thought.

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

                            alkexrA 1 Reply Last reply Reply Quote 0
                            • alkexrA Offline
                              alkexr @Hepps
                              last edited by

                              @hepps said in Random number of units placed randomly at random turns?:

                              the dreaded crash of 2016

                              Did I miss something? 😮

                              "For the world is changing: I feel it in the water, I feel it in the earth, and I smell it in the air."

                              HeppsH prastleP 2 Replies Last reply Reply Quote 0
                              • HeppsH Offline
                                Hepps Moderators @alkexr
                                last edited by

                                @alkexr Ask Prastle one day when you have a couple of hours. 😃

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

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

                                  And a few drinks...

                                  TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                                  prastleP 1 Reply Last reply Reply Quote 2
                                  • prastleP Offline
                                    prastle Moderators Admin @redrum
                                    last edited by

                                    @redrum gigglez Let's not bring up the past 🙂 Still causes shudders in old lobby players 😉

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

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

                                      @alkexr Also if someone still has a copy of Global Conquest? (I think it was called.) It had random placement setup in a Risk style. @Cernel will recall and possibly still has a copy.

                                      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
                                      • CrazyGC Offline
                                        CrazyG Moderators
                                        last edited by

                                        You can do something like create a 50% chance for a unit to appear based on a condition. This could work for weather too but it takes a lot of triggers. If you had 3 possible weather effects occuring in every territory, you need 2 conditions and 3 triggers per territory.

                                        You can create a 50% chance for a brigand to appear in a territory. What you currently cannot do is have exactly 3 brigands total appear, and those three go to totally random territories. (at least not for a decent sized map, too many conditions to check)

                                        You can jerry-rig a bit of randomness with triggers, but it becomes really hard to do on a large scale due to complexity.

                                        @prastle said in Random number of units placed randomly at random turns?:

                                        Also if someone still has a copy of Global Conquest? (I think it was called.) It had random placement setup in a Risk style. @Cernel will recall and possibly still has a copy.

                                        This only works at the start of the game, its difficult to repeat it.

                                        prastleP alkexrA 2 Replies Last reply Reply Quote 0
                                        • prastleP Offline
                                          prastle Moderators Admin @CrazyG
                                          last edited by

                                          @crazyg kk was just recalling. Do you still have a copy?

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

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

                                            I had it at one point. Is it missing?

                                            prastleP 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