Results 1 to 2 of 2

Thread: A question about the mod's "Treasury" system

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default A question about the mod's "Treasury" system

    The treasury system,the one that gives around 2000% tax bonus in a faction's capital,seems to be quite unfair to me for the fact that some factions get a bigger bonus from it than others, I am playing as Parthia and I only get around 1500% tax bonus from my treasury,while the Seleucids get 3500% tax bonus from it.

    I was wondering if there was a way to make my treasury's tax bonus larger. If there isn't a way to do so ingame,I would really appreciate it if someone told me how to increase it though the mod's files

  2. #2
    ~Seleukos.I.Nikator~'s Avatar Campidoctor
    Join Date
    Nov 2010
    Location
    The United Europe, currently residing in Norway
    Posts
    1,642

    Default Re: A question about the mod's "Treasury" system

    Quote Originally Posted by King Wewuz View Post
    The treasury system,the one that gives around 2000% tax bonus in a faction's capital,seems to be quite unfair to me for the fact that some factions get a bigger bonus from it than others, I am playing as Parthia and I only get around 1500% tax bonus from my treasury,while the Seleucids get 3500% tax bonus from it.

    I was wondering if there was a way to make my treasury's tax bonus larger. If there isn't a way to do so ingame,I would really appreciate it if someone told me how to increase it though the mod's files
    There is actually some logic behind this, King Wewuz. If you make too much money from the very start the game will simply be too easy and hardly challenging. That is also the reason why other factions have bigger bonuses than yours. If you properly invest in your economy you will surely have enough money and at some point you will not even know what to spend it for.

    To answer your question, yes, there is a way to change the base bonus provided by your treasury. You can't do it ingame, so you have to do a bit of modding on your own.

    First of all, you have to find out what is the code name for that treasury building. In order to do that you need to navigate to the following folder:

    ...\Roma Surrectum 2.6\Play_Parthia\data\world\maps\campaign\imperial_campaign

    Then open the file descr.strat.txt

    For the Parthians the treasury is located in the city of Nisa, thus this is the city you are looking for in this file.

    Code:
    settlement
    {
        level city
        region Terrae_Dahae       ;;Nisa -483, 183
    
    
        year_founded 0
        population 9600
        ;meaningless_tax 50
        plan_set Pure_Eastern_set
        faction_creator parthia
        building
        {
            type hinterland_treasury large_treasury
        }
        building
        {
            type government_hostilia annex
        }
        building
        {
            type core_building governors_palace
        }
        building
        {
            type defenses stone_wall
        }
        building
        {
            type equestrian cavalry_barracks
        }
        building
        {
            type market forum
        }
        building
        {
            type hinterland_settlement_determination fortified_city
        }
        building
        {
            type temple_of_battle temple_of_battle_temple
        }
        building
        {
            type hinterland_roads roads
        }
        building
        {
            type health baths
        }
        building
        {
            type hinterland_farms farms+2
        }
        building
        {
            type hinterland_wealth medium_wealth
        }
        building
        {
            type hinterland_trade_routes silk_road
        }
    }
    These are the lines corresponding with city of Nisa and the treasury building is the one below

    Code:
    type hinterland_wealth medium_wealth
    Next step, close the file and in the following directory \Roma Surrectum 2.6\Play_Parthia\data open export_descr_buildings.txt

    Search for the description of a building with the name hinterland_wealth

    The complete code for this building should look like this:

    Code:
    building hinterland_wealth
    {
        levels egypt_wealth small_wealth medium_wealth large_wealth huge_wealth         ;;;;;;;;;these are now the 'treasury' buildings, except for first one
        {
            egypt_wealth requires hidden_resource rome and hidden_resource sparta       ;;Egyptian culture and info building
            {
                capability
                {
                    recruit "ptolemaic generals bodyguard"  0  requires factions { egypt, }
                    recruit "greek generals guard cavalry"  0  requires factions { britons, slave, }
                    recruit "eastern generals cavalry"  0  requires factions { thrace, slave, }
                    happiness_bonus bonus 2  requires factions { egypt, }
                    happiness_bonus bonus 1 requires factions { barbarian, nomad, greek, roman, carthage, armenia, parthia, }  and building_present_min_level health aqueduct
                    ;;;specific key city bonuses
                    trade_base_income_bonus bonus 1 requires not factions { egypt, } and hidden_resource area14 and hidden_resource r4      ;;Delta_tou_Neilou, Alexandria
                    taxable_income_bonus bonus 5 requires not factions { egypt, } and hidden_resource area14 and hidden_resource r4      ;;Delta_tou_Neilou, Alexandria
                    ;;;
                    trade_base_income_bonus bonus 1 requires hidden_resource area14 and hidden_resource r8      ;;Petraia_Arabia, Petra
                    taxable_income_bonus bonus 5 requires hidden_resource area14 and hidden_resource r8      ;;Petraia_Arabia, Petra
                }
                construction 1
                cost 400
                settlement_min village
                upgrades
                {
                    small_wealth
                }
            }
            small_wealth requires hidden_resource rome and hidden_resource sparta
            {
                capability
                {
                    happiness_bonus bonus 1 requires factions { barbarian, nomad, }
                    taxable_income_bonus bonus 6000 requires factions { germans, } and hidden_resource area4 and hidden_resource r1
                    taxable_income_bonus bonus 3700 requires factions { boii, } and hidden_resource area4 and hidden_resource r11
                    taxable_income_bonus bonus 4300 requires factions { romans_scipii, } and hidden_resource area7 and hidden_resource r6
                    ;
                    taxable_income_bonus bonus 1450 requires factions { romans_julii, } and hidden_resource area1 and hidden_resource r6 ;;;;PLAYER FACTION
                    taxable_income_bonus bonus 1450 requires factions { romans_julii, } and hidden_resource area1 and hidden_resource r9 ;;;;PLAYER FACTION
                    ;
                    taxable_income_bonus bonus 3100 requires factions { gauls, } and hidden_resource area13 and hidden_resource r6
                    taxable_income_bonus bonus 3600 requires factions { dacia, } and hidden_resource area7 and hidden_resource r2
                    taxable_income_bonus bonus 3600 requires factions { scythia, } and hidden_resource area10 and hidden_resource r9
                    taxable_income_bonus bonus 1900 requires factions { spain, } and hidden_resource area2 and hidden_resource r1
                }
                construction 1
                cost 15000
                settlement_min village
                upgrades
                {
                    medium_wealth
                }
            }
            medium_wealth requires hidden_resource rome and hidden_resource sparta
            {
                capability
                {
                    happiness_bonus bonus 1 requires factions { roman, greek, parthia, armenia, }
                    taxable_income_bonus bonus 1200 requires factions { parthia, } and hidden_resource area15 and hidden_resource r1
                    taxable_income_bonus bonus 3000 requires factions { armenia, } and hidden_resource area11 and hidden_resource r6
                    taxable_income_bonus bonus 2400 requires factions { greek_cities, } and hidden_resource area9 and hidden_resource r9
                    taxable_income_bonus bonus 4500 requires factions { numidia, } and hidden_resource area8 and hidden_resource r13
               }
                construction 1
                cost 25000
                settlement_min village
                upgrades
                {
                    large_wealth
                }
            }
            large_wealth requires hidden_resource rome and hidden_resource sparta
            {
                capability
                {
                    happiness_bonus bonus 1 requires factions { parthia, armenia, egypt, }
                    taxable_income_bonus bonus 4800 requires factions { macedon, } and hidden_resource area8 and hidden_resource r7
                    taxable_income_bonus bonus 4650 requires factions { egypt, } and hidden_resource area14 and hidden_resource r4
                    taxable_income_bonus bonus 8200 requires factions { seleucid, } and hidden_resource area14 and hidden_resource r12 ;;syria
                    taxable_income_bonus bonus 8200 requires factions { seleucid, } and hidden_resource area15 and hidden_resource r10 ;;Susiana
                    taxable_income_bonus bonus 3700 requires factions { pontus, } and hidden_resource area12 and hidden_resource r4
                }
                construction 1
                cost 30000
                settlement_min village
                upgrades
                {
                    huge_wealth
                }
            }
            huge_wealth requires hidden_resource rome and hidden_resource sparta
            {
                capability
                {
                    happiness_bonus bonus 1 requires factions { carthage, }
                    taxable_income_bonus bonus 3200 requires factions { carthage, } and hidden_resource area3 and hidden_resource r6
                    population_growth_bonus bonus 4 requires factions { carthage, } and hidden_resource area3 and hidden_resource r6
                }
                construction 1
                cost 60000
                settlement_min village
                upgrades
                {
                }
            }
        }
        plugins
        {
        }
    }
    and the line that you need to modify should be this one here:

    Code:
    taxable_income_bonus bonus 1200 requires factions { parthia, } and hidden_resource area15 and hidden_resource r1
    you can change the value of 1200 here to for example 3000, which will obviously increase the income generated by this building by 1800.

    While doing it, please, keep in mind that it's been a long time since I last modified anything in this game myself and I've never been as good at it as the other members of this forum. Therefore I can't really guarantee that you are not breaking anything at the same time.

    What you should definitely do is to make a back-up copy of the file that you are modifying before you start doing it. Then at least you make sure that you can always turn things round if something goes wrong.

    I hope that helps and good luck!
    Last edited by ~Seleukos.I.Nikator~; April 21, 2016 at 08:13 AM.

Posting Permissions

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