Results 1 to 7 of 7

Thread: Issue with descr_strat

Hybrid View

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

    Default Issue with descr_strat

    Every time I try to start a campaign with Portugal I'm brought back to the main screen. No big deal, I go to the log file in order to detect the error. The problem is that I don't understand it. Take a look:

    HTML Code:
    11:59:54.629 [script.err] [error] Script Error in Stainless_Steel_Mod/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2967, column 85
    Children of King Henrique: King Henrique (age 18) is supposed to be younger than King Henrique (age 16)
    And this is what I have in the descr_strat:

    HTML Code:
    character    Henrique de Portugal, named character, male, leader, age 40, x 68, y 111 
    traits Factionleader 1, GoodCommander 4, PublicFaith 2, Intelligent 3, ReligionStarter 1
    army
    unit        SE Bodyguard                exp 3 armour 3 weapon_lvl 3
    unit        Mailed Knights                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
    unit        Peasant Crossbowmen                exp 1 armour 0 weapon_lvl 0
    unit        Peasant Crossbowmen                exp 1 armour 0 weapon_lvl 0
    
    character    Afonso de Portugal, named character, male, heir, age 16, x 71, y 108 
    (...)
    
    relative     Henrique de Portugal,    Teresa de Portugal,    Afonso de Portugal,Maria de Portugal,    end
    I can't see where that age thing comes from. They say the king has 16, but he is 40, way over his son's age.
    Tis but a scratch.

  2. #2
    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: Issue with descr_strat

    you are missing character record entries for
    Teresa de Portugal
    Maria de Portugal










  3. #3

    Default Re: Issue with descr_strat

    No no, they are there, I'd just supressed those lines. Such mistake would appear in the log anyway. Here's de whole thing:

    HTML Code:
    character    Henrique de Portugal, named character, male, leader, age 40, x 68, y 111 
    traits Factionleader 1, GoodCommander 4, PublicFaith 2, Intelligent 3, ReligionStarter 1
    army
    unit        SE Bodyguard                exp 3 armour 3 weapon_lvl 3
    unit        Mailed Knights                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
    unit        Peasant Crossbowmen                exp 1 armour 0 weapon_lvl 0
    unit        Peasant Crossbowmen                exp 1 armour 0 weapon_lvl 0
    
    character    Afonso de Portugal, named character, male, heir, age 16, x 71, y 108 
    traits Factionheir 1, LoyaltyStarter 1, GoodCommander 2, NaturalMilitarySkill 3, PublicFaith 1, Brave 3, PoliticsSkill 1, Hatesmoors 3, ReligiousActivity 1, ReligionStarter 1
    ancillaries mentor
    army
    unit        SE Bodyguard                exp 3 armour 3 weapon_lvl 3
    unit        Spear Militia                exp 0 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
    unit        Peasant Crossbowmen                exp 0 armour 0 weapon_lvl 0
    unit        Peasant Crossbowmen                exp 0 armour 0 weapon_lvl 0
    unit        Peasant Archers                exp 0 armour 0 weapon_lvl 0
    unit        Jinetes                exp 0 armour 0 weapon_lvl 0
    unit        Jinetes                exp 0 armour 0 weapon_lvl 0
    
    character    Lopo Pires, spy, male, age 20, x 76, y 100 
    traits GoodSpy 4 
    
    character    Vicente Ramalho, merchant, male, age 25, x 78, y 111 
    traits GoodMerchant 3 
    
    character    Martim, admiral, male, age 27, x 65, y 106 
    army
    unit        cog                exp 0 armour 0 weapon_lvl 0
    
    character    Mendo, admiral, male, age 34, x 73, y 130 
    army
    unit        cog                exp 0 armour 0 weapon_lvl 0
    unit        cog                exp 0 armour 0 weapon_lvl 0
    unit        cog                exp 0 armour 0 weapon_lvl 0
    
    character    Joao, priest, male, age 40, x 70, y 107 
    traits NaturalPriestSkill 2 , GoodDenouncer 2 , PriestLevel 1 
    
    character    Maria de Portugal, princess, female, age 18, x 69, y 113 
    traits IAmPrincess 1 , NaturalPrincess 2 , GoodPrincess 1 
    
    character    Egas Moniz, diplomat, male, age 30, x 78, y 126
    traits GoodDiplomat 4, Multilingual 1, BraveDiplomat 3
    
    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
    Tis but a scratch.

  4. #4
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Issue with descr_strat

    the children need to be listed in descending age order

    if Maria is 18 and Afonso is 16

    then Maria should be in relative list before Afonso....

    like:
    relative Henrique de Portugal, Teresa de Portugal, Maria de Portugal, Afonso de Portugal, end
    that's probably what its really moaning about (the error reporting isn't very accurate)
    Last edited by makanyane; December 16, 2009 at 11:23 AM. Reason: explaining which line..

  5. #5

    Default Re: Issue with descr_strat

    Quote Originally Posted by makanyane View Post
    the children need to be listed in descending age order

    if Maria is 18 and Afonso is 16

    then Maria should be in relative list before Afonso....

    like:


    that's probably what its really moaning about (the error reporting isn't very accurate)
    I had no idea of that. Problem solved, thank you very much!
    Tis but a scratch.

  6. #6
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Issue with descr_strat

    Moved to Mod Workshop -> Text Editing and Scripting.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  7. #7
    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: Issue with descr_strat

    Told you something wasn't right there: always provide the full circumstances. Especially with family trees.










Posting Permissions

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