Results 1 to 14 of 14

Thread: Family members/tree editing tutorial

Hybrid View

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

    Default Family members/tree editing tutorial

    Yep. That's what I need is a family members/tree editing tutorial.

    I've resisted replying to the "seeking new tutorials" thread since I don't think I'd call myself "one of the better modders", but I've been really trying to find something that gives precise rules on what you can and cannot do (or should and should not do) when trying to alter the family trees and family members' information. I keep getting CTD's even though I *think* I am following rules I've seen posted here and there on this topic. They seem awfully touchy and I've gone over my edits over and over again without finding what's wrong.

    So a *good* tutorial on family tree editing would be much appreciated by myself. Or even just pointing me towards a good one would help. I've used some of what Burberista has done, and it did help me, but it was pretty brief.

  2. #2
    Member Member blindfaithnogod's Avatar
    Join Date
    Jan 2005
    Location
    Lawrence, KS USA
    Posts
    175

    Default Re: Family members/tree editing tutorial

    the that needs editing is the descr_strat.txt in the data/world/maps/imperial_campaign folder. or substitute any provincial campaign folder.

    once you find that file open it and youll se something like this
    campaign imperial_campaign
    playable
    romans_julii
    romans_brutii
    romans_scipii
    end
    unlockable
    egypt
    seleucid
    carthage
    parthia
    gauls
    germans
    britons
    greek_cities
    next scroll down till you see the faction you want to edit. something like this
    faction romans_julii, comfortable caesar
    denari 5000
    settlement
    {
    level large_town
    region Etruria

    year_founded 0
    population 4000
    settlement_tax 51
    plan_set default_set
    faction_creator romans_julii
    next you will scroll down to this
    character_record Amulius Julius, male, command 0, influence 0, management 0, subterfuge 0, age 13, alive, never_a_leader
    character_record Manius Julius, male, command 0, influence 0, management 0, subterfuge 0, age 10, alive, never_a_leader
    character_record Decius Julius, male, command 0, influence 0, management 0, subterfuge 0, age 7, alive, never_a_leader
    character_record Marcus Julius, male, command 0, influence 0, management 0, subterfuge 0, age 3, alive, never_a_leader
    character_record Faustina, female, command 0, influence 0, management 0, subterfuge 0, age 48, alive, never_a_leader
    character_record Poppaea, female, command 0, influence 0, management 0, subterfuge 0, age 29, alive, never_a_leader
    character_record Alypia, female, command 0, influence 0, management 0, subterfuge 0, age 29, alive, never_a_leader
    character_record Claudia, female, command 0, influence 0, management 0, subterfuge 0, age 28, alive, never_a_leader
    character_record Fadia, female, command 0, influence 0, management 0, subterfuge 0, age 13, alive, never_a_leader

    relative Flavius Julius, Faustina, Lucius Julius, Quintus Julius, Vibius Julius, end
    relative Lucius Julius, Poppaea, Fadia, Decius Julius, Marcus Julius, end
    relative Quintus Julius, Alypia, Amulius Julius, end
    relative Vibius Julius, Claudia, Manius Julius, end
    this is the text we need to edit to change the family tree. lets assume you want to add a new son. first check the descr_names.txt in the data folder to see what names can be used for the julii. then pick a name from there.
    i have chosen Sextus Julius as my new son. so i first add him to the character record like this
    character_record Sextus Julius, male, command 0, influence 0, management 0, subterfuge 0, age 1, alive, never_a_leader
    character_record Amulius Julius, male, command 0, influence 0, management 0, subterfuge 0, age 13, alive, never_a_leader
    character_record Manius Julius, male, command 0, influence 0, management 0, subterfuge 0, age 10, alive, never_a_leader
    character_record Decius Julius, male, command 0, influence 0, management 0, subterfuge 0, age 7, alive, never_a_leader
    character_record Marcus Julius, male, command 0, influence 0, management 0, subterfuge 0, age 3, alive, never_a_leader
    character_record Faustina, female, command 0, influence 0, management 0, subterfuge 0, age 48, alive, never_a_leader
    character_record Poppaea, female, command 0, influence 0, management 0, subterfuge 0, age 29, alive, never_a_leader
    character_record Alypia, female, command 0, influence 0, management 0, subterfuge 0, age 29, alive, never_a_leader
    character_record Claudia, female, command 0, influence 0, management 0, subterfuge 0, age 28, alive, never_a_leader
    character_record Fadia, female, command 0, influence 0, management 0, subterfuge 0, age 13, alive, never_a_leader
    next we need to assign his parents here
    relative Flavius Julius, Faustina, Lucius Julius, Quintus Julius, Vibius Julius, end
    relative Lucius Julius, Poppaea, Fadia, Decius Julius, Marcus Julius, end
    relative Quintus Julius, Alypia, Amulius Julius, end
    relative Vibius Julius, Claudia, Manius Julius, Sextus Julius, end
    then just start the game as normal. also one more note. you need to follow the space and tab pattern already in the file. its not exact in this thing but its close so you can get the idea. i hope this is what you are lookin for.

    Blue Lotus Total War
    --------------------------------------------------------------------------------------
    Byzantium Total War

  3. #3
    Member Member blindfaithnogod's Avatar
    Join Date
    Jan 2005
    Location
    Lawrence, KS USA
    Posts
    175

    Default Re: Family members/tree editing tutorial

    make sure you use the -show_err command on your shortcut. so it will tell you what you are doing wrong.

    Blue Lotus Total War
    --------------------------------------------------------------------------------------
    Byzantium Total War

  4. #4
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Family members/tree editing tutorial

    Only one more detail.
    The game considers that the order the relatives appear is:
    husband, wife, son1, son2....

    But it is important: the sons (and daughters, here there is no difference) are in age order: example son1=14, son2=12, son3=6, son4=2.
    If the ages stated above do not fit with this order the game will crash.
    Cheers.

  5. #5

    Default Re: Family members/tree editing tutorial

    The exact spacing and making the age of the children sequential have been great tips.

    Let me make sure I understand one thing:
    husband 53, wife 45, son 22, son 18, daughter 17, son 8
    would this be ok, mixing the son/daughteers like that?

    husband 53, wife 45, son 22, son 18, son 8, daughter 17
    Then would this be incorrect, to give sons first, then daughters?

    I think from what you said the first one is the right one, but I just want to be 100% sure. Thanks again guys! keep 'em coming!

  6. #6
    Member Member chemchok's Avatar
    Join Date
    Sep 2004
    Location
    Brooklyn, New York
    Posts
    454

    Default Re: Family members/tree editing tutorial

    Yeah TA, make sure all the children are in age order, regardless of sex.

    So... husband 53, wife 45, son 22, son 18, son 8, daughter 17 ...would be incorrect.

  7. #7

    Default Re: Family members/tree editing tutorial

    Another question on this:

    Does it hurt to have extra names in the descr_names_lookup.txt or the names.txt files?

    For example, if I want to enter new names in for a faction, I first start off in the descr_names.txt file. I delete the old (let's say for an example, Seleukid) men's names, surnames, and women's names, and then I enter my new ones carefully in there.

    *But* when it comes time for me to put those new names in those other two files (descr_names_lookup.txt and names.txt), it would be foolish for me to delete the names that I deleted from descr_names.txt, because another faction might be using that name too (especially with all the overlap in greek and such). So that would cause immediate CTD's. So instead I leave all the old names and put my new ones in there. So, what I'm asking is that there will be leftover names in the descr_names_lookup.txt and names.txt files, but will it hurt anything? I would think the answer would be no, since the game seems to take new names from your descr_names.txt file. And then it uses the data in the other two, but doesn't ever start with the other two. Any thoughts on this?

  8. #8
    Member Member Khagan's Avatar
    Join Date
    Nov 2004
    Location
    "The Steppes of Old Scythia"
    Posts
    7

    Default Re: Family members/tree editing tutorial

    Teleklos Archelaou,

    Man you beat me to the punch, because I was going to ask the exact same question! Btw, for the sake of less experienced modders would you let us know if this works?

  9. #9

    Default Re: Family members/tree editing tutorial

    Well, i've made a number of changes, and I'm still having CTDs at faction selection. I may have entered something in wrong, but if i find an answer i'll put it here.

  10. #10
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Family members/tree editing tutorial

    I've never worked with the names-related files, but after seeing how it works with other files with the same structure I can guess that the names included in descr_names.txt must fit exactly with those in descr_names_lookup.txt. I mean, all the names that appear in one file must be included in the other one.
    Moreover, all those names must be "translated" in Data\text\names.txt.
    Did you check the exact correspondence between the three files?

    Because of that it would be advisable to start by adding only one name in the three files. When it works, deleting one name and advancing in such a slow but secure way.

    Good luck!

  11. #11

    Default Re: Family members/tree editing tutorial

    Can you add traits to characters not yet of age so that when they do become of age they'll have the traits you specified? or will it just CTD?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO