Results 1 to 10 of 10

Thread: One Settlement Type

  1. #1
    Meneth's Avatar I mod, therefore I am
    Join Date
    Jul 2010
    Location
    Oslo, Norway
    Posts
    5,537

    Default One Settlement Type

    This is a tutorial on how to make the game use only one type of settlement, cities.
    By having only one settlement, settlements will seldom run out of things to construct, and each settlement can be specialized in a different way.
    Files affected

    • EDB
    • descr_strat.txt
    • descr_campaign_db.xml

    Part 1 - descr_campaign_db.xml

    1. Find this line: "<show_building_browser_castles bool="true"/>"
    2. Change it to this: "<show_building_browser_castles bool="false"/>"

    If that line isn't in there, just add <show_building_browser_castles bool="false"/> in the display section.
    This will make castles not show up in the building browser
    Part 2 - EDB

    1. Remove or comment out all convert_to lines
    2. Delete the convert buildings

    This makes it so people cannot convert from cities to castles
    Part 3 - EDB

    1. Make all castle-only buildings (that don't have a city equivalent) city-only by changing the requirements of each building-level to "city" instead of "castle"
    2. Move all units from castle buildings that still remain, to their city equivalent
    3. Remove any duplicates (shouldn't be a lot)

    This way, all units are recruitable from cities. I also recommend moving any units recruitable from the castle building itself, to the barracks/stables (depending on what kind of unit it is)
    Part 4 - descr_strat

    1. Search for "settlement castle", replace with "settlement" (can't check atm exactly what the white-space is like)
    2. Search and replace:
      • core_castle_building -> core_builing
      • " c_" -> " "
      • castle_ ->
      • _castle ->
      • fortress -> stone_wall
      • wooden_castle -> wooden_pallisade
      • castle -> wooden_wall


    Now most/all buildings should be the town version.
    Part 5 - Debugging (what everone loves :P)

    1. Try to launch the game
    2. Check the log if it crashes, go to step 5 if it doesn't
    3. Fix the issue mentioned in the log, should be EDB issues only
    4. Go back to step 1,
    5. Try to launch a campaign
    6. Check the log if it crashes, if it doesn't you're done
    7. Fix the issue mentioned, should be descr_strat issues only (the search and replace eating a bit too much, usually)
    8. Go back to step 5


  2. #2
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,712

    Default Re: One Settlement Type

    Meneth
    when you finish examining the RozMod alltowns mod files, you'll discover some other files need to be changed apart from the ones you have listed.

  3. #3
    Meneth's Avatar I mod, therefore I am
    Join Date
    Jul 2010
    Location
    Oslo, Norway
    Posts
    5,537

    Default Re: One Settlement Type

    This guide is to how I did it, which seems to be working fine. What other files did you edit to implement this kind of functionality?

  4. #4
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,272

    Default Re: One Settlement Type

    Descr_mission, Descr_faction_Standing, descr_character, and descr_ancillaries files may be also affected (if you remove buildings). The last two won't really causes CTD since the trigger source is gone.

  5. #5
    stevehoos's Avatar Taihō no heishi
    Join Date
    Mar 2009
    Posts
    579

    Default Re: One Settlement Type

    Maybe someone could explain parts of this in further detail, very hard to figure out if you are unfamiliar with certain aspects? Especially convert to lines, there are some of these left in Roz's 6.3 all towns file which is causing me to be confused.
    Last edited by stevehoos; September 12, 2011 at 05:23 PM.
    Shogun 2, no thanks I will stick with Kingdoms SS.

  6. #6
    King William the Conqueror's Avatar Sōkō no yari
    Join Date
    Jun 2011
    Location
    Somewhere in the universe
    Posts
    1,315

    Default Re: One Settlement Type

    How can you make certain cultures have 1 settlement type, but others have more?

  7. #7
    Meneth's Avatar I mod, therefore I am
    Join Date
    Jul 2010
    Location
    Oslo, Norway
    Posts
    5,537

    Default Re: One Settlement Type

    Quote Originally Posted by King William the Conqueror View Post
    How can you make certain cultures have 1 settlement type, but others have more?
    You could probably limit the castle buildings to certain cultures/factions only.

  8. #8
    King William the Conqueror's Avatar Sōkō no yari
    Join Date
    Jun 2011
    Location
    Somewhere in the universe
    Posts
    1,315

    Default Re: One Settlement Type

    thanks but how?

  9. #9
    Sōkō yumi
    Join Date
    Nov 2010
    Posts
    818

    Default Re: One Settlement Type

    Why differentiate between cities and castles? Never understood Vanilla because the size of all regions had at least a dozen cities and castles in them.

  10. #10
    Ikko-Ikki
    Join Date
    Aug 2009
    Posts
    16

    Default Re: One Settlement Type

    so basically he's teaching how to apply the cities only Mod that he has on his compilation...
    now my problem is i want to have things back to normal on my game (only thing i dislike on his compilation)
    does anyone know how it can be done?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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