Results 1 to 15 of 15

Thread: Capital problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Capital problems

    I've just been fiddling around on descr_strat and gave Lisbon (which was Portugal's capital) to the rebels. The game is now CTDing. Is this because the city was the capital? Portugal has other settlements, so is there a way I can change the capital (and I don't mean within the game...)

  2. #2
    Lonck's Avatar Centenarius
    Join Date
    Jun 2006
    Location
    mah couch
    Posts
    851

    Default Re: Capital problems

    check logs. AFAIK capital is the first settlement after the faction info in descr_strat.

  3. #3
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    hmm...could someone please tell me how to do the 'show_error' thing or whatever its called? (yes I am a noob )

  4. #4
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: Capital problems

    Go to your medieval2.preference.cfg

    Add these lines :
    Code:
     
    [io]
    file_first = 1
    
    [log]
    to = logs/system.log.txt
    level = * error
    Then save. and after you will see a system.log.txt in your Medieval II Total War\logs folder

    I think it's perhaps because you forgot to delete the army (but don't delete your faction leader )

  5. #5
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    thanks sinople I'll try the error thing. I didn't delete the army but I did move it, and I'm thinking that maybe my coordinates were invalid - Ive changed that so I'll see what happens.

    Thanks for the help guys

  6. #6
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    *sigh* The plot thickens. The coordinates were not the problem and to make it worse I can't open the .cfg file because it says I need 'DynSite' or something...

    Any ideas..?

  7. #7
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: Capital problems

    Open with a text editor (select choice program)

    Show us your descr_strat you perhaps make a mistake

  8. #8
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    this is the rebel army I stuck in the newly-rebel Lisbon:

    Code:
    character	sub_faction moors, Shakir, general, male, age 43, x 11, y 125 ;Lisbon
    army
    unit		ME Spear Militia				exp 1 armour 0 weapon_lvl 0
    unit		ME Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		ME Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		Desert Archers				exp 0 armour 0 weapon_lvl 0
    unit		Desert Archers				exp 0 armour 0 weapon_lvl 0
    unit		Desert Cavalry				exp 1 armour 0 weapon_lvl 0
    unit		ME Spear Militia				exp 1 armour 0 weapon_lvl 0
    unit		ME Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		ME Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		ME Spear Militia				exp 1 armour 0 weapon_lvl 0
    unit		ME Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		Saracen Militia				exp 0 armour 0 weapon_lvl 0
    unit		Saracen Militia				exp 1 armour 0 weapon_lvl 0
    (thats the only code I did from scratch - the rest was just copy and pasted)
    here's what portugal faction looks like:
    Code:
    faction	portugal, sailor henry
    ai_label	catholic
    denari	4000
    denari_kings_purse	2000
    settlement castle
    {
    	level town
    	region Oporto_Province
    
    	year_founded 0
    	population 1600
    	plan_set default_set
    	faction_creator portugal
    	building
    	{
    		type core_castle_building wooden_castle
    	}
    }
    
    character	Henrique de Portugal, named character, male, leader, age 40, x 16, y 143
    traits Factionleader 1 , MilitaryInclination 1 , GoodCommander 2 , Energetic 1 , PublicFaith 2 , Intelligent 1 , Bloodthirsty 1 , ReligionStarter 1 
    army
    unit		SE Bodyguard				exp 1 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 0 armour 0 weapon_lvl 0
    
    character	Afonso de Portugal, named character, male, heir, age 19, x 16, y 143 
    traits Factionheir 1 , LoyaltyStarter 1 , GovernorInclination 1 , GoodCommander 1 , PublicFaith 1 , Intelligent 2 , ReligionStarter 1 
    army
    unit		SE Bodyguard				exp 1 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 0 armour 0 weapon_lvl 
    
    character	Joao, named character, male, age 26, x 17, y 137
    traits LoyaltyStarter 1 , NaturalMilitarySkill 1 , MilitaryInclination 1 , GoodCommander 1 , ReligionStarter 1 
    army
    unit		SE Bodyguard				exp 1 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 1 armour 0 weapon_lvl 0
    unit		Spear Militia				exp 0 armour 0 weapon_lvl 0
    unit		Jinetes				exp 1 armour 0 weapon_lvl 0
    
    character	Lopo Pires, spy, male, age 20, x 16, y 143
    traits NaturalSpySkill 2 , GoodSpy 2 
    
    character	Vicente Ramalho, merchant, male, age 25, x 16, y 143 
    traits NaturalMerchantSkill 2 , GoodMerchant 1 
    
    character	Martim, admiral, male, age 27, x 10, y 128 
    army
    unit		cog				exp 1 armour 0 weapon_lvl 0
    
    character	Mendo, admiral, male, age 34, x 13, y 144 
    army
    unit		cog				exp 1 armour 0 weapon_lvl 0
    
    character	Manuel, priest, male, age 40, x 16, y 143
    traits NaturalPriestSkill 2 , GoodDenouncer 2 , PriestLevel 1 
    
    character	Maria de Portugal, princess, female, age 18, x 16, y 143
    traits IAmPrincess 1 , NaturalPrincess 2 , GoodPrincess 1 
    
    
    character_record	Teresa de Portugal, female, age 35, alive, never_a_leader
    
    relative 	Henrique de Portugal, Teresa de Portugal, Afonso de Portugal, Maria de Portugal, end
    (all I did was remove Lisbon and put it in the rebel section, and change the coordinates of the army and agents in Lisbon to put them in the same place as one of the other characters)

    I'll try the error log thing now thanks

  9. #9
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    Ok....I've done the error log thing, but it looks like a load of nonsense to me. What exactly am I meant to be looking at in there?

  10. #10
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: Capital problems

    Give it

    But the [script] [error] are almost every time the error

  11. #11
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    What part do you need? It won't let me put the whole thing on here
    Here's the last chunk:
    Code:
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/037.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/037.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/037.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/civilians/044.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/civilians/044.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/civilians/044.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/civilians/044.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/004.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/004.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/004.tga, using the default culture path if it exists
    16:48:10.062 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/004.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/032.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/032.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/032.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/032.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/088.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/088.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/088.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/merchants/088.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/025.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/025.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/025.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/025.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/094.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/094.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/094.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/094.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/080.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/080.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/080.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/priests/080.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/012.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/012.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/012.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/012.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/090.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/090.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/090.tga, using the default culture path if it exists
    16:48:10.078 [data.missing] [warning] Cannot find the portrait path: data/ui/eastern_european/portraits/portraits/young/rogues/090.tga, using the default culture path if it exists
    16:53:07.343 [system.io] [warning] open: data/loading_screen/loading_bar.tga.dds is missing
    16:53:07.343 [system.io] [warning] open: mods/teutonic/data/loading_screen/loading_logo.tga.dds is missing
    16:53:09.281 [system.io] [warning] open: data/loading_screen/loading_bar.tga.dds is missing
    16:53:09.515 [system.io] [warning] open: data/menu/symbols/FE_faction_units/norway.tga is missing
    16:53:09.515 [system.io] [warning] open: data/menu/symbols/FE_faction_units/kalmar_union.tga is missing
    16:53:09.640 [system.io] [warning] open: data/menu/symbols/FE_symbols_80/normans.tga is missing
    16:53:09.640 [system.io] [warning] open: data/menu/symbols/FE_faction_units/normans.tga is missing
    16:53:09.640 [system.io] [warning] open: data/menu/symbols/FE_symbols_80/saxons.tga is missing
    16:53:09.640 [system.io] [warning] open: data/menu/symbols/FE_faction_units/saxons.tga is missing
    16:53:09.656 [system.io] [warning] open: data/menu/symbols/FE_symbols_80/slave.tga is missing
    16:53:09.656 [system.io] [warning] open: data/menu/symbols/FE_faction_units/slave.tga is missing
    16:53:09.734 [system.io] [warning] open: data/menu/_M2_MP_HISTORICAL_BATTLE_CHOOSE_TEAMS.TGA is missing
    16:53:09.750 [system.io] [warning] open: data/menu/TEXTURES/_M2_MAIN_MENU.TGA is missing
    16:53:10.781 [system.io] [warning] open: data/menu/buttons_composite2.tga.dds is missing
    16:53:10.781 [system.io] [warning] open: data/menu/slider_composite.tga.dds is missing
    16:53:10.781 [system.io] [warning] open: data/menu/slider_composite2.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/border_4pix_black_gold2.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/text_border.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/yellow_highlight.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/border_4pix_black_gold_selected.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/border_4pix_black_gold_black.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/_M2_Selection_Glow.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/unit_card.tga.dds is missing
    16:53:10.796 [system.io] [warning] open: data/menu/icons.tga.dds is missing

  12. #12
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Capital problems

    This doesn't look like an error log, more like a trace log.

    Anyhow, where in the descr_strat did you place Lisbon? Hopefully before all the rebel army entries. If you have placed it behind (at the end) then that will most likely be your CTD.










  13. #13
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    It's from Medieval II Total War/system.log...

    Yeah I put Lisbon where it's supposed to be, above the army entries...it's a puzzler. I've changed a few settlements' ownership with no problems. I refuse to be beaten by a text file

  14. #14
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Capital problems

    Did you add those lines from one of the earlier posts? After that you have to make the cfg file read-only, else the game will change the entry back to default.










  15. #15
    Zymran's Avatar Ordinarius
    Join Date
    Mar 2008
    Location
    Brighton, UK
    Posts
    781

    Default Re: Capital problems

    ...aaah ok, I'll try that again...
    (thanks gigantus)

Posting Permissions

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