Results 1 to 18 of 18

Thread: Family Issues!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    King Siegfried's Avatar Semisalis
    Join Date
    Feb 2009
    Location
    Savannah, GA
    Posts
    474

    Default Family Issues!

    Who doesn't have 'em, amirite?

    Well it seems even the Kings of Jerusalem are subject to this terror. In our case, it is a troublesome family setup. Despite reading GrnEyedDvl's tutorial on complex family trees several times, I can't get this to work right. Something is always wrong, whether a name can't be found in the database (despite me confirming its existence), a spouse can't be found, or something like that.

    UPDATE :: Discovered Mr. Philip Capet is in a similar situation in one gentleman's game, and so I borrowed that family and turned it into Godfrey's. Works like a charm. Now, since Godfrey of Bouillon never married or had children, I'd like to give him a dead "wife" so that he cannot get married again and cannot have children on his own (history buffs can just decide not to adopt). But so far my attempts have failed.

    Here is my current setup:
    Spoiler Alert, click show to read: 
    character_record Eustaceii de Boulogne, male, age 85, dead, 20, never_a_leader
    character_record Ida de Lorraine, female, age 75, dead, 5, never_a_leader
    character_record Eustaceiii de Boulogne, male, age 42, dead, 10, never_a_leader
    character_record Beatrice, female, age 25, dead, never_a_leader

    relative Eustaceii de Boulogne, Ida de Lorraine, Eustaceiii de Boulogne, Godfrey de Bouillon, Baldwin, end
    relative Godfrey de Bouillon, Beatrice, end

    Everything works with the exception of Ms. Beatrice, who disappears due to the following error:
    Spoiler Alert, click show to read: 
    16:09:30.437 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 4649, column 14
    couldn't find Godfrey de Bouillon's character_record
    16:09:30.437 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 4652, column 1
    The character record Béatrice is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative

    Anyone know how I might go about fixing this? In the meantime, I will double-check with GrnEyedDvl's tut.
    Last edited by King Siegfried; October 29, 2009 at 03:12 PM.

    Creator of Kingdoms of Heaven

  2. #2
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Family Issues!

    Try giving Godfrey de Bouillon his father's last name.

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  3. #3

    Default Re: Family Issues!

    Yeah, real problem. Apparently children always take the last name of the parent, despite the descr_strat entry, so "Godfrey de Bouillon" ingame is "Godfrey de Boulogne". This has been a real problem, and the only work around is to give the dead father the last name of "de Bouillon", then it should work

    Code:
    character_record Eustaceii  de Bouillon, male, age 85, dead, 20, never_a_leader 
    character_record        Ida de Lorraine,         female, age 75, dead, 5, never_a_leader                    
    character_record  de Bouillon, male, age 42, dead, 10, never_a_leader 
    character_record        Beatrice,     female, age 25, dead, never_a_leader                    
    
    relative Eustaceii  de Bouillon, Ida de Lorraine, Eustaceiii  de Bouillon, Godfrey de Bouillon, Baldwin, end
    relative     Godfrey de Bouillon,    Beatrice,    end
    I've had this problem with Scandinavian factions.


    "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

    Default Re: Family Issues!

    Quote Originally Posted by impspy View Post
    Yeah, real problem. Apparently children always take the last name of the parent, despite the descr_strat entry, so "Godfrey de Bouillon" ingame is "Godfrey de Boulogne". This has been a real problem, and the only work around is to give the dead father the last name of "de Bouillon", then it should work

    I've had this problem with Scandinavian factions.
    yes, but if you add in grandparents to the child you want with a different name then it can work...

    in the De Bouillon example, add in Eustaceii's father (and mother) and use the surname "de Bouillon", but add Eustaceii with the surname you want his kids to have, in this example "de Boulogne" and in-game the Eustacii will take his father's surname but Eustaceii's kids will take his surname as long as they are defined in descr_strat (i.e. if a child is born to him during the game, it will take his in-game name which is displayed as that of his grandfather!)

    is that any good - or was it aleady known?

    ...history abhors a paradox

    -------------


  5. #5
    King Siegfried's Avatar Semisalis
    Join Date
    Feb 2009
    Location
    Savannah, GA
    Posts
    474

    Default Re: Family Issues!

    Hmmmm. If I change his name to Godfrey de Boulogne, will his full name show when he dies?

    Oh, what happens if I don't give his dad a last name? If I just make it "Eustace", will that work?
    Last edited by King Siegfried; October 29, 2009 at 10:50 PM.

    Creator of Kingdoms of Heaven

  6. #6
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Family Issues!

    Quote Originally Posted by King Siegfried View Post
    Hmmmm. If I change his name to Godfrey de Boulogne, will his full name show when he dies?

    Oh, what happens if I don't give his dad a last name? If I just make it "Eustace", will that work?
    I suspect that his children will have no surname either but I might be wrong. Worth a shot

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  7. #7
    ★Bandiera Rossa☭'s Avatar The Red Menace
    Join Date
    Feb 2007
    Location
    California, USA
    Posts
    6,237

    Default Re: Family Issues!

    You could perhaps set up a trait.. to give him the name as an epithet which will be passed on to his children while in reality leaving him with no surname.. I know this was possible in RTW.


  8. #8
    King Siegfried's Avatar Semisalis
    Join Date
    Feb 2009
    Location
    Savannah, GA
    Posts
    474

    Default Re: Family Issues!

    Hmmmm. I tried some different things (though that trait idea is pretty cool...), but I ended up settling with "of Jerusalem". Since most of the crusader leaders were from all over the place (or ruled through marriage/adoption), I think it's the best way to handle it.

    Thanks for the help! +rep around

    Creator of Kingdoms of Heaven

  9. #9
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Family Issues!

    I really wish there was more scope for surnames. It's a shame that we can't use labels in the relative line instead of names

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

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

    Default Re: Family Issues!

    Yes, the problem here is that Godfrey de Boullion is renamed into Godfrey de Boulogne because of his father's last name, and that way the Godfrey de Boullion in the next line is not to be found by the game.

    Sollution: Place Godfrey's relative line above that of his father. That way both can keep their distinctive names.

    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

  11. #11

    Default Re: Family Issues!

    Quote Originally Posted by konny View Post
    Yes, the problem here is that Godfrey de Boullion is renamed into Godfrey de Boulogne because of his father's last name, and that way the Godfrey de Boullion in the next line is not to be found by the game.

    Sollution: Place Godfrey's relative line above that of his father. That way both can keep their distinctive names.
    So Geoffrey will not inherit his fathers in-game display name if his relative line is defined above his father, is that right Konny?

    Does the game not still display his name (in-game) as the same as his fathers - thats what I've found so far, that all kids inherit their fathers display name as defined in descr_strat

    ...history abhors a paradox

    -------------


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

    Default Re: Family Issues!

    Quote Originally Posted by Caesar Clivus View Post
    I thought I read in a tutorial that the father's relative line had to be defined before that of his children?
    No.

    Quote Originally Posted by raziel_eire View Post
    So Geoffrey will not inherit his fathers in-game display name if his relative line is defined above his father, is that right Konny?
    Yes

    Code:
    relative 	Hugues de Vermandois, Adelaide_fr de Vermandois, Mathilde de Vermandois, end
    relative 	Henri de_Paris, Anna, Philippe de_Paris, Emma de_Paris, Hugues de Vermandois, end
    Hugues is displayed as "Hugues de Vermandois", despite his father being displayed as "Henri Capet"

    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

  13. #13

    Default Re: Family Issues!

    @Konny

    and this applies to Kingdoms, yeah?

    I'm not seeing this at all in my game for any of my family trees.

    I've had to build some extensive & messy trees just to have a son displayed with a different surname then their father - to do it requires me to always build at least a 3 generation family tree and to then define in decr_strat the father and the sons surname the same but the grandfathers surname different.
    In-game the displayed surname appears to always be inherited from the defined parents surname.

    e.g. The fathers defined surname is masked in-game by his fathers defined surname. It doesn't matter what the son is defined as having as in-game he inherits the surname defined for his father.

    Sample code:
    Code:
    relative    Grod mac_Aonghuis,    Mandughai,    end
    relative    Utigur a_Briuis,    Botokhui,    Grod mac_Aonghuis,    Mugel mac_Aonghuis,    end
    I'd expect the above to display as you've outlined with the character Grod having a different surname to his father Utigur, but it doesn't - any ideas why?

    ...history abhors a paradox

    -------------


  14. #14
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Family Issues!

    I thought I read in a tutorial that the father's relative line had to be defined before that of his children?

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  15. #15
    King Siegfried's Avatar Semisalis
    Join Date
    Feb 2009
    Location
    Savannah, GA
    Posts
    474

    Default Re: Family Issues!

    That is very cool. Naming Godfrey's father and older brother "of Jerusalem" doesn't make much difference since they're dead already anyway, so I think "of Jerusalem" and "of Antioch" is the best solution for my dilemma. However, I can see this really helping out a lot of other people.

    On a slightly different note, can you change which portraits the game gives your pre-placed family? Good ol' Baldwin doesn't look too cool as the heir.

    Creator of Kingdoms of Heaven

  16. #16

    Default Re: Family Issues!

    @ Konny

    ah well - I thought I was missing something that caused your idea not to work, the other info I already utilise in my trees, but nevermind... will just have to stick to the 3 generations idea to provide variations/evloution in faimly names

    Cheers anyways

    @ King Sieg

    yeah, as far I know you can provide custom portaits for pre-defined characters (if your using Kingdoms that is, not sure about basic M2TW)... use the likes of William Wallace as an example, custom portrait defined in descr_strat

    ...history abhors a paradox

    -------------


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

    Default Re: Family Issues!

    Yes, you can assign custom protraits in descr_strat (and the script)

    Code:
    character    Heinrich Salier, named character, male, leader, age 30, x 174, y 186, portrait Heinrich
    In this case the folder ui needs to hold a folder:
    Code:
    ui\custom_portraits\Heinrich
    and inside this folder you need to have the files portrait_young.tga, portrait_old.tga, portrait_dead.tga

    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
  •