Results 1 to 8 of 8

Thread: CDT if add a family tree to Jerusalem

Hybrid View

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

    Default CDT if add a family tree to Jerusalem

    Hi,
    Starting in 1080, I let if Jerusalem is AI, the event that spawn Jerusalem in 1100.

    While I made several changes, that allow human player to start the first crusade in western Europe, in 1080 with scattered units, all over europe.

    The scirpts works fine, but as soon as I put yes to has_faimly_tree in descr_sm_factions.txt, I have a huge CTD, with nothing in the lof to help me.

    Of course I added this ( and even try with three members and just first name ) in desc_strat:

    HTML Code:
    faction    jerusalem, fortified caesar
    ai_label         catholic
    denari    2000
    denari_kings_purse    2500
    
    
    character    Jean de Brienne, named character, male, leader, age 46, x 99, y 176 ; clermont 
    traits Factionleader 1 , MilitaryInclination 1 , NaturalMilitarySkill 1 , GoodCommander 2 , Intelligent 2 , TourneyKnight 3 , StrategyChivalry 4 , GoodDiplomacy 2 , CrusaderHistory 2 , ReligionStarter 1
    army
    unit        NE Bodyguard                            exp 3 armour 0 weapon_lvl 0
    
    character    Alphonse de Brienne, named character, male, heir, age 24, x 100, y 176
    traits Factionheir 1 , LoyaltyStarter 1 , MilitaryInclination 1 , NaturalMilitarySkill 1 , GoodCommander 1 , BattleChivalry 1, StrategyChivalry 1 , CrusaderHistory 1 , GoodDiplomacy 2, ReligionStarter 1
    army
    unit        NE Bodyguard                exp 2 armour 0 weapon_lvl 0
    
    character    Baudouin de Lorraine, named character, male, age 30, x 101, y 176
    traits LoyaltyStarter 1 , MilitaryInclination 1 , NaturalMilitarySkill 1 , GoodCommander 2 , CrusaderHistory 1 , BattleChivalry 2 , Brave 1 , ReligionStarter 1
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    
    character    Foucaud, spy, male, age 23, x 99, y 176
    traits NaturalSpySkill 2
    
    character    Gautier Corbet, diplomat, male, age 29, x 99, y 177 
    traits NaturalDiplomatSkill 2 
    
    character    Reynaud d_Aubusson, priest, male, age 34, x 99, y 176 
    traits NaturalPriestSkill 2 , GoodDenouncer 1 , PriestLevel 2 
    
    character    Yolande, princess, female, age 18, x 99, y 178 
    traits NaturalPrincess 2, GoodPrincess 1, PrettyWoman 2
    
    character_record    Isabelle, female, age 38, alive, never_a_leader
    
    relative     Jean de Brienne,    Isabelle,    Alphonse de Brienne,    end
    If I let no to has_family_tree, no ctd's or report in the log, I checked in the forum, to find answers, the names fit the desc_names, and I deleted, dat files, and map.rwm.

    Thanks for your help.

  2. #2
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: CDT if add a family tree to Jerusalem

    Start simple and try to get it to load with just one general. Once you get that to work then follow this to add more.

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

    Default Re: CDT if add a family tree to Jerusalem

    I have always found family trees to be very tricky to edit. Even when the relative lines look exactly right, even the slightest misplaced tab stop can screw it all up. The easiest way I've found it to just copy and paste another faction's family tree and then just replacing all the names, being very careful to preserve all the spaces and tab stops.

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

  4. #4
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: CDT if add a family tree to Jerusalem

    You might want to read that tutorial I wrote as well then Caesar. Its by far the most detailed one out there.

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

    Default Re: CDT if add a family tree to Jerusalem

    Looks like a great tutorial mate. Shame it wasn't around when I was working on the family trees for the CBUR mod .

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

  6. #6
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: CDT if add a family tree to Jerusalem

    Well I try to document everything I can, but I cant do it all at once lol

  7. #7

    Default Re: CDT if add a family tree to Jerusalem

    I'll try tonight. Does the fact that Human Jerusalem has no settlement at all at the begining of the campaign?

  8. #8

    Default Re: CDT if add a family tree to Jerusalem

    So the issue was that jerusalem faction had no settlement. As in the first crusade they shouldn't have one, I cheat... I gave Lyon ( a small rebel town in France at this date, then give it back to rebels, and spawn units in it ).

    Code:
     monitor_event FactionTurnStart FactionType jerusalem
            and FactionIsLocal
            and I_TurnNumber = 0
        
            console_command surrender_regions jerusalem
    
            terminate_monitor
        end_monitor
    
    So the player see nothings and the first crusade can start. 
    
        monitor_event FactionTurnStart FactionType jerusalem
            and I_SettlementOwner Lyon = slave
    
            create_unit Lyon, Mailed Knights, num 3, exp 2, arm 0, wep 0
            create_unit Lyon, Spear Militia,    num 2, exp 2, arm 0, wep 0        
            create_unit Lyon, Peasant Archers, num 2, exp 2, arm 0, wep 0
            create_unit Lyon, Sergeant Spearmen, num 2, exp 2, arm 0, wep 0
            create_unit Lyon, Crossbowmen, num 2, exp 2, arm 0, wep 0
    
            terminate_monitor
        end_monitor

Posting Permissions

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