Announcement

Collapse
No announcement yet.

Unit Updater for Super Apolyton Pack 2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46
    Originally posted by Tamerlin
    I suppose I still have to enable the Updater and add the line
    #include "APOL_Update.slc" at the end of the APOL_script.slc file.
    Yes you only have to add the slic file, because the strings are already in the database.

    Originally posted by hexagonian
    But does the updater SLIC file (at least the version that Tamerlin is using) have the links to those messages? Dale didn't include the updater SLIC in the Apolyton Pack, but based on what he did in that file (APOL_main_str.txt), it looks like he had planned on it at some time.
    If he uses the Cradle version as a base then it has all the same features as the Cradle version, only the Strings that fill the message boxes with text must be somewhere in the string database.

    Originally posted by Tamerlin
    The Update.slic I am working on is taken from the Cradle mod.

    If it can ease the work to be done I can use the method you detailed in your earlier post :

    1- Rename the CRA_Update_str.txt to APOL_Update_str.txt...

    2- Then open the APOL_Strings.txt and add import "APOL_Update_str.txt" at the bottom.

    3- Enable the slic file in the APOL_main.slc by adding the line #include "APOL_Update.slc".

    4- (french version only) Copy the APOL_Strings.txt file with the added line and the translated APOL_update_str.txt file into the french folder.
    No need to steps 1, 2 and 4 of course if there is no line
    import "APOL_main_str.txt"
    in your version of the APOL_string.txt then you have to add this line (of course you need the file you already have translated) like it was doen in the English and the German version of this file. Note I would always start with the unmodified French version of the String.txt, because this file could contain more file imports then the English version.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

    Comment


    • #47
      [QUOTE] Originally posted by Martin Gühmann
      Done!

      No need to steps 1, 2 and 4 of course if there is no line import "APOL_main_str.txt" in your version of the APOL_string.txt then you have to add this line (of course you need the file you already have translated) like it was doen in the English and the German version of this file. Note I would always start with the unmodified French version of the String.txt, because this file could contain more file imports then the English version.
      I have checked my CtP2 files and the APOL_main_str.txt is already included in the english and french folders.

      So I just have to enable the APOL_update.slic file in APOL_main.slc which has already been done in a copied version of this later file. I will test the APOL_update.slc using your method and use Hexagonian's one if the messages are not displayed.

      Thanks again for your help Martin.
      "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

      Comment


      • #48
        Originally posted by Tamerlin
        I will test the APOL_update.slc using your method and use Hexagonian's one if the messages are not displayed.
        If there is a string missing then you get a error message, so you will notice it eraly enough.

        -Martin
        Civ2 military advisor: "No complaints, Sir!"

        Comment


        • #49
          I thought there was a Unit Updater for it already
          "Kill a man and you are a murder.
          Kill thousands and you are a conquer.
          Kill all and you are a God!"
          -Jean Rostand

          Comment


          • #50
            Originally posted by Pedrunn
            I thought there was a Unit Updater for it already
            The text strings have been included by Dale but there is no updater slic file enabled in the SAP2.

            I would like to adapt the CRA_update.slc to the Super Apolyton Pack hence the discussion about the update paths and the way to implement the slic file into the SAP2.

            I am about to start working on the slic file that should be ready very soon, as soon as I have the time to work on it actually. Most of the prelimanary work has already been done...
            "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

            Comment


            • #51
              Preparation work ended, I will start working on the slic file tonight...
              "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

              Comment


              • #52
                sorry to bother you again Hexagonian but I have a last question:

                Does the Updater.slc supercedes the general conditions required to buid a unit. For example: would the Updater allow you to upgrade a Cleric to a Televangelist while your empire is not under a Theocracy. If it were the case I would not allow this kind of upgrade and revert the Cleric and the Televangelist to Dead End units.
                "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

                Comment


                • #53
                  Originally posted by Tamerlin
                  sorry to bother you again Hexagonian but I have a last question:

                  Does the Updater.slc supercedes the general conditions required to buid a unit. For example: would the Updater allow you to upgrade a Cleric to a Televangelist while your empire is not under a Theocracy. If it were the case I would not allow this kind of upgrade and revert the Cleric and the Televangelist to Dead End units.
                  It wont matter because you have to be in Theocracy to start with to build and maintain both units. If you change governments the clerics and televangelists disband automatically anyway, so they cant be upgraded afterwards.

                  If thats what you meant.
                  Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                  CtP2 AE Wiki & Modding Reference
                  One way to compile the CtP2 Source Code.

                  Comment


                  • #54
                    Originally posted by Maquiladora
                    If thats what you meant.
                    Yes Maquiladora, I have never used the Theocracy as a government for my empire but I should have figured it anyway. Thanks for your answer.
                    "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

                    Comment


                    • #55
                      I have modified the Updater.slc file and tested it with my current CtP2 game after having reloaded the slic files and it runs fine.



                      You were right Martin, you just need to enable the new slic file in APOL.main.slc and the Updater runs with the Super Apolyton Pack 2.

                      I will create a new thread as soon as I write a little read me... tomorrow.



                      As the units can only be upgraded in the turn the advance enabling the upgrade is discovered, is there any mean to create an option in the unit menue in order to ask for a unit to be updated after the turn of the said discovery?
                      "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

                      Comment


                      • #56
                        Originally posted by Tamerlin
                        sorry to bother you again Hexagonian but I have a last question:

                        Does the Updater.slc supercedes the general conditions required to buid a unit. For example: would the Updater allow you to upgrade a Cleric to a Televangelist while your empire is not under a Theocracy. If it were the case I would not allow this kind of upgrade and revert the Cleric and the Televangelist to Dead End units.
                        Hmm, never tried it as I didn't upgrade gov-specific units or unconventionals. Give it a test though.
                        Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
                        ...aisdhieort...dticcok...

                        Comment


                        • #57
                          Originally posted by hexagonian Hmm, never tried it as I didn't upgrade gov-specific units or unconventionals. Give it a test though.
                          I will start a new game this week-end and see how the APOL updater runs in the long term...
                          "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

                          Comment

                          Working...
                          X