Results 1 to 12 of 12

Thread: Family tree help.

Hybrid View

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

    Default Family tree help.

    What am I doing wrong? My family tree refuses to recognize my princesses husband.

    The campaign starts fine when they aren't married, but if I code it in it won't start I have tried giving Theobald a new last name, adding him as a son (no luck either)
    EDIT: Also, Alphonse and Theobald are showing up as 20 years old ingame?!

    here is the descr_strat entry

    Code:
    character    Louis Capet, named character, male, leader, age 52, x 93, y 197
    traits Supplies 1 , Turnsaway 3 , Factionleader 1 , GoodCommander 2 , Intelligent 2 , Western_Edu 1 , BattleChivalry 1 , StrategyChivalry 3 , ReligionStarter 1 , Pious 3,
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character    Philip Capet, named character, male, heir, age 21, x 105, y 201
    traits Supplies 1 , Turnsaway 3 , Factionheir 1 , GoodCommander 1 , Intelligent 2 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 , 
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character    Theobald Capet, named character, male, named_character, age 28, x 66, y 153
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 , 
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character    Alphonse Capet, named character, male, named_character, age 46, x 91, y 159
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 , 
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character_record    Marguerite, female, age 39, alive, never_a_leader
    character_record    Isabelle, female, age 25, alive, never_a_leader
    character_record    Loois Capet, male, age 79, dead, 40, never_a_leader
    character_record    Blanche, female, age 78, dead, 14, never_a_leader
    
    relative     Loois Capet, Blanche, Louis Capet, Alphonse Capet, end
    relative     Louis Capet, Marguerite, Isabelle, Philip Capet, end
    (this line is the trouble spot)-->relative     Theobald Capet, Isabelle, end
    Error log:
    Code:
    18:47:35.305 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1236, column 30
    Couldn`t find spouse Isabelle
    Last edited by impspy; October 20, 2009 at 07:42 PM.


    "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

    Icon1 Re: Family tree help.

    Try this:
    Code:
    character    Louis Capet, named character, male, leader, age 52, x 93, y 197
    traits Supplies 1 , Turnsaway 3 , Factionleader 1 , GoodCommander 2 , Intelligent 2 , Western_Edu 1 , BattleChivalry 1 , StrategyChivalry 3 , ReligionStarter 1 , Pious 3,
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers             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
    
    character    Philip Capet, named character, male, heir, age 21, x 105, y 201
    traits Supplies 1 , Turnsaway 3 , Factionheir 1 , GoodCommander 1 , Intelligent 2 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 , 
    ancillaries
    army
    unit        NE Bodyguard              exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia          exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers           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
    
    character    Theobald, named character, male, named_character, age 28, x 66, y 153
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 , 
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character    Alphonse Capet, named character, male, named_character, age 46, x 91, y 159
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 , 
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character_record    Loois Capet, male, age 79, dead, 40, never_a_leader
    character_record    Blanche, female, age 78, dead, 14, never_a_leader
    character_record    Marguerite, female, age 39, alive, never_a_leader
    character_record    Isabelle, female, age 25, alive, never_a_leader
    
    relative     Loois Capet, Blanche, Louis Capet, Alphonse Capet, end
    relative     Louis Capet, Marguerite, Isabelle, Philip Capet, end
    relative     Theobald, Isabelle, end

  3. #3

    Default Re: Family tree help.

    Thanks, but now I have a new problem

    Code:
    22:10:24.748 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1239, column 50
    trying to make lesser character named character the faction leader. Only named characters please.
    22:10:25.358 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    I don't get it(?)


    "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

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

    Default Re: Family tree help.

    Quote Originally Posted by impspy View Post
    22:10:24.748 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1239, column 50
    trying to make lesser character named character the faction leader. Only named characters please.
    What is at line 1239?

    Other possible problems:

    - Theobald, Blanche, Marguerite and Isabelle don't have second names
    - Marguerite is 39 but has children of 21 and 25
    - I think there should be no "," between "dead" and the year

    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

  5. #5

    Default Re: Family tree help.

    Quote Originally Posted by konny View Post
    What is at line 1239?

    Other possible problems:

    - Theobald, Blanche, Marguerite and Isabelle don't have second names
    - Marguerite is 39 but has children of 21 and 25
    - I think there should be no "," between "dead" and the year
    here is the code at line 1239:

    Code:
    character    Louis Capet, named character, male, leader, age 52, x 93, y 197
    I havn't changed it since the beggining, but it only started giving me trouble after TNZ's second correction and when I try to go back to my original code I get the same "lesser character" error!(no offense intended, thanks btw)
    Last edited by impspy; October 21, 2009 at 01:03 PM.


    "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

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

    Default Re: Family tree help.

    Code:
    character    Louis Capet, named character, male, leader, age 52, x 93, y 197
    This line looks ok. I would say that the engine isn't able to read this line:

    Code:
    relative     Loois Capet, Blanche, Louis Capet, Alphonse Capet, end
    That way Louis is not attached to the family tree and becomes a "lesser character" (i.e. general). Here again: check if all those names are properly implemented, in particular Loois, and give Blanche a second name.

    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

  7. #7

    Icon1 Re: Family tree help.

    impspy: Try this:
    Code:
    character    Theobald, named character, male, age 28, x 66, y 153
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1
    Code:
    character    Alphonse Capet, named character, male, age 46, x 91, y 159
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1

  8. #8

    Default Re: Family tree help.

    No, that didn't work, and I am still getting the same error

    Here is the current dercr_strat entry(with your changes implemented)




    Code:
    character    Louis Capet, named character, male, leader, age 52, x 93, y 197
    traits Supplies 1 , Turnsaway 3 , Factionleader 1 , GoodCommander 2 , Intelligent 2 , Western_Edu 1 , BattleChivalry 1 , StrategyChivalry 3 , ReligionStarter 1 , Pious 3,
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers             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
    
    character    Philip Capet, named character, male, heir, age 21, x 105, y 201
    traits Supplies 1 , Turnsaway 3 , Factionheir 1 , GoodCommander 1 , Intelligent 2 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 , 
    ancillaries
    army
    unit        NE Bodyguard              exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia          exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers           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
    
    character    Theobald, named character, male, age 28, x 66, y 153
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character    Alphonse Capet, named character, male, age 46, x 91, y 159
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1
    ancillaries
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers                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
    
    character_record    Loois Capet, male, age 79, dead, 40, never_a_leader
    character_record    Blanche, female, age 78, dead, 14, never_a_leader
    character_record    Marguerite, female, age 39, alive, never_a_leader
    character_record    Isabelle, female, age 25, alive, never_a_leader
    
    relative     Loois Capet, Blanche, Louis Capet, Alphonse Capet, end
    relative     Louis Capet, Marguerite, Isabelle, Philip Capet, end
    relative     Theobald, Isabelle, end
    And I am still getting this error
    Code:
    22:10:24.748 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1239, column 50
    trying to make lesser character named character the faction leader. Only named characters please.
    22:10:25.358 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    I don't understand it. "Louis Capet" is clearly distinct from "Loois Capet".
    Last edited by impspy; October 21, 2009 at 06:08 AM.


    "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

    Icon1 Re: Family tree help.

    [Tutorial] Advanced Family Trees by GrnEyedDvl
    http://www.twcenter.net/forums/showthread.php?t=187293

  10. #10

    Icon1 Re: Family tree help.

    impspy: konny is right. Marguerite should be 41 years of age and there should be no "," between "dead" and the year.

    Try this. It should work:
    Code:
    character    Louis Capet, named character, male, leader, age 52, x 93, y 197
    traits Supplies 1 , Turnsaway 3 , Factionleader 1 , GoodCommander 2 , Intelligent 2 , Western_Edu 1 , BattleChivalry 1 , StrategyChivalry 3 , ReligionStarter 1 , Pious 3
    army
    unit        NE Bodyguard               	exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers             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
    
    character    Philip Capet, named character, male, heir, age 21, x 105, y 201
    traits Supplies 1 , Turnsaway 3 , Factionheir 1 , GoodCommander 1 , Intelligent 2 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1 
    army
    unit        NE Bodyguard              	exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights           	exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia          	exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers           	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
    
    character    Theobald Capet, named character, male, age 28, x 66, y 153
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            	exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers             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
    
    character    Alphonse Capet, named character, male, age 46, x 91, y 159
    traits Supplies 1 , Turnsaway 3 , GoodCommander 1 , Austere 1 , GovernorInclination 1 , Western_Edu 1 , ReligionStarter 1
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    unit        Feudal Knights            	exp 1 armour 0 weapon_lvl 0
    unit        Crossbow Militia            exp 1 armour 0 weapon_lvl 0
    unit        Peasant Archers             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
    
    character_record    Loois Capet, male, age 79, dead 40, never_a_leader
    character_record    Blanche, female, age 78, dead 14, never_a_leader
    character_record    Marguerite, female, age 41, alive, never_a_leader
    character_record    Isabelle, female, age 25, alive, never_a_leader
    
    relative     Loois Capet, Blanche, Louis Capet, Alphonse Capet, end
    relative     Louis Capet, Marguerite, Isabelle, Philip Capet, end
    relative     Theobald Capet, Isabelle, end

Posting Permissions

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