Results 1 to 9 of 9

Thread: adding a new province causes an error in descr_region

  1. #1

    Icon4 adding a new province causes an error in descr_region

    Good afternoon Tried to create a new province. Added to desсr_strat, desсr_regions, regions_and_settlement_name, corrected everything in map.regions. Deleted map.rvm.
    Gives errors
    Error in descr file Q:\Feral\Users\Default\AppData\Local\Mods\My Mods\My mod/data/world/maps/campaign/kirsi_imperator_map_278/descr_regions.txt, line 2985::1: "unable to get name for region 'Chalkedonia' from stringtable"
    Script Error in Q:\Feral\Users\Default\AppData\Local\Mods\My Mods\My mod/data/world/maps/campaign/kirsi_imperator_map_278/descr_regions.txt, at line 2985, column 1. DATABASE_TABLE error found : error reading record from file


    Please help me, what could be the problem?

  2. #2

    Default Re: adding a new province causes an error in descr_region

    Hi. Have you added it to desc_win_condition and desc_mercenaries?

  3. #3

    Default Re: adding a new province causes an error in descr_region

    didn't add

  4. #4

    Default Re: adding a new province causes an error in descr_region

    Actually it's not needed in desc_win_condition it's optional, but you need it in desc_mercenaries and in descr_regions_and_settlement_name_lookup.txt. So to recap:
    1)descr_regions.txt
    2)descr_strat.txt
    3)descr_regions_and_settlement_name_lookup.txt
    4)imperial_campaign_regions_and_settlement_names.txt
    5)descr_mercenaries.txt
    6)map_regions.tga

  5. #5
    _Tartaros_'s Avatar "Harzschütze"
    Join Date
    Aug 2009
    Location
    kvet.lɪnˌbuʁk
    Posts
    4,493

    Default Re: adding a new province causes an error in descr_region

    "unable to get name for region 'Chalkedonia' from stringtable" error looks like a missing name in imperial_campaign_regions_and_settlement_names.txt

    you need both: settlement + region in brackets and as a name
    like this:
    {EphesusR} Ephesus Region
    {Ephesus} Ephesus

    from descr_regions.txt

    EphesusR
    Ephesus
    rhodes
    Ionians
    243 31 31
    thracians, easter_hellenes, pagans, greeks, sailors
    5
    6



    and add in descr_strat:

    ; x 285, y 34
    settlement
    {
    level town
    region EphesusR


    year_founded 0
    population 1800
    plan_set default_set
    faction_creator rhodes
    building
    {
    type core_building governors_house
    }
    building
    {
    type defenses wooden_pallisade
    }
    building
    {
    type barracks muster_field
    }
    building
    {
    type port_buildings port
    }
    building
    {
    type hinterland_roads roads
    }
    }
    ;---------------------------------------------------------------------------------------------------------------------------------------

    if you forget to add in descr_strat the game will put the settlement as a rebel village (not gamebreaking)

  6. #6

    Default Re: adding a new province causes an error in descr_region

    added everywhere, but still the same error. I noticed that the search for decr_region.... is missing from the maps I make my mod on. Maybe it's not needed after all?
    Last edited by devils; December 31, 2023 at 10:51 PM.

  7. #7

    Default Re: adding a new province causes an error in descr_region

    seems to have added everything everywhere
    {Zakynthos_R} Zakynthos
    {Zakynthos} Zakynthos

    Zakynthos_R
    Zakynthos
    greek_cities
    Aetolians
    100 103 44
    greek
    5
    3
    greeks 100

  8. #8

    Default Re: adding a new province causes an error in descr_region

    Friends, if you can describe point by point how to add a new province, I would be grateful. I read a bunch of tutorials, but they are all for old Rome. Suddenly something is different in the remaster. Please write how to add the province correctly.

  9. #9

    Default Re: adding a new province causes an error in descr_region

    In general, I found a solution to the problem. It was necessary to add information not only to region_and_settlement_name_ru, but also to region_and_settlement_name

Posting Permissions

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