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

    Map Making Q&A

    Scheduled Pinned Locked Moved Map Making
    87 Posts 12 Posters 47.2k Views 11 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.
    • RyansPlaceR Offline
      RyansPlace
      last edited by

      How do you create a new unit option? I haven't found the file that defines them.

      I'm attempting to add an option similar to "CanBombard" to Forts so they can fire in support of land and sea battles in an adjacent tile.

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

        @ryansplace You can look at the xml object browser. Also the Pact of Steel 2 mod has extensive comments documenting a great deal.

        canBombard allows ships to support amphibious invasions, nothing else.

        U 1 Reply Last reply Reply Quote 1
        • U Offline
          unit332 @RogerCooper
          last edited by

          Hey folks, help a feller out.

          Trying to create a Trigger that changes a relationship value between two factions from Allied to War with a 20% chance between rounds 20 and 30.

          What am I doing wrong? I know $Player$ doesn't work but I don't grasp the triggers as much as I do the rest of the coding stuff.

          <attachment name="conditionAttachment_Covenant_Civil_War" attachTo="Sangheili" javaClass="RulesAttachment" type="player">
          	<option name="rounds" value="20-30"/>
          </attachment>
          <attachment foreach="$Player$" name="triggerAttachment_Covenant_Civil_War" attachTo="Sangheili" javaClass="TriggerAttachment" type="player">
          	<option name="conditions" value="conditionAttachment_Covenant_Civil_War"/>
          	<option name="relationshipChange" value="Sangheili:Jiralhanae:War"/>
          	<option name="relationshipChange" value="Sangheili:UNSC_Core:Allied"/>
          	<option name="relationshipChange" value="Sangheili:UNSC_Colonial:Allied"/>
          	<option name="chance" value="1:5"/>
          	<option name="uses" value="1"/>
          	<option name="when" value="before:jiralhanaePurchase"/>
          </attachment>
          
          RogerCooperR 1 Reply Last reply Reply Quote 0
          • RogerCooperR Offline
            RogerCooper @unit332
            last edited by

            @unit332 Try removing the foreach loop and check the capitalization on everything.

            Also for debugging purposes set the round to 1+ and the chacne to 1:1 to see if you can get the trigger to fire.

            U 1 Reply Last reply Reply Quote 0
            • U Offline
              unit332 @RogerCooper
              last edited by

              @rogercooper Thanks!

              1 Reply Last reply Reply Quote 0
              • S Offline
                simon33
                last edited by

                So I've updated World_War_ii_Global and the version number has been bumped but I have noticed that the bots online have not been updated. Is there another step I need to take to achieve this?

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

                  @simon33

                  yea the bots need to be updated. I don't think anyone around to do it right now. There's some documentation out there, but I can't find it.

                  Basically you have to drop your firewalls to be able to do it and I didn't understand the safe way to do that.

                  @prastle and or @Panther probably know more about it. Or maybe @Cernel

                  You should be able to make a save of the latest map update and load that to a bot and play it that way though.

                  1 Reply Last reply Reply Quote 2
                  • S Offline
                    simon33
                    last edited by

                    Nice workaround! The objective panel wouldn't work though.

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

                      @simon33 said in Map Making Q&A:

                      The objective panel wouldn't work though

                      Oh well that's no good. The panel doesn't work but it'll still show up at end of turn game report ?

                      Not ideal if so but at least one can play on the lobby that way.

                      Edit
                      It works locally though ? The Objectives ?

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        simon33 @beelee
                        last edited by

                        @beelee said in Map Making Q&A:

                        The panel doesn't work but it'll still show up at end of turn game report ?

                        Correct.

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          simon33 @simon33
                          last edited by

                          Oh maybe if you've updated your local map package it will look there for the objectives rather than on the bots. Not 100% sure now.

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

                            @simon33

                            yea Idk. Not perfect but people can at least play it on the lobby.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              simon33
                              last edited by

                              Actually, it seems that it stops you from loading a save game, because I have changed the name of the game from the previous version. If it was an upgrade to the previous version with the same name, it would be possible.

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

                                @simon33

                                oh yea different name that's not already available won't work.

                                bummer

                                Yea until Dan gets back, I don't think anybody updates them, maybe roiex can idk

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  simon33 @beelee
                                  last edited by

                                  @beelee said in Map Making Q&A:

                                  oh yea different name that's not already available won't work.

                                  Would this list be in the triplea-game repository? Not sure where else it would be.

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

                                    @simon33 yea your map should be listed there but until somebody updates the bots it won't work in the lobby.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      simon33 @beelee
                                      last edited by

                                      @beelee said in Map Making Q&A:

                                      @simon33 yea your map should be listed there but until somebody updates the bots it won't work in the lobby.

                                      The obvious question then is where in the repo? You aren't sure?

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

                                        @simon33 not quite sure what you're asking but here is the maps list

                                        https://github.com/triplea-maps

                                        Yours should be in there

                                        1 Reply Last reply Reply Quote 1
                                        • S Offline
                                          simon33
                                          last edited by

                                          That's the list of packages . Aren't you saying that there is a list of map names somewhere? Or is it generated by cycling the triple-maps repos?

                                          B RogerCooperR C 3 Replies Last reply Reply Quote 1
                                          • B Offline
                                            beelee @simon33
                                            last edited by beelee

                                            @simon33 yea idk. That and the yaml are the only map lists I know of.

                                            Edit
                                            Here's a couple links with some bot info

                                            https://github.com/triplea-game/infrastructure

                                            https://github.com/triplea-game/infrastructure/tree/master/ansible

                                            1 Reply Last reply Reply Quote 1

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