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

    Trying to put age of tribes engine on alexander 350 world map

    Scheduled Pinned Locked Moved Maps & Mods
    147 Posts 5 Posters 75.4k Views 4 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.
    • wc_sumptonW Offline
      wc_sumpton @Ted Self
      last edited by

      @ted-self

      Tried using Alexander350 and Age of Tribes: Primeval:

      <game>
          <info name="World of Ages: Primeval" version="0.003"/>
          <loader javaClass="games.strategy.triplea.TripleA"/>
      	<triplea minimumVersion="2.5.22294"/>
      	<diceSides value="6"/>
      	<!-- Notes:
      	** Merging of Alexander350 and Age of Tribes: Primeval xml's
      	** .001 testing rename of Alexander350 to World of Ages: Primeval
      	**		replacing 'ttatch' with 'ttach' (705 replacements)
      	**		changes to map.yml
      +++++++++++++++++++++++++++ start change +++++++++++++++++++++++++++++++++++++++++++++++++
      map_name: world_of_ages
      games:
      - {game_name: 'World of Ages: Primeval', file_name: world_of_ages_primeval.xml}
      version: 0
      ++++++++++++++++++++++++++++++++ end +++++++++++++++++++++++++++++++++++++++++++++++++++++
      	** .002 testing merger <map> and territoryAttachment Alexander350
      	**		everything else Age of Tribes: Primeval
      	**		rename folders units and flags to units_alexander350 and flags_alexander350
      	**		copied folders units and flags from AoT:P
      	**		also folders dice, doc, misc, PUs, resources and sounds
      	**		renamed map.properties to map_alexander350.properties and copied map.properties from AoT:P
      	** expected error with test: No player named: Carthage,   for: TerritoryAttachment
      	** .003 comment out all <option name="capitan" value="x"/> because players are changed
      	--> <!-- example -->
      	<!-- <option name="capital" value="Carthage"/> -->
      	<!-- end example --> <!--
      	**		7 changes made
      	**		also commented out all CanalAttachment
      	**		also conditions and triggers which refference a territory of sea zone
      	**		alse commented out <ownerInitialize> and  all <unitPlacement> under <unitInitialize>
      	** 		add <heldUnits> in <unitInitialize>
      			<heldUnits unitType="Caveman" player="Brittonic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Celtic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Germanic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Romanic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Baltic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Hellenic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Slavic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Hattic" quantity="10"/>
                  <heldUnits unitType="Caveman" player="Barbarians" quantity="50"/>
      	** for testing purposes only added random start delegate
      			<delegate name="randomStartDelegate" javaClass="games.strategy.triplea.delegate.RandomStartDelegate" display="Pregame Nation Placements"/>
      	** also added setup after initialize
      			<step name="setupRandomStartDelegate" delegate="randomStartDelegate" display="Pregame Nation Placements" maxRunCount="1"/>
      	** and game property for ramdom setup
      			<property name="Territories Are Assigned Randomly" value="true" editable="true">
      				<boolean/>
      			</property>		
      	-->
      

      Cheers...

      Ted SelfT 1 Reply Last reply Reply Quote 1
      • Ted SelfT Offline
        Ted Self @wc_sumpton
        last edited by

        @wc_sumpton What am I looking at here? What software is it?

        wc_sumptonW 1 Reply Last reply Reply Quote 0
        • wc_sumptonW Offline
          wc_sumpton @Ted Self
          last edited by

          @ted-self

          I attempted the merger, as I understood you were doing. What is presented is the comment section at the top of the xml. There is no special software, I just used a 'code box' to highlight the xml from normal entry.

          Cheers...

          Ted SelfT 2 Replies Last reply Reply Quote 0
          • Ted SelfT Offline
            Ted Self @wc_sumpton
            last edited by

            @wc_sumpton Still confused, is it from notepad++ or the built in triplea game maker? I am starting to wonder if I should just start from scratch and use triplea map creator part 2? Also thanks to you and everyone trying to help and happy 4th of July to you all.

            wc_sumptonW RogerCooperR 2 Replies Last reply Reply Quote 0
            • wc_sumptonW Offline
              wc_sumpton @Ted Self
              last edited by

              @ted-self

              Yes, I do use Notepad++. It is only an editor and doesn't build an xml.

              Cheers...

              1 Reply Last reply Reply Quote 0
              • RogerCooperR Offline
                RogerCooper @Ted Self
                last edited by

                @ted-self It easier to fix issues than to start from scratch. I have fixed many scenarios, if you keeping on plugging away the issues, you can fix them. Try to use an editor that understands XML syntax.

                The different age of tribes XML's only differ in their setup, so it doesn't matter which one you use.

                If you are getting frustrated at this, try modifying an existing XML to get a better feel for the process.

                Ted SelfT 1 Reply Last reply Reply Quote 1
                • Ted SelfT Offline
                  Ted Self @wc_sumpton
                  last edited by

                  @wc_sumpton How did you get notepad++ to attempt the merger? Did the error list just appear at the top of the page?

                  wc_sumptonW 1 Reply Last reply Reply Quote 0
                  • Ted SelfT Offline
                    Ted Self @RogerCooper
                    last edited by

                    @rogercooper Mr. Cooper, I have been stumped on this latest error message when I try to launch the game for almost 2 days now.
                    image_2023-07-05_133642211.png
                    XML Copy editor is no help because it claims the xml is well formed. Please have a look at the AgeWorld.xml at https://github.com/tedrockets/triplea/tree/main Thanks in advance.

                    Ted SelfT 1 Reply Last reply Reply Quote 0
                    • wc_sumptonW Offline
                      wc_sumpton @Ted Self
                      last edited by

                      @ted-self

                      Notepad++ is just a text editor, and cannot merge xml's. The section not wanted are deleted. The section that are wanted are copied and pasted. What I did was probably the same thing that you did, documenting the steps I preformed at the top of the xml.

                      Cheers...

                      TheDogT 1 Reply Last reply Reply Quote 1
                      • Ted SelfT Offline
                        Ted Self @Ted Self
                        last edited by

                        @ted-self tech24.jpg

                        Ted SelfT RogerCooperR 2 Replies Last reply Reply Quote 0
                        • Ted SelfT Offline
                          Ted Self @Ted Self
                          last edited by

                          @ted-self Above is the image I meant to upload. 😮

                          1 Reply Last reply Reply Quote 0
                          • TheDogT Offline
                            TheDog @wc_sumpton
                            last edited by TheDog

                            @Ted-Self
                            I too use Notepad++
                            you can do this
                            125b4614-9200-453e-bbf5-9a2f578168ab-image.png

                            .
                            Meaning you can copy and paste from one xml (left) into another (right).

                            Also you can have many files open at the same time. (see the tabs)

                            XML Copy Editor probably can do the same.

                            https://forums.triplea-game.org/tags/thedog
                            https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                            1 Reply Last reply Reply Quote 1
                            • RogerCooperR Offline
                              RogerCooper @Ted Self
                              last edited by

                              @ted-self said in Trying to put age of tribes engine on alexander 350 world map:

                              @ted-self tech24.jpg

                              It means exactly what it says, there is reference to a resource called "Tech" but "Tech" is not on the resource list. Remove the references or add the resource. This could also be a capitalization issue or a name issue, maybe techToken was meant.

                              1 Reply Last reply Reply Quote 1
                              • RogerCooperR Offline
                                RogerCooper
                                last edited by

                                @rogercooper @rogercooper I looked the XML and confirmed that the issue is the resource is called "techToken " but is referenced as "Tech".

                                Ted SelfT 1 Reply Last reply Reply Quote 0
                                • Ted SelfT Offline
                                  Ted Self @RogerCooper
                                  last edited by

                                  @rogercooper Yes, you got me going again chasing down errors when trying to launch. Now I am trying to change the name of every country and sea zone so the nukes can go off in each one of them. It looks like it will take many hours and even days to get that done, But I don't see any reason to be discouraged. I was thinking there for a while that maybe the project was too ambitious. 🙂

                                  RogerCooperR 1 Reply Last reply Reply Quote 0
                                  • RogerCooperR Offline
                                    RogerCooper @Ted Self
                                    last edited by

                                    @ted-self You may want to use a program that allows you to replace text in multiple files like File Monk.

                                    Why do you need to change area names to set off nukes?

                                    My experience with Age of Tribes is that it is somewhat dull. Units may have interesting names, but they tend to be the same old units with somewhat better stats. You may want to increase unit differentiation especially with higher movement allowances.

                                    What makes A&A/TripleA interesting is the unbalanced starting positions and things like delayed entry. The combat model lacks sufficient detail to be interesting in and off itself.

                                    Ted SelfT 1 Reply Last reply Reply Quote 0
                                    • Ted SelfT Offline
                                      Ted Self @RogerCooper
                                      last edited by

                                      @rogercooper Well, here is a sample
                                      <attachment name="conditionAttachment-Atomic-Corsica" attachTo="AI" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
                                      <option name="directPresenceTerritories" value="Corsica" count="1"/>
                                      <option name="unitPresence" value="Nuke-Explosion" count="1"/>

                                      So I have to change Corsica to a name that is on the Alexander350 world map like Turkmenistan etc otherwise an error is produced when I try to start the game. 😞

                                      Ted SelfT RogerCooperR 2 Replies Last reply Reply Quote 0
                                      • Ted SelfT Offline
                                        Ted Self @Ted Self
                                        last edited by

                                        @ted-self To all map makers and potential map makers, hours of confusion and learning combined with hours of tedium. 😄

                                        1 Reply Last reply Reply Quote 0
                                        • RogerCooperR Offline
                                          RogerCooper @Ted Self
                                          last edited by

                                          @ted-self If you are changing a territory name you need to change in the following files.

                                          • <game>.xml
                                          • centers.txt
                                          • polygons.txt

                                          There can be other txt files associated with the mod, they should all be checked and changed. Use File Monk are a similar program.

                                          If you need to check every territory on the map, use a forEach loop.

                                          Ted SelfT 1 Reply Last reply Reply Quote 1
                                          • Ted SelfT Offline
                                            Ted Self @RogerCooper
                                            last edited by

                                            @rogercooper Thank you, I need all the help I can get. Basically trying to put age of tribes units and techs on alexander350 world map. It sounded so simple when I first thought of it, lol! As far as I know age of tribes has never been put on any map other than the original.

                                            Ted SelfT 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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 1 / 8
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums