Page 1 of 6 123456 LastLast
Results 1 to 20 of 112

Thread: Creating a World – Adding detailed Regions

  1. #1
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Creating a World – Adding detailed Regions

    There is more then just the descr_regions file to this. The most obvious additional (and essential) file is the data\text\imperial_campaign_regions_and_settlement_names file. Must also be the file with the longest name. If you like things simple and uncomplicated (and boring) leave it at this. If you want to go a bit more dedicated read on:

    data\world\maps\base\descr_regions.txt
    There are a couple of lines that need to be filled sensibly for the game to work properly.
    Line one: region name
    Line two: city name
    Line three: faction creator (determines the loyalty of the city, eg whom it will rebel to), independent from descr_strat entry, this cannot be the slave faction!
    Line four: Rebel type (see data\descr_rebel_factions.txt)
    Line five: RGB numericals (color code, duh)
    Line six: hidden resources, multiple listing does not have a comma,, trading resources have no effect!
    Line seven: triumph value (left over from RTW unless someone can tell me otherwise) has to be 5, else CTD
    Line eight: level of farming\pop increase – anything above 6 is ridiculous: 5000 city with no farming will grow at 4.5% at level 10.
    Line nine: religions – must total 100 (percent), else another CTD

    Note: the entry for a unit’s regional name still works like it did in Rome Total War. You would enter a line after the region name (line one) looking like this:
    Code:
    legion: Gotland_Legion
    data\text\imperial_campaign_regions_and_settlement_names.txt
    Simple data base consisting of two (three with legion name) lines for each region:
    Code:
    {Island_of_Cyprus}Island of Cyprus
    {Nicosia}Nicosia
    {Gotland_Legion}Visby’s Finest
    The first line is for the region name and the second line for the city name. Last line is for the legion's name. The names in brackets have to agree with the entries in the descr_regions file. The second part of each line can be changed at any time.

    data\world\maps\campaign\imperial_campaign\descr_regions_and_settlement_name_lookup.txt
    Pretty much the same as the previous file, just with out the second part of the line and no parentheses:
    Code:
    Island_of_Cyprus
    Nicosia
    not required

    data\world\maps\base\descr_sounds_music_types.txt
    Three lines of entry here to get the right music:
    Code:
    music_type [culture name]
    regions [region name]
    faction [faction name]
    data\world\maps\campaign\imperial_campaign\descr_mercenaries.txt
    This is where you get to define the bad guys and their area of appearance. Basically three lines:
    Code:
    pool Scotland_Ireland
        regions Scottish_Lowlands Scottish_Highlands
        unit merc cog,            exp 0 cost 200 replenish 0.36 - 1.0 max 1 initial 1 religions { catholic } crusading
        unit merc cog,            exp 0 cost 1000 replenish 0.02 - 0.10 max 1 initial 1
        unit Mercenary Crossbowmen    exp 0 cost 860 replenish 0.04 - 0.13 max 2 initial 1
    There is an exhausting explanation at the top of the file for all the entries so I will not repeat it, gimme a break, man!

    Download link for PDF file containing this material.
    .
    Last edited by Gigantus; January 10, 2014 at 09:18 PM. Reason: moved attachment to database










  2. #2

    Default Re: Creating a World – Adding detailed Regions

    thanks i was realy looking foward to this this. I have already added sucessfuly one but still having problems ading more + rep

  3. #3
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    One is glad to be of service










  4. #4
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: Creating a World – Adding detailed Regions

    Nice timing, was just trying to figure out what lines seven and eight meant last night. Was rather perplexed that someone who saw fit to make a "Add new regions" tutorial would not have included this, but in fact this wasn't in the faction.region tutorials. +rep

    One question I have about the mercenaries file which I can't seem to understand. What are all the RATE_* lines after the explanation of the file format, these seem to just be there randomly, as I don't see any mention of a rate line further in the file. My guess was they were just giving example lines, but I have no clue =/. At any rate they're commented out so I guess I don't have to worry about them, but an explanation to their intent would be nice.

    Cheers,
    Augustus
    Last edited by Augustus Lucifer; August 06, 2008 at 05:16 PM.

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    The Rate replenish lines are only of informative nature. It gives you an idea which rates to use if you want to achieve a certain unit replenishment rate.

    If you look further down in the file you will see an entry like this:
    Code:
    unit Mercenary Crossbowmen	exp 0 cost 860 replenish 0.04 - 0.13 max 2 initial 1 end_year 1350
    Instead of giving a fixed rate like in the EDB this rate is variable.










  6. #6
    Evil_Dane's Avatar Semisalis
    Join Date
    Sep 2008
    Location
    Denmark
    Posts
    442

    Default Re: Creating a World – Adding detailed Regions

    I need help with the Imperial_Campaign_regions_and_settlement_names because when i do that there comes something i dont understand




    Spoiler Alert, click show to read: 
    ΰ A c r e A c r e
    A c r e _ P r o v i n c e A c r e R e g i o n A d a n a A d a n a A d a n a _ P r o v i n c e A d a n a R e g i o n A j a c c i o A j a c c i o A j a c c i o _ P r o v i n c e A j a c c i o R e g i o n A l e p p o A l e p p o A l e p p o _ P r o v i n c e
    A l e p p o R e g i o n
    A l e x a n d r i a
    A l e x a n d r i a A l e x a n d r i a _ P r o v i n c e A l e x a n d r i a R e g i o n A l g i e r s A l g i e r s A l g i e r s _ P r o v i n c e A l g i e r s R e g i o n A n g e r s A n g e r s A n g e r s _ P r o v i n c e
    A n g e r s R e g i o n A n t i o c h A n t i o c h A n t i o c h _ P r o v i n c e A n t i o c h R e g i o n A n t w e r p A n t w e r p A n t w e r p _ P r o v i n c e A n t w e r p R e g i o n A r g u i n A r g u i n A r g u i n _ P r o v i n c e
    A r g u i n R e g i o n A r h u s A r h u s A r h u s _ P r o v i n c e A r h u s R e g i o n B a g h d a d B a g h d a d B a g h d a d _ P r o v i n c e B a g h d a d R e g i o n B e r n B e r n
    B e r n _ P r o v i n c e B e r n R e g i o n B o l o g n a B o l o g n a B o l o g n a _ P r o v i n c e B o l o g n a R e g i o n B o r d e a u x B o r d e a u x B o r d e a u x _ P r o v i n c e B o r d e a u x R e g i o n B r a n B r a n
    B r a n _ P r o v i n c e B r a n R e g i o n B r a z i l B r a z i l B r e s l a u B r e s l a u B r e s l a u _ P r o v i n c e B r e s l a u R e g i o n B r u g e s B r u g e s B r u g e s _ P r o v i n c e
    B r u g e s R e g i o n B u c h a r e s t B u c h a r e s t B u c h a r e s t _ P r o v i n c e B u c h a r e s t R e g i o n B u d a p e s t B u d a p e s t B u d a p e s t _ P r o v i n c e B u d a p e s t R e g i o n B u l g a r B u l g a r C a e n C a e n
    C a e n _ P r o v i n c e C a e n R e g i o n
    C a e r n a r v o n
    C a e r n a r v o n C a e r n a r v o n _ P r o v i n c e C a e r n a r v o n R e g i o n C a e s a r e a C a e s a r e a C a e s a r e a _ P r o v i n c e C a e s a r e a R e g i o n C a f f a C a f f a C a f f a _ P r o v i n c e C a f f a P r o v i n c e C a g l i a r i C a g l i a r i C a g l i a r i _ P r o v i n c e C a g l i a r i R e g i o n C a i r o C a i r o C a i r o _ P r o v i n c e C a i r o R e g i o n C a r i b b e a n C a r i b b e a n C a r i b b e a n _ I s l e s C a r i b b e a n I s l e s C h o l u l a C h o l u l a C h o l u l a _ P r o v i n c e T e x c o c o R e g i o n C o n s t a n t i n o p l e C o n s t a n t i n o p l e C o n s t a n t i n o p l e _ P r o v i n c e C o n s t a n t i n o p l e R e g i o n C o r d o b a C o r d o b a C o r d o b a _ P r o v i n c e C o r d o b a R e g i o n C o r i n t h C o r i n t h C o r i n t h _ P r o v i n c e C o r i n t h R e g i o n C r a c o w K r a k o w C r a c o w _ P r o v i n c e
    K r a k o w R e g i o n D a m a s c u s D a m a s c u s D a m a s c u s _ P r o v i n c e D a m a s c u s R e g i o n D i j o n D i j o n D i j o n _ P r o v i n c e D i j o n R e g i o n D o n g o l a D o n g o l a D o n g o l a _ P r o v i n c e D o n g o l a R e g i o n D u b l i n D u b l i n D u b l i n _ P r o v i n c e
    D u b l i n R e g i o n D u r a z z o D u r a z z o D u r a z z o _ P r o v i n c e D u r a z z o R e g i o n E d e s s a E d e s s a E d e s s a _ P r o v i n c e
    E d e s s a R e g i o n E d i n b u r g h E d i n b u r g h E d i n b u r g h _ P r o v i n c e E d i n b u r g h R e g i o n F l o r e n c e F l o r e n c e F l o r e n c e _ P r o v i n c e F l o r e n c e R e g i o n F o r t a l e z a F o r t a l e z a F r a n k f u r t F r a n k f u r t F r a n k f u r t _ P r o v i n c e F r a n k f u r t R e g i o n G a z a G a z a
    G a z a _ P r o v i n c e G a z a R e g i o n G e n o a G e n o a G e n o a _ P r o v i n c e G e n o a R e g i o n G r a n a d a G r a n a d a G r a n a d a _ P r o v i n c e G r a n a d a R e g i o n H a l y c h H a l y c h H a l y c h _ P r o v i n c e
    H a l y c h R e g i o n H a m b u r g H a m b u r g H a m b u r g _ P r o v i n c e H a m b u r g R e g i o n H e l s i n k i H e l s i n k i H e l s i n k i _ P r o v i n c e H e l s i n k i R e g i o n
    H o h e n s t a u f f e n S t a u f e n H o h e n s t a u f f e n _ P r o v i n c e S t a u f e n R e g i o n I a s i I a s i
    I a s i _ P r o v i n c e I a s i R e g i o n I c o n i u m I c o n i u m I c o n i u m _ P r o v i n c e I c o n i u m R e g i o n I n n s b r u c k I n n s b r u c k I n n s b r u c k _ P r o v i n c e I n n s b r u c k R e g i o n I n v e r n e s s I n v e r n e s s I n v e r n e s s _ P r o v i n c e I n v e r n e s s R e g i o n I r a k l i o n I r a k l i o n
    I s l e _ o f _ C r e t e
    I s l e o f C r e t e I s l e _ o f _ C y p r u s I s l e o f C y p r u s I s l e _ o f _ R h o d e s I s l e o f R h o d e s J e d d a J e d d a J e d d a _ P r o v i n c e J e d d a R e g i o n J e r u s a l e m J e r u s a l e m J e r u s a l e m _ P r o v i n c e J e r u s a l e m R e g i o n K i e v K i e v
    K i e v _ P r o v i n c e K i e v R e g i o n L e o n L e o n
    L e o n _ P r o v i n c e L e o n R e g i o n L i s b o n L i s b o n L i s b o n _ P r o v i n c e
    L i s b o n R e g i o n L o n d o n L o n d o n L o n d o n _ P r o v i n c e
    L o n d o n R e g i o n M a g d e b u r g M a g d e b u r g M a g d e b u r g _ P r o v i n c e M a g d e b u r g R e g i o n M a r r a k e s h M a r r a k e s h M a r r a k e s h _ P r o v i n c e M a r r a k e s h R e g i o n M a r s e i l l e M a r s e i l l e M a r s e i l l e _ P r o v i n c e M a r s e i l l e R e g i o n M e t z M e t z
    M e t z _ P r o v i n c e M e t z R e g i o n
    M i c c o s u k e e
    M i c c o s u k e e M i l a n M i l a n M i l a n _ P r o v i n c e M i l a n R e g i o n M o s c o w M o s c o w M o s c o w _ P r o v i n c e
    M o s c o w R e g i o n M o s u l M o s u l M o s u l _ P r o v i n c e M o s u l R e g i o n N a p l e s N a p l e s N a p l e s _ P r o v i n c e
    N a p l e s R e g i o n N i c a e a N i c a e a N i c a e a _ P r o v i n c e
    N i c a e a R e g i o n N i c o s i a N i c o s i a
    N o r t h _ A m e r i c a
    N o r t h A m e r i c a
    N o t t i n g h a m
    N o t t i n g h a m N o t t i n g h a m _ P r o v i n c e N o t t i n g h a m R e g i o n N o v g o r o d N o v g o r o d N o v g o r o d _ P r o v i n c e N o v g o r o d R e g i o n N u r e m b u r g N u r e m b u r g N u r e m b u r g _ P r o v i n c e N u r e m b u r g R e g i o n O s l o O s l o
    O s l o _ P r o v i n c e O s l o R e g i o n P a l e r m o P a l e r m o P a l e r m o _ P r o v i n c e P a l e r m o R e g i o n P a m p l o n a P a m p l o n a P a m p l o n a _ P r o v i n c e P a m p l o n a R e g i o n P a r i s P a r i s P a r i s _ P r o v i n c e P a r i s R e g i o n P r a g u e P r a g u e P r a g u e _ P r o v i n c e
    P r a g u e R e g i o n R a g u s a R a g u s a R a g u s a _ P r o v i n c e
    R a g u s a R e g i o n R e n n e s R e n n e s R e n n e s _ P r o v i n c e
    R e n n e s R e g i o n R h e i m s R h e i m s R h e i m s _ P r o v i n c e
    R h e i m s R e g i o n R h o d e s R h o d e s R i g a R i g a
    R i g a _ P r o v i n c e R i g a R e g i o n R o m a n _ P r o v i n c e R o m e R e g i o n R o m e R o m e R y a z a n R y a z a n R y a z a n _ P r o v i n c e
    R y a z a n R e g i o n S a r k e l S a r k e l S a r k e l _ P r o v i n c e
    S a r k e l R e g i o n S m o l e n s k S m o l e n s k S m o l e n s k _ P r o v i n c e S m o l e n s k R e g i o n S m y r n a S m y r n a S m y r n a _ P r o v i n c e
    S m y r n a R e g i o n S o f i a S o f i a S o f i a _ P r o v i n c e S o f i a R e g i o n S t e t t i n S t e t t i n S t e t t i n _ P r o v i n c e S t e t t i n R e g i o n S t o c k h o l m S t o c k h o l m S t o c k h o l m _ P r o v i n c e S t o c k h o l m R e g i o n T b i l i s i T b i l i s i T b i l i s i _ P r o v i n c e T b i l i s i R e g i o n T e n o c h t i t l a n T e n o c h t i t l a n T e n o c h t i t l a n _ P r o v i n c e T e n o c h t i t l a n R e g i o n T h e s s a l o n i c a T h e s s a l o n i c a T h e s s a l o n i c a _ P r o v i n c e T h e s s a l o n i c a R e g i o n T h o r n T h o r n T h o r n _ P r o v i n c e T h o r n R e g i o n T i m b u k t u T i m b u k t u T i m b u k t u _ P r o v i n c e T i m b u k t u R e g i o n T l a x c a l a T l a x c a l a T l a x c a l a _ P r o v i n c e T l a x c a l a R e g i o n T o l e d o T o l e d o T o l e d o _ P r o v i n c e
    T o l e d o R e g i o n T o u l o u s e T o u l o u s e T o u l o u s e _ P r o v i n c e T o u l o u s e R e g i o n T r e b i z o n d T r e b i z o n d T r e b i z o n d _ P r o v i n c e T r e b i z o n d R e g i o n T r i p o l i T r i p o l i T r i p o l i _ P r o v i n c e T r i p o l i R e g i o n T u n i s T u n i s T u n i s _ P r o v i n c e T u n i s R e g i o n V a l e n c i a V a l e n c i a V a l e n c i a _ P r o v i n c e V a l e n c i a R e g i o n V e n i c e V e n i c e V e n i c e _ P r o v i n c e
    V e n i c e R e g i o n V i e n n a V i e n n a V i e n n a _ P r o v i n c e
    V i e n n a R e g i o n V i l n i u s V i l n i u s V i l n i u s _ P r o v i n c e V i l n i u s R e g i o n V o l g a - B u l g a r _ P r o v i n c e V o l g a - B u l g a r R e g i o n Y e r e v a n Y e r e v a n Y e r e v a n _ P r o v i n c e Y e r e v a n R e g i o n Y o r k Y o r k
    Y o r k _ P r o v i n c e Y o r k R e g i o n Z a g r e b Z a g r e b Z a g r e b _ P r o v i n c e
    Z a g r e b R e g i o n Z a r a g o z a Z a r a g o z a Z a r a g o z a _ P r o v i n c e Z a r a g o z a R e g i o n
    Last edited by Gigantus; May 30, 2010 at 10:01 PM. Reason: spoilering the big stuff

  7. #7
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    You have to open the txt (not string.bin.txt) file with notepad or notepad++
    Then you will be able to read it properly and can modify the entries as well.










  8. #8
    Evil_Dane's Avatar Semisalis
    Join Date
    Sep 2008
    Location
    Denmark
    Posts
    442

    Default Re: Creating a World – Adding detailed Regions

    You can add over 100% in religion i tried it by a mistake once...

  9. #9
    Nevada's Avatar Domesticus
    Join Date
    Jun 2007
    Location
    Bavaria
    Posts
    2,197

    Default Re: Creating a World – Adding detailed Regions

    Great tutorial!

    Now I finally know how to get mercenaries and sound in...



  10. #10
    Userpro's Avatar =RAE= HostedMod Creator
    Join Date
    Jul 2008
    Location
    regno germanicum, teutonical forest
    Posts
    1,673

    Default Re: Creating a World – Adding detailed Regions

    Line three: faction creator (determines the stratmap appearance of the city), independent from descr_strat entry
    Hi Giga,
    nice tut! I'm not sure at 100% but 90%, line 3 seems to be for the creator faction, to which the people of this province will be most loyal.
    Last edited by Userpro; January 12, 2009 at 12:45 PM.
    Visit our TWC M2TW-Kingdoms Hosted Mods Forum for...

    !!! RAE Development stopped --- read last Statement here !!!
    M2TW-Kingdoms Mod Creator REDEO AD EXORDIUM ( RAE )
    Progress: 95% internal final beta release - 85% official release
    RAE TWC-Wiki Eagle Standard interview ... RAE.net Homepage ... RAE TWZ-Germany
    Proudly Sega & Steam Boycotter since ETW! See why here or this petition
    Sorry for bad english here, there and in my tutorials > advanced horde invasion & hide/unhide stratmap-ui & Beginners modding



  11. #11
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    That's what I thought in the beginning, but it is not the case - hence the end of the sentence:
    independent from descr_strat entry
    , which determines to whom they revolt\are loyal to.










  12. #12
    Userpro's Avatar =RAE= HostedMod Creator
    Join Date
    Jul 2008
    Location
    regno germanicum, teutonical forest
    Posts
    1,673

    Default Re: Creating a World – Adding detailed Regions

    Line three: faction creator (determines the stratmap appearance of the city), independent from descr_strat entry
    Sorry Giga,
    but after testing this for more times now, giving the attribute "egypt" for example to London or Arhus, doesn't change the appearance of a city, but only the "loyal-status"! At least with the Kingdoms.exe.
    Greets
    Visit our TWC M2TW-Kingdoms Hosted Mods Forum for...

    !!! RAE Development stopped --- read last Statement here !!!
    M2TW-Kingdoms Mod Creator REDEO AD EXORDIUM ( RAE )
    Progress: 95% internal final beta release - 85% official release
    RAE TWC-Wiki Eagle Standard interview ... RAE.net Homepage ... RAE TWZ-Germany
    Proudly Sega & Steam Boycotter since ETW! See why here or this petition
    Sorry for bad english here, there and in my tutorials > advanced horde invasion & hide/unhide stratmap-ui & Beginners modding



  13. #13
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    I will check it again.


    Yup, you are right: it is the descr_strat entry that changes the appearance, not the descr_region one. Loyality (whom they rebel to) is the right thing. I will have to change it. Thanks for pointing that out.
    Last edited by Gigantus; February 21, 2009 at 11:26 AM.










  14. #14

    Default Re: Creating a World – Adding detailed Regions

    Look guys, I don't have that folder text (data\text\....) I read somewhere that i have to unpack the game but i don't know how. Can you post a link to that tutorial because i can't find it ... pls

  15. #15
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    You do have a folder called tools? If so then you also have a folder in there called unpacker. In there is a file called unpack_all. Run that file and have a look into the ReadMe regarding some file that need to be deleted.

    Little Tip: use the search function before posting, there must be at least a 100 posts describing this.










  16. #16

    Default Re: Creating a World – Adding detailed Regions

    i did my map,now i have my own folder in mods,i did my map regions etc(everything you told to do in world file and things in here,
    nooow what shoudl i do know for playing mod? when i choose england or france and then click to start,nothing hapopenes going back to main menu

    what should i add now?
    (noobish question huh?)
    here is what i done (my mod name Selim)
    http://rapidshare.com/files/283252213/Selim.rar.html

    after these i just added map.FE and victory conditions
    i can see map fe in fanction choose menu but not conditions
    Last edited by sfanky; September 21, 2009 at 08:09 PM.

  17. #17
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    If an error returns you to the main menu, then there will be an entry in the log detailing that error. You can find the log in the main folder (or in a subfolder called log if it set by the mod's configuration).










  18. #18

    Default Re: Creating a World – Adding detailed Regions

    lol,i am just trying to learning modding.it just not opening game and returning mein menu.
    its nearly like what you tell in your world modding touritral

  19. #19

    Default Re: Creating a World – Adding detailed Regions

    I have tried this for hours, switching everything I can think of but it still won't start the campaign. I check the error logs and nothing is there. I checked all spelling and everything. I tried to add a region west of denmark. ARRGH! Can you do it for me? lol

  20. #20
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Creating a World – Adding detailed Regions

    Silly question: did you draw your region in map_regions.tga and added the pixel for the settlement?










Page 1 of 6 123456 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •