Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Renaming a tech - Resolved -

    XML Options Browser
    4
    5
    1182
    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.
    • Mahks
      Mahks last edited by Mahks

      destroyersCanBombard is an example in POS2 of a renamed tech (destroyerBombard).

      It is unclear why you would rename a tech.

      Is it just for display to the player in game?
      or is there some other thing I don't yet understand?

      If just for display why is the example not formatted as "Destroyers Can Bombard "?

      General_Zod 1 Reply Last reply Reply Quote 0
      • General_Zod
        General_Zod Moderators @Mahks last edited by General_Zod

        @mahks

        I don't think this would be commonly used if at all. It does not appear to be display related though.

        Only reason I can think of using this would be to bypass some hardcoded feature of that particular tech. But that's just a guess.

        1 Reply Last reply Reply Quote 0
        • W
          wc_sumpton last edited by

          @Mahks
          I believe this is just for display in the 'Stats' panel. I have used it to rename 'paratroopers' to 'AirTransportation' and 'mechanizedInfantry' to 'GroundTransportation'. But if you put a space in the rename then the XML errors out.

          Cheers...

          General_Zod 1 Reply Last reply Reply Quote 0
          • General_Zod
            General_Zod Moderators @wc_sumpton last edited by General_Zod

            @wc_sumpton

            In this case we are referring to the specific example below from POS2.

             <!-- (destroyerBombard allows isDestroyer to bombard) this is an example of renaming a technology. the first part is the new name, the second is the old name (the hardcoded tech's name) -->
             <techname name="destroyersCanBombard" tech="destroyerBombard"/>
            

            The issue is it does not change it in the game display.

            EDIT: Ooops, never mind misread it, the first part is the new name. Seems a bit strange in formatting though. You are correct.

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

              Yeah, my understanding is this is just for display purposes and only relevant to hard coded techs.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums