Results 1 to 11 of 11

Thread: Need help with family tree

Hybrid View

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

    Default Need help with family tree

    I can't get my irish family tree to work

    the entry in descr_start:
    Code:
    character    Domnall O'Neill, named character, male, age 40, x 29, y 238
    traits    MilitaryInclination 1, ReligionStarter 1, GoodCommander 2,
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    
    character    Domnall O'Connor, named character, male, age 38, x 9, y 230
    traits    Intelligent 2, LoyaltyStarter 1, ReligionStarter 1
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Nobles            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Ceitherne            exp 0 armour 0 weapon_lvl 0
    
    character    Diartmait O'Brian, named character, male, age 50, x 31, y 233
    traits    PublicFaith 1 , ReligionStarter 1, GoodCommander 1
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Nobles            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    
    character    Muircheatach O'Brian, named character, male, leader, age 50, x 13, y 218
    traits    Factionleader 1,  PublicFaith 1 , ReligionStarter 1
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Nobles            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    
    character    Ronan, spy, male, age 27, x 23, y 227
    traits NaturalSpySkill 1, GoodSpy 2
    
    character    Patraic MacNally, diplomat, male, age 25, x 84, y 214
    traits NaturalDiplomatSkill 1 
    
    character_record    Niav, female, age 75, dead 7, never_a_leader
    character_record    Turlough, male, age 77, dead 14 
    character_record    Turlough O'Connor, male, age 12, alive, never_a_leader
    character_record    Concessa O'Connor, female, age 35, alive, never_a_leader
    
    relative    Turlough, Niav, Diartmait O'Brian, Muircheatach O'Brian, Domnall O'Connor,  end
    
    relative    Domnall O'Connor, Concessa O'Connor, Turlough O'Connor, end
    and the error log

    Code:
    16:56:08.989 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 5307, column 48
    Children of Turlough: Turlough (age 50) is supposed to be younger than Turlough (age 50)
    Please help!


    "Do you know, my son, with what little understanding the world is ruled?"Pope Julius III
    Want to add your own mercenaries? Read my Tutorial

  2. #2
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Need help with family tree

    lower the age of the children
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  3. #3
    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: Need help with family tree

    character_record Turlough, male, age 77, dead 14
    character_record Turlough O'Connor, male, age 12, alive, never_a_leader
    Guess it is the first names, they are the same.










  4. #4
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Need help with family tree

    Gigantus is right


    the game doesn't know wich Turlough is correct, so since there's 1 older than the faction leader, that causes problems
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  5. #5
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Need help with family tree

    Nope, that isn't the problem. The error code reflects to children of Turlough aged 50, which applies to these two guys:

    Quote Originally Posted by impspy View Post
    character Diartmait O'Brian, named character, male, age 50, x 31, y 233
    traits PublicFaith 1 , ReligionStarter 1, GoodCommander 1
    army
    unit NE Bodyguard exp 0 armour 0 weapon_lvl 0
    unit Hobiguir exp 0 armour 0 weapon_lvl 0
    unit Irish Nobles exp 0 armour 0 weapon_lvl 0
    unit Irish Kerns exp 1 armour 0 weapon_lvl 0
    unit Irish Kerns exp 1 armour 0 weapon_lvl 0

    character Muircheatach O'Brian, named character, male, leader, age 50, x 13, y 218
    traits Factionleader 1, PublicFaith 1 , ReligionStarter 1
    army
    unit NE Bodyguard exp 0 armour 0 weapon_lvl 0
    unit Hobiguir exp 0 armour 0 weapon_lvl 0
    unit Irish Nobles exp 0 armour 0 weapon_lvl 0
    unit Irish Kerns exp 1 armour 0 weapon_lvl 0
    unit Irish Kerns exp 1 armour 0 weapon_lvl 0


    relative Turlough, Niav, Diartmait O'Brian, Muircheatach O'Brian, Domnall O'Connor, end
    Lowering the age of Muircheatach O'Brian to 49 should solve the problem.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  6. #6

    Default Re: Need help with family tree

    Okay thanks, but now I have a new problem:


    the descr_strat entry:
    Code:
    character    Domnall O'Neill, named character, male, age 40, x 29, y 238
    traits    MilitaryInclination 1, ReligionStarter 1, GoodCommander 2,
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    
    character    Domnall O'Connor, named character, male, heir, age 38, x 9, y 230
    traits    Factionheir 1, Intelligent 2, LoyaltyStarter 1, ReligionStarter 1
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Nobles            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Ceitherne            exp 0 armour 0 weapon_lvl 0
    
    character    Diartmait O'Brien, named character, male, age 50, x 31, y 233
    traits    PublicFaith 1 , ReligionStarter 1, GoodCommander 1
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Nobles            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    
    character    Muircheatach O'Brien, named character, male, leader, age 49, x 13, y 218
    traits    Factionleader 1,  PublicFaith 1 , ReligionStarter 1
    army
    unit        NE Bodyguard            exp 0 armour 0 weapon_lvl 0
    unit        Hobiguir            exp 0 armour 0 weapon_lvl 0
    unit        Irish Nobles            exp 0 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    unit        Irish Kerns            exp 1 armour 0 weapon_lvl 0
    
    character    Ronan, spy, male, age 27, x 23, y 227
    traits NaturalSpySkill 1, GoodSpy 2
    
    character    Patraic MacNally, diplomat, male, age 25, x 84, y 214
    traits NaturalDiplomatSkill 1 
    
    character_record    Niav, female, age 90, dead 7, never_a_leader
    character_record    Turlough, male, age 90, dead 14 
    character_record    Turlough O'Connor, male, age 12, alive, never_a_leader
    character_record    Concessa O'Connor, female, age 35, alive, never_a_leader
    
    relative    Turlough, Niav, Diartmait O'Brien, Muircheatach O'Brien, Domnall O'Connor,  end
    relative    Domnall O'Connor, Concessa O'Connor, Turlough O'Connor, end
    And the error log:
    Code:
    11:46:32.566 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 5308, column 13
    couldn't find Domnall O'Connor's character_record
    11:46:32.567 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 5311, column 1
    The child character record Turlough ó Conchobhair  has no father and will be ommited from the game.  THey need to be defined as a relative
    11:46:32.567 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 5311, column 1
    The character record Concessa ó Conchobhair  is neither married, nor has a father and will be ommited from the game.  She needs to be defined as a relative


    "Do you know, my son, with what little understanding the world is ruled?"Pope Julius III
    Want to add your own mercenaries? Read my Tutorial

  7. #7
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Need help with family tree

    I see. "O'Connor" and the like does not work in descr_names_lookup.txt and names.txt.

    The correct entry in names.txt could be:
    {O_Connor}O'Connor

    descr_names_lookup.txt
    O_Connor

    descr_names.txt
    O_Connor

    In this case use the O_Connor in descr_start.txt.

    But this realy depends how the entry looks in names.txt

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  8. #8

    Default Re: Need help with family tree

    thanks i got it to work,. apparently children cannot have differant last names from thier parents

    but now my name won't show correctly


    the name isn't Ui Briai, it's UI BRIAIN, and I know that it's not too long because I have this guy:


    the name is messed up for the whole family tree. whats up?


    "Do you know, my son, with what little understanding the world is ruled?"Pope Julius III
    Want to add your own mercenaries? Read my Tutorial

  9. #9
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Need help with family tree

    Quote Originally Posted by impspy View Post
    apparently children cannot have differant last names from thier parents
    Sometimes it works, sometimes it doesn't. Placing the relative line of the son (if he has any) above that of the father sometimes does the trick. But, in general, this seems to be a mistery.

    but now my name won't show correctly


    the name isn't Ui Briai, it's UI BRIAIN, and I know that it's not too long because I have this guy:


    the name is messed up for the whole family tree. whats up?
    No, length of names shouldn't be a problem.

    Here the problem is, I would guess, that "Ui Briain" is the last name of the list in descr_names. Sometimes the last letter is cut off of this last name. When you insert the next name, Ui Briain will be displayed properly - but the new name might have a letter missing. So, the best would be to add a dummy name at the end of the list that no one uses.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

Posting Permissions

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