Announcement

Collapse
No announcement yet.

How can you create your own civ?

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

  • How can you create your own civ?

    I was wondering about creating the babalonians, i always played with them in civ 2 and i was wondering if it was possible to play with them in ctp2. Would you be able to select them from the civ list, or would you need to place them in map editor simular to a scenario?

  • #2
    To add a civ you need to modify two files:

    ..\ctp2_data\default\civilisation.txt
    ..\ctp2_data\english\civ_str.txt

    Add to civelisation.txt:

    Code:
    BABYLONIAN	#43	
    	{	
    	CIV_LEADER_NAME BABYLONIAN_LEADERM_NAME	
    	CIV_LEADER_NAME_FEMALE BABYLONIAN_LEADERF_NAME	
    	CIV_PERSONALITY_MALE "PERSONALITY_STALIN"
    	CIV_PERSONALITY_FEMALE "PERSONALITY_MEDICI"
    	CIV_PERSONALITY_DESCRIPTION PERSONALITY_DESCRIPTION_CLERIC
    	CIV_COUNTRY BABYLONIAN_COUNTRY_NAME	
    	CIV_SINGULAR BABYLONIAN_SINGULAR	
    	CIV_PLURAL BABYLONIAN_PLURAL	
    	CIV_EMISSARY_PHOTO	BABYLONIAN_DIPLOMAT_PHOTO	
        CIV_PARCHMENT 27	
    	CIV_CITY_STYLE 1	
    	CIV_CITY_NAME BABYLONIAN_CITY_1 CITY_IS_CAPITAL	
    	CIV_CITY_NAME BABYLONIAN_CITY_2	
    	CIV_CITY_NAME BABYLONIAN_CITY_3	
    	CIV_CITY_NAME BABYLONIAN_CITY_4	
    	CIV_CITY_NAME BABYLONIAN_CITY_5	
    	CIV_CITY_NAME BABYLONIAN_CITY_6	
    	CIV_CITY_NAME BABYLONIAN_CITY_7	
    	CIV_CITY_NAME BABYLONIAN_CITY_8	
    	CIV_CITY_NAME BABYLONIAN_CITY_9	
    	CIV_CITY_NAME BABYLONIAN_CITY_10	
    	CIV_CITY_NAME BABYLONIAN_CITY_11	
    	CIV_CITY_NAME BABYLONIAN_CITY_12	
    	CIV_CITY_NAME BABYLONIAN_CITY_13	
    	CIV_CITY_NAME BABYLONIAN_CITY_14	
    	CIV_CITY_NAME BABYLONIAN_CITY_15	
    	CIV_CITY_NAME BABYLONIAN_CITY_16	
    	CIV_CITY_NAME BABYLONIAN_CITY_17	
    	CIV_CITY_NAME BABYLONIAN_CITY_18	
    	CIV_CITY_NAME BABYLONIAN_CITY_19	
    	CIV_CITY_NAME BABYLONIAN_CITY_20	
    	CIV_CITY_NAME BABYLONIAN_CITY_21	
    	CIV_CITY_NAME BABYLONIAN_CITY_22	
    	CIV_CITY_NAME BABYLONIAN_CITY_23	
    	CIV_CITY_NAME BABYLONIAN_CITY_24	
    	CIV_CITY_NAME BABYLONIAN_CITY_25	
    	CIV_CITY_NAME BABYLONIAN_CITY_26	
    	CIV_CITY_NAME BABYLONIAN_CITY_27	
    	CIV_CITY_NAME BABYLONIAN_CITY_28	
    	CIV_CITY_NAME BABYLONIAN_CITY_29	
    	CIV_CITY_NAME BABYLONIAN_CITY_30	
    	}
    Now you have to choose a personallity for CIV_PERSONALITY_MALE and CIV_PERSONALITY_FEMALE.

    Valid personalities from personalities.txt are:

    PERSONALITY_KAHN
    PERSONALITY_GHANDI
    PERSONALITY_STALIN
    PERSONALITY_CEASAR
    PERSONALITY_DEGAULLE
    PERSONALITY_MEDICI
    PERSONALITY_TELLER
    PERSONALITY_STRANGELOVE
    PERSONALITY_CALLENBACH
    PERSONALITY_NADER

    Note: first personality is always used for the barbarians and should never be used for normal AI's because it effects what strategies they use.

    Now you have to choose a personality description valid descriptions from civ_str,txt are:

    PERSONALITY_DESCRIPTION_BARBARIAN "Barbarisch"
    PERSONALITY_DESCRIPTION_SLAVER "Herrisch"
    PERSONALITY_DESCRIPTION_CLERIC "Fromm"
    PERSONALITY_DESCRIPTION_WAR_MANY "Militant"
    PERSONALITY_DESCRIPTION_WAR_FEW "Aggressiv"
    PERSONALITY_DESCRIPTION_SCI_MANY "Friedlich"
    PERSONALITY_DESCRIPTION_SCI_FEW "Umgänglich"

    There is no need to create a diplomatic photo, because this feature wasn't finished before release. But you want to create a parchment for your civ. In this example your Babylonian civ will use the Necaraguan parchment. I you want to take a look on a parchment check Blueo's Alternate Sci-fi Mod. It contains alrady three parchment for Amazone civs.
    If you alter the parchment number to 42 you need to create an image called UPDG42.tga 16 bit, no compression, no alpha, dimensions 248x315 pixels (OK you can play with the dimensions a little bit that are only the values of Blueo's parchments.


    After that you have to add this to the civ_str.txt:

    Code:
    BABYLONIAN "Nicaraguaner"
    
    BABYLONIAN_LEADERM_NAME "Montezuma II."
    BABYLONIAN_LEADERF_NAME "Azzalleh"
    BABYLONIAN_COUNTRY_NAME "Nicaragua"
    BABYLONIAN_SINGULAR "Nicaraguaner"
    BABYLONIAN_PLURAL "Nicaraguaner"
    
    BABYLONIAN_CITY_1 "Managua"
    BABYLONIAN_CITY_2 "San Carlos"
    BABYLONIAN_CITY_3 "Nueva Guinea"
    BABYLONIAN_CITY_4 "Juigalpa"
    BABYLONIAN_CITY_5 "Matagalpa"
    BABYLONIAN_CITY_6 "La Rosita"
    BABYLONIAN_CITY_7 "Rio Blanco"
    BABYLONIAN_CITY_8 "Bonanza"
    BABYLONIAN_CITY_9 "La Cruz"
    BABYLONIAN_CITY_10 "Prinzapolka"
    BABYLONIAN_CITY_11 "San Juan del Sur"
    BABYLONIAN_CITY_12 "San Juan del Norte"
    BABYLONIAN_CITY_13 "Rivas"
    BABYLONIAN_CITY_14 "Ocotal"
    BABYLONIAN_CITY_15 "Siuna"
    BABYLONIAN_CITY_16 "Condega"
    BABYLONIAN_CITY_17 "Chinandega"
    BABYLONIAN_CITY_18 "Leimus"
    BABYLONIAN_CITY_19 "Bocay"
    BABYLONIAN_CITY_20 "Potosi"
    BABYLONIAN_CITY_21 "Puerto Cabezas"
    BABYLONIAN_CITY_22 "Rama"
    BABYLONIAN_CITY_23 "Kukalaya"
    BABYLONIAN_CITY_24 "Masaya"
    BABYLONIAN_CITY_25 "Jinotega"
    BABYLONIAN_CITY_26 "Waspam"
    BABYLONIAN_CITY_27 "Leimus"
    BABYLONIAN_CITY_28 "Teotecacinte"
    BABYLONIAN_CITY_29 "Wiwill"
    BABYLONIAN_CITY_30 "Granada"
    Now you have repleace all Necaraguan city, leader, and contry names by Babylonian ones.

    -Martin


    Civ2 military advisor: "No complaints, Sir!"

    Comment


    • #3
      Thanks, i really apreciate the help.

      Comment


      • #4
        Can not find end quate for ID palazium

        unable to initiate database

        those were the two error messages i recieved with the altered civ files

        Palazium is # 30 on my list of civ city names. but it has end quotes after it. So i dont know what to do, any suggestions?

        Comment


        • #5
          I put at the end of the city name "" two sets of quotes and it gave me a different message cant find babylonians in string database. I dont know what this means, but i can still play the game, just no babylonians.

          Comment


          • #6
            I found out a couple things i didn't do i was missing a quote on the civ name first line on civ.str and on civilizion.txt i needed to change the # of civs at the top of the screen now im getting another error message

            Missing string id

            then unable to initiate database. Im not sure what else could be wrong but thats my new error message.

            Comment


            • #7
              here are my two files, maybe you can find an error im missing


              BABYLONIAN "BABYLONIAN"

              BABYLONIAN_LEADERM_NAME "HAMMURABI"
              BABYLONIAN_LEADERF_NAME "Azzalleh"
              BABYLONIAN_COUNTRY_NAME "Babylon"
              BABYLONIAN_SINGULAR "Babylonia"
              BABYLONIAN_PLURAL "Babylonians"

              BABYLONIAN_CITY_1 "Babylon"
              BABYLONIAN_CITY_2 "Ur"
              BABYLONIAN_CITY_3 "Nineva"
              BABYLONIAN_CITY_4 "Akkad"
              BABYLONIAN_CITY_5 "Ashur"
              BABYLONIAN_CITY_6 "Sippar"
              BABYLONIAN_CITY_7 "Nippur"
              BABYLONIAN_CITY_8 "Erech"
              BABYLONIAN_CITY_9 "Opis"
              BABYLONIAN_CITY_10 "Sumer"
              BABYLONIAN_CITY_11 "Larsa"
              BABYLONIAN_CITY_12 "Arbela"
              BABYLONIAN_CITY_13 "Susa"
              BABYLONIAN_CITY_14 "Harran"
              BABYLONIAN_CITY_15 "Thapsacus"
              BABYLONIAN_CITY_16 "Ecbbatana"
              BABYLONIAN_CITY_17 "Persepolis"
              BABYLONIAN_CITY_18 "Pasargadae"
              BABYLONIAN_CITY_19 "Carchemish"
              BABYLONIAN_CITY_20 "Behistun"
              BABYLONIAN_CITY_21 "Sidon"
              BABYLONIAN_CITY_22 "Tyre"
              BABYLONIAN_CITY_23 "Byblos"
              BABYLONIAN_CITY_24 "Arvad"
              BABYLONIAN_CITY_25 "Rhagae"
              BABYLONIAN_CITY_26 "Damascus"
              BABYLONIAN_CITY_27 "Trapezus"
              BABYLONIAN_CITY_28 "Megiddo"
              BABYLONIAN_CITY_29 "Jerusalem"
              BABYLONIAN_CITY_30 "Palazium"


              BABYLONIAN #43
              {
              CIV_LEADER_NAME BABYLONIAN_LEADERM_NAME
              CIV_LEADER_NAME_FEMALE BABYLONIAN_LEADERF_NAME
              CIV_PERSONALITY_MALE "PERSONALITY_STALIN"
              CIV_PERSONALITY_FEMALE "PERSONALITY_MEDICI"
              CIV_PERSONALITY_DESCRIPTION PERSONALITY_DESCRIPTION_CLERIC
              CIV_COUNTRY BABYLONIAN_COUNTRY_NAME
              CIV_SINGULAR BABYLONIA_SINGULAR
              CIV_PLURAL BABYLONIANS_PLURAL
              CIV_EMISSARY_PHOTO NICARAGUAN_DIPLOMAT_PHOTO
              CIV_PARCHMENT 27
              CIV_CITY_STYLE 1
              CIV_CITY_NAME BABYLONIAN_CITY_1 CITY_IS_CAPITAL
              CIV_CITY_NAME BABYLONIAN_CITY_2
              CIV_CITY_NAME BABYLONIAN_CITY_3
              CIV_CITY_NAME BABYLONIAN_CITY_4
              CIV_CITY_NAME BABYLONIAN_CITY_5
              CIV_CITY_NAME BABYLONIAN_CITY_6
              CIV_CITY_NAME BABYLONIAN_CITY_7
              CIV_CITY_NAME BABYLONIAN_CITY_8
              CIV_CITY_NAME BABYLONIAN_CITY_9
              CIV_CITY_NAME BABYLONIAN_CITY_10
              CIV_CITY_NAME BABYLONIAN_CITY_11
              CIV_CITY_NAME BABYLONIAN_CITY_12
              CIV_CITY_NAME BABYLONIAN_CITY_13
              CIV_CITY_NAME BABYLONIAN_CITY_14
              CIV_CITY_NAME BABYLONIAN_CITY_15
              CIV_CITY_NAME BABYLONIAN_CITY_16
              CIV_CITY_NAME BABYLONIAN_CITY_17
              CIV_CITY_NAME BABYLONIAN_CITY_18
              CIV_CITY_NAME BABYLONIAN_CITY_19
              CIV_CITY_NAME BABYLONIAN_CITY_20
              CIV_CITY_NAME BABYLONIAN_CITY_21
              CIV_CITY_NAME BABYLONIAN_CITY_22
              CIV_CITY_NAME BABYLONIAN_CITY_23
              CIV_CITY_NAME BABYLONIAN_CITY_24
              CIV_CITY_NAME BABYLONIAN_CITY_25
              CIV_CITY_NAME BABYLONIAN_CITY_26
              CIV_CITY_NAME BABYLONIAN_CITY_27
              CIV_CITY_NAME BABYLONIAN_CITY_28
              CIV_CITY_NAME BABYLONIAN_CITY_29
              CIV_CITY_NAME BABYLONIAN_CITY_30
              }

              Comment


              • #8
                Did you put the
                ####################### line under the last entry in civilisation.txt, the game uses this to find the end of the entry.
                Concrete, Abstract, or Squoingy?
                "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

                Comment


                • #9
                  i just did put the # line but it seems to have no effect. The other (origional) files didn't have it, is it something you need after you mod it? Also my newest error message is cant find babylonian_singlur in string data base. then it says expected # of civs not found, then it says cant initiate database. Im at a complete loss, any help will be apreciated.

                  Comment


                  • #10
                    You should take look into the civelisation.txt you will find there these lines at the beginning:

                    Code:
                    	##    Civilisation.txt	
                    42	## Number of Civs in list (add as grows)
                    The unmodded CTP2 contains 42 civelisations. Therefore change the number to 43, because there is a civ more. By the way everything that follows a # in a line is ignored by the game. After this sign a comment follows. Threrefore a line like ############## is only for your eyes.

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

                    Comment


                    • #11
                      I have done that also, thanks anyway. Do you know of anything else it could be?

                      Comment


                      • #12
                        Email me the file, and I'll look over it.
                        Concrete, Abstract, or Squoingy?
                        "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

                        Comment


                        • #13
                          Thanks for the help, that was the prob. I read what i wanted wrong, i thought it wanted the alternate spellings there but they are in the other txt file.

                          Comment


                          • #14
                            I noticed two misstypinigs in your code: In the civelistion.txt there are two line:

                            quote:



                            CIV_SINGULAR BABYLONIA_SINGULAR
                            CIV_PLURAL BABYLONIANS_PLURAL




                            They should be:

                            Code:
                             CIV_SINGULAR BABYLONIAN_SINGULAR
                             CIV_PLURAL BABYLONIAN_PLURAL
                            These two lines refers to these lines in civ_str.txt:

                            Code:
                            BABYLONIAN_SINGULAR "Babylonia"
                            BABYLONIAN_PLURAL "Babylonians"
                            -Martin
                            Civ2 military advisor: "No complaints, Sir!"

                            Comment

                            Working...
                            X