Results 1 to 10 of 10

Thread: Settlement walls?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Royale's Avatar Laetus
    Join Date
    Nov 2010
    Location
    Utah U.S.A.
    Posts
    20

    Default Settlement walls?

    So im making my own adjustments to RTR 1.9 to improve game play like making poeni citizen infantry unit size from 40 to 60, upping costs on Macedon units, etc. but what if i deleted all walls except stone walls on capitals and made it so you couldn't construct them until you have level 5 or 6 cities? Does anyone have experience in doing this because i would like to know how the game goes like that so i don't have to do all those boring sieges..

  2. #2

    Default Re: Settlement walls?

    Make backup copies of the files in case it doesnt work

    Then, first thing is to remove all the walls which are built when the game starts.

    This is the descr_strat.txt file and you are looking for any lines which contain references to walls except for those regions you want to keep walled eg:-


    Code:
     
     building
     {
      type defenses stone_wall
     }
    Next you need to edit the export_descr_building.txt file

    In our files, the stone wall is available at city level

    Code:
     
            stone_wall requires factions { all, }
            {
                capability
                {
                    wall_level 2
                    tower_level 1
                    gate_defences 1
                    gate_strength 1
                }
                construction 10
                cost 96000
                settlement_min city
    Change settlement_min city to settlement_min large_city
    and now the stone wall cant be built until you have the large city

    Save files after changes

    Not sure if this is save game compatable and remember to delete you map files otherwise the changes wont show up

    Hope this helps
    Semi-Retired RTR Developer and Researcher
    Dont get into a fight if there is nothing to win


  3. #3
    Caligula Caesar's Avatar Horse Lord
    Join Date
    Dec 2008
    Location
    England
    Posts
    5,510

    Default Re: Settlement walls?

    The one problem is that you'll still have to build the wooden walls before it. I think it is possible to exclude one wooden wall stage, but removing both caused a CTD iirc. You can do this by changing the upgrade from "wooden_wall" to "stone_wall" in the upgrades section of EDB.
    RTR-VII Team Leader and Leader of Fortuna Orbis, an RTR Submod

    "History has only one concern and aim, and that is the useful; which again has one single source, and that is truth." -Lucian of Samosata

    Fortuna Orbis Beta is released!

  4. #4

    Default Re: Settlement walls?

    Quote Originally Posted by Caligula Caesar View Post
    The one problem is that you'll still have to build the wooden walls before it. I think it is possible to exclude one wooden wall stage, but removing both caused a CTD iirc. You can do this by changing the upgrade from "wooden_wall" to "stone_wall" in the upgrades section of EDB.
    Yes, I was trying to keep it simple(ish)

    The alternative would be to place the required level of wall at each settlement (descr_strat.txt) and block further building/upgrades of walls in the edb (export_descr_building.txt)

    replace stone_wall requires factions { all, }

    with

    stone_wall requires factions { all, } and requires hidden resource not_used

    to prevent upgrading of walls
    Semi-Retired RTR Developer and Researcher
    Dont get into a fight if there is nothing to win


  5. #5
    Caligula Caesar's Avatar Horse Lord
    Join Date
    Dec 2008
    Location
    England
    Posts
    5,510

    Default Re: Settlement walls?

    In fact, if you do that on the first wall level (wooden_pallisade I think), you'll not be able to build any walls except for those already present ingame (that's what you want, right?). You may have to add "not_used" to the first line in the EDB, where all the hidden resources are used.
    RTR-VII Team Leader and Leader of Fortuna Orbis, an RTR Submod

    "History has only one concern and aim, and that is the useful; which again has one single source, and that is truth." -Lucian of Samosata

    Fortuna Orbis Beta is released!

  6. #6

    Default Re: Settlement walls?

    Quote Originally Posted by Caligula Caesar View Post
    In fact, if you do that on the first wall level (wooden_pallisade I think), you'll not be able to build any walls except for those already present ingame (that's what you want, right?).
    If you did that, then if pre-placed defence is higher than the first level wall, you would be able to continue to upgrade them. Only the first level defence would be prevented from further upgrading.

    Quote Originally Posted by Caligula Caesar View Post
    You may have to add "not_used" to the first line in the EDB, where all the hidden resources are used.
    Thats a bit misleading
    Semi-Retired RTR Developer and Researcher
    Dont get into a fight if there is nothing to win


  7. #7
    Caligula Caesar's Avatar Horse Lord
    Join Date
    Dec 2008
    Location
    England
    Posts
    5,510

    Default Re: Settlement walls?

    Quote Originally Posted by Clearchus of Sparta View Post
    If you did that, then if pre-placed defence is higher than the first level wall, you would be able to continue to upgrade them. Only the first level defence would be prevented from further upgrading.

    What I mean is that if you disable the construction of the first level, you will not be able to build that building tree unless you have it already ingame via descr_strat. Though on second thoughts, it would be best to add it to all levels.

    Quote Originally Posted by Clearchus of Sparta View Post
    Thats a bit misleading
    What is misleading? IIRC, RTRPE doesn't use such a resource. Though obviously if it does, you don't need to add it again.

    @Royale: The easiest way to go about finding the bug would be to first isolate which file it's in but first adding the new descr_strat then the new EDB. Btw, no other files need to be changed. Once you know which file is causing it, copy over parts of the new file onto the old file until you reach the CTD. Once you do, eliminate it. Job done
    RTR-VII Team Leader and Leader of Fortuna Orbis, an RTR Submod

    "History has only one concern and aim, and that is the useful; which again has one single source, and that is truth." -Lucian of Samosata

    Fortuna Orbis Beta is released!

  8. #8
    Royale's Avatar Laetus
    Join Date
    Nov 2010
    Location
    Utah U.S.A.
    Posts
    20

    Default Re: Settlement walls?

    OOOOOOOOHHHHHHHHHHH i see. Bueno! thanks for the help guys

  9. #9
    Royale's Avatar Laetus
    Join Date
    Nov 2010
    Location
    Utah U.S.A.
    Posts
    20

    Default Re: Settlement walls?

    I like what CC said about not being able to build walls except those present in game. So i just add hidden resource not_used? How does this affect game play btw?
    Last edited by Royale; November 19, 2010 at 05:07 PM.

  10. #10
    Royale's Avatar Laetus
    Join Date
    Nov 2010
    Location
    Utah U.S.A.
    Posts
    20

    Default Re: Settlement walls?

    Ok nvm but i have one problem. i go delete the map.rwm file add not_used to the first line in EDB i added it in descr_regions and added it in EDB a second time (as required) on "wooden_pallisade requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, } and hidden resource not_used" and i try to start a campaign and it freezes for a few seconds while the game makes another map.rwm file then jumps back to the last menu to start the campaign. It wont let me start one so the alternative is that i had to go set the cost for the wooden palisade at 1000000000000 lol

    its kinda irritating when i go through descr_strat deleting walls on most settlements for almost 30 minutes and making adjustments and then this happens..

    help?
    Last edited by Royale; November 19, 2010 at 05:21 PM.

Posting Permissions

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