Results 1 to 8 of 8

Thread: help needed adding a new region in britaina campain

Hybrid View

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

    Default help needed adding a new region in britaina campain

    I need some help adding a new region I have added the region to the map_regions.tga using paint shop pro

    added
    Spoiler Alert, click show to read: 
    Gwyr_Principality
    Caerfyrddin
    wales
    English_Rebels
    215 198 3
    none
    5
    4
    religions { catholic 0 welsh 100 scottish 0 irish 0 norwegian 0 heretic 0 }

    to descr_regions

    added
    Gwyr_Principality
    Caerfyrddin
    to descr_regions_and_settlement_name_lookup

    added
    Gwyr_Principality
    to descr_sounds_music_types

    Spoiler Alert, click show to read: 
    ; Britannia Mod
    regions Orkney_Region Caithness_and_Sutherland_Regions Highlands_Region Aberdeen_Region Perth_Region Stirling_Region Lanark_Region
    regions Lothian_Region Ulster_Province Dumfries_Region Northumberland Cumberland_Region Connaught_Region Yorkshire Isle_of_Man
    regions Lancashire Meath_Region Leinster_Region Gwynedd_Principality Cheshire_Region Lincolnshire Munster_Region Nottinghamshire
    regions Powys_Principality Shropshire_Region East_Anglia Deheubarth_Principality Oxford_Region West_Country London_Region Morgannwg_Principality
    regions Hampshire_Region Kent_Region Surry_and_Sussex_Regions Cornwall_Region Dorsetshire_Region Isle_of_Skye_Region Isle_of_Islay_Region
    regions Tyrconnel_Region Down_Region Thomond_Region Outer_Hebrides West_Highlands Isle_of_Mull Argyle_and_Bute Isle_of_Arran Gwyr_Principality


    added
    {Gwyr_Principality}Gwyr
    {Caerfyrddin}Caerfyrddin
    to imperial_campaign_regions_and_settlement_names

    added
    Spoiler Alert, click show to read: 

    settlement castle
    {
    level town
    region Gwyr_Principality
    year_founded 0
    population 1200
    plan_set default_set
    faction_creator wales
    building
    {
    type core_castle_building wooden_castle
    }
    building
    {
    type castle_barracks garrison_quarters
    }
    building
    {
    type missiles bowyer
    }
    building
    {
    type equestrian stables
    }
    }

    to descr_strat

    deleted
    imperial_campaign_regions_and_settlement_names.txt.strings
    and map.rwm





    but I keep getting an error when I launch the britiana campian
    Spoiler Alert, click show to read: 

    20:14:26.518 [script.err] [error] Script Error in mods/british_isles/data/world/maps/base/descr_regions.txt, at line 420, column 1
    Couldn't find region name 'Gwyr_Principality' in stringtable
    20:14:33.514 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.


    My only tought is that I have to add a fort to the region but I am unsure how

    Any help will be greatly appreciated

  2. #2

    Default Re: help needed adding a new region in britaina campain

    You add a fort at the bottom of descr.strat:-
    Spoiler Alert, click show to read: 

    ; >>>> start of regions section <<<<

    region Jerusalem_Province
    farming_level 0
    famine_threat 0
    fort 434 92 knightly_order_fort_b culture northern_european
    region Ascalon_Province
    farming_level 0
    famine_threat 0
    fort 436 77 knightly_order_fort_b culture northern_european
    script
    campaign_script.txt


    I dont think this will solve your problem though as the log is pointing to an error in base/dsecr_regions.txt at line 420

  3. #3

    Default Re: help needed adding a new region in britaina campain

    I tried adding a fort but it did not work but thank you any way btw what are thoes two numbers for next to fort

  4. #4

    Default Re: help needed adding a new region in britaina campain

    Quote Originally Posted by HMS_Frontier View Post
    I tried adding a fort but it did not work but thank you any way btw what are thoes two numbers for next to fort

    Those are the fort's x and y coordinates. They have to match the region for it to work.

    Your error is around the regions name, I'm not familiar with the britannia campaign so I'm not sure if Gwyr_Principality is acceptable or not... have you tried changing to Gwyr_Region?
    Last edited by Eothese; September 08, 2008 at 06:00 AM.

  5. #5
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: help needed adding a new region in britaina campain

    Are you using [io] file_first = true?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  6. #6

    Default Re: help needed adding a new region in britaina campain

    I have [io] file_first = true as the first line of medieval2.preference and
    kingdoms.exe --features.mod=mods/british_isles --io.file_first in the batch file

  7. #7
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: help needed adding a new region in britaina campain

    Also, are you 100% sure that the RGB values are correct?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  8. #8

    Default Re: help needed adding a new region in britaina campain

    thanks both of you but I have started from scratch and I have got it working the only things I have done diffrent is used irfan view and paint to do the map insteed of paint shop pro and not added it to descr_regions_and_settlement_name_lookup and it now works and again thank you both for your help

Posting Permissions

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