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

    Help with Objectives on a friend's mod

    Scheduled Pinned Locked Moved Player Help
    2 Posts 2 Posters 9 Views 2 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.
    • ZealossusZ Online
      Zealossus
      last edited by

      Hello,

      A friend of mine has created a mod of a fantasy world of their creation. We are trying to figure out how to see the "Objectives" Tab and add objectives to it. I've spend an exorbitant amount of time trying to figure it out and I am dumb. The mod is fully functional and we are testing the "balance" in various game runs, but we just can't wrap our heads around Objectives currently. I will say I haven't tested to see if they even work, but without the Objectives tab there's no way for the players to see it visually so I wanted that fixed first. I've looked on the forums here and seen about naming conventions with the map.yml file matching mapName in the game xml file. I've tested both with and without underscores in the name within the objective properties file to no avail. I sourced from other mods to see what their code says and nothing seems to line up simply. I even went from the current stable 2.5 version to the current 2.7 version as of today, 5/5/26. I just can't figure it out. I'm uploading the current iteration of the mod that functions, including the nonfunctioning objectives properties file and objectives in the game xml file.

      Friend's Mod

      Any help or advice is greatly appreciated. Thank you in advance.

      TheDogT 1 Reply Last reply Reply Quote 1
      • PantherP Panther moved this topic from Bug Reports
      • TheDogT Offline
        TheDog @Zealossus
        last edited by

        @Zealossus
        Bravo, on your mod!
        It looks good.

        You were so close to getting it to work
        299a5476-c9f2-4731-8a37-a88b1aa83984-image.jpeg

        .
        From what I remember, as Im not a fan of Objectives, as the AI does not understand them.

        .
        In the xml, removed the apostrophe

        <info name="Fading Light of Vlandriel" version="1.0"/>
        

        .
        In map.yml removed the apostrophe and put quotes around the map name

        - {game_name: "Fading Light of Vlandriel", file_name: fadinglightofvlandriel.xml}
        

        .
        In objectives.properties note the # comments, xml info name with _ replacing spaces

        # Fading Light of Vlandriel
        # xml info name with _ replacing spaces
        Objectives.Panel.Name=Objectives
        Fading_Light_of_Vlandriel.TABLEGROUP.01;Imperium=objectiveAttachment_Imperium_1_Control_Altairis
        Fading_Light_of_Vlandriel.Imperium;objectiveAttachment_Imperium_1_Control_Altairis=<b>10 PUs</b> if the Imperium captures the Reformist capital of Altairis.
        Fading_Light_of_Vlandriel.TABLEGROUP.02;Reformists=objectiveAttachment_Reformists_1_Control_Ylleria
        Fading_Light_of_Vlandriel.Reformists;objectiveAttachment_Reformists_1_Control_Ylleria=<b>10 PUs</b> if the Reformists capture the Imperialist capital of Ylleria.
        

        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

        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
        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums