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

    Changing Territory Owner with a User Action

    Scheduled Pinned Locked Moved Map Making
    11 Posts 4 Posters 1.7k 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.
    • C Offline
      Cernel Moderators Lobby Moderators @stalinpasha
      last edited by

      @stalinpasha Do you have the "Use Triggers" property true?

      1 Reply Last reply Reply Quote 1
      • stalinpashaS Offline
        stalinpasha
        last edited by stalinpasha

        @Cernel said in Changing Territory Owner with a User Action:

        Use Triggers

        <property name="Use Triggers" value="true" editable="false">
          <boolean/>
        </property>
        

        This one? Already true.

        stalinpashaS 1 Reply Last reply Reply Quote 0
        • stalinpashaS Offline
          stalinpasha @stalinpasha
          last edited by

          @stalinpasha
          Okay my mistake, I tested wrong version. It is working now but neutral units don't convert. Also I will be happy to get help about where text notification messages stored.

          RogerCooperR C 2 Replies Last reply Reply Quote 0
          • RogerCooperR Offline
            RogerCooper @stalinpasha
            last edited by

            @stalinpasha I think you will need to use a separate trigger to remove the neutral units and place new ones. I had problems trying to use a single trigger. It can have the same condition.

            1 Reply Last reply Reply Quote 1
            • C Offline
              Cernel Moderators Lobby Moderators @stalinpasha
              last edited by

              @stalinpasha I guessed so, since everything looked fine with what you posted. For your new item, look at how WWII Global II handles Mongolia becoming Russians (normally, only infrastructures convert when a territory is conquered).

              stalinpashaS 1 Reply Last reply Reply Quote 1
              • stalinpashaS Offline
                stalinpasha @Cernel
                last edited by

                @Cernel @RogerCooper Thanks for your helpful supports. Mongolia fixed the problem. captureUnitOnEnteringBy was added if anyone interested the solution. I still need help for adding text for action.

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

                  @stalinpasha Have a properties file called "actionstext" inside the main map folder. Iside that file have:

                  Germany_anschluss.BUTTON=
                  Germany_anschluss.DESCRIPTION=
                  Germany_anschluss.NOTIFICATION_SUCCESS=
                  Germany_anschluss.OTHER_NOTIFICATION_SUCCESS=
                  

                  Each equal sign preceeds what you want to display, on the same line.

                  stalinpashaS 1 Reply Last reply Reply Quote 1
                  • stalinpashaS Offline
                    stalinpasha @Cernel
                    last edited by stalinpasha

                    @Cernel Wow works very vell, thanks. My mod is going to more interesting right now. Here's some German actions:
                    https://imgur.com/LuZLVbd (I don't understand how to add image) Is there any way to Soviet player can accept/reject Molotov-Ribbentrop?

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

                      @stalinpasha There is an "Upload Image" icon right above where you write.

                      Are you aware that TripleA officially offers its gamemaking istructions inside the "Pact of Steel 2" game xml file inside the games folder of the "The Pact of Steel map"?

                      Is there any way to Soviet player can accept/reject Molotov-Ribbentrop?

                      <option name="actionAccept" value="Soviet"/>

                      Likely only if you want nobody to play your map with any AI, though.

                      FrostionF 1 Reply Last reply Reply Quote 0
                      • FrostionF Offline
                        Frostion Admin @Cernel
                        last edited by

                        @Cernel @stalinpasha I just use drag and drop when I want to upload an image to forum.

                        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

                        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 / 1
                        • First post
                          Last post
                        Powered by NodeBB Forums