Results 1 to 3 of 3

Thread: Family tree problem.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Family tree problem.

    I am building a starting family tree for England.

    The games starting date is 1100.

    King William the Conqueror is married to Matilda of Flanders.
    King William had 2 children (in this game), they are Rufus and Henry. William died at the age of 59 (this was before 1100).
    His first son, Rufus died around 1087 at the age of 44. Rufus is not married.
    His second son Henry still lives at the start of the game (1100). His current age is 32.

    Henry should be married to Edith, and have two children, William and Matilda (both names not to be confused with the other William and Matilda). But for some reason these children are not showing in the family tree (a picture of the family tree has been attached to this post).

    Here is also the code concerning the family trees within the desc_strat file:
    Code:
    character Henry, named character, male, leader, age 32, x 111, y 227 
    traits Factionleader 1 
    army
    unit  NE Bodyguard    exp 0 armour 0 weapon_lvl 0
    character_record  Edith,  female, age 30, alive, never_a_leader
    character_record  Matilda,  female, age 6, alive, never_a_leader
    character_record  William,  male, age 4, alive, current_heir
    character_record  William the Conqueror,  male, age 59, dead 13, current_leader
    character_record  Rufus,  male, age 44, dead 1, current_leader
    character_record  Matilda of Flanders,  female, age 52, dead 14, never_a_leader
    relative  William the Conqueror, Matilda of Flanders, Rufus, Henry, end
    relative  Henry, Edith, Matilda, William, end
    Note: Henry is the only character for England.

    The game runs as normal, but I have found these errors within the error_log, which has made it very obvious
    Code:
    13:48:27.938 [script.err] [error] Script Error in mods/grand_campaign/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 308, column 14
    couldn't find Henry's character_record
    13:48:27.938 [script.err] [error] Script Error in mods/grand_campaign/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 310, column 1
    The character record Edith is neither married, nor has a father and will be ommited from the game.  She needs to be defined as a relative
    13:48:27.938 [script.err] [error] Script Error in mods/grand_campaign/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 310, column 1
    The character record Matilda is neither married, nor has a father and will be ommited from the game.  She needs to be defined as a relative
    13:48:27.938 [script.err] [error] Script Error in mods/grand_campaign/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 310, column 1
    The child character record Prince William has no father and will be ommited from the game.  THey need to be defined as a relative
    But I dont know what else to do. Geomod, has linked the family trees togther, and it appears to be all correct. I've attached two screen shots showing the family trees in geomod.
    Last edited by IZob; November 14, 2012 at 05:11 AM.
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  2. #2

    Icon1 Re: Family tree problem.

    IZob: Check that you have tabs in your relative lines and not spaces: that could be causing the problem. Also in your character records you should be using ‘past_leader’ and not ‘current_leader’ for dead faction leaders. Though this is probably not the cause of your problem it's always good to list character records from oldest to youngest.
    Code:
    character_record  William the Conqueror,  male, age 59, dead 13, past_leader
    character_record  Matilda of Flanders,  female, age 52, dead 14, never_a_leader
    character_record  Rufus,  male, age 44, dead 1, past_leader
    character_record  Edith,  female, age 30, alive, never_a_leader
    character_record  Matilda,  female, age 6, alive, never_a_leader
    character_record  William,  male, age 4, alive, current_heir
    [Tutorial] Advanced Family Trees by GrnEyedDvl

    [Tutorial] Making a Family Tree With an Under Age Faction Heir or Leader

  3. #3
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: Family tree problem.

    Hi TNZ.
    Those spaces are just caused by copying the text into TWC's website. The original text has tabs.

    I haven't tested your edits yet, but I'll give it a try. Thank you for linking those tutorials. I looked at GrnEyedDvl's tutorial and it looks very complicated, but I think I can cut through it. If a problem occurs, I'll repost back here.
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

Posting Permissions

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