Log in

View Full Version : No family tree in mod



uanime5
04-03-2007, 18:29
I was making a mod using the mesoamerican culture but the family tree only displays my faction leader and no one else (not even the faction heir). In the system log it says that the other family member 'need to be defined as a relative'. Also the Faction Leader's anf Faction Heir's names are not displayed.

How do I set up the family tree?

Lusted
04-03-2007, 18:55
You set it up in descr_strat, look at the other factions and find the relatives section.

uanime5
04-04-2007, 14:15
If you mean the data\world\maps\campaign\imperial_campaign\descr_strat.txt I've already edited that and the relatives don't show up (this is how I was able to set the Faction Heir and Faction Leader).

descr_strat code (I've deleted all but the General's units):

character Amaron, named character, male, leader, age 40, x 152, y 166
traits Factionleader 1 , GoodCommander 2 , BattleDread 4 , ReligionStarter 2
army
unit Battlemage exp 1 armour 0 weapon_lvl 0

character Diexony, named character, male, age 32, x 167, y 183
traits Factionheir 1 , LoyaltyStarter 3 , GoodCommander 2 , Intelligent 1 , Energetic 1 , GoodAmbusher 1 , ReligionStarter 1
army
unit Battlemage exp 1 armour 0 weapon_lvl 0

character Oxynta Erlach, assassin, male, age 20, x 150, y 166
traits GoodSpy 1

character Rhaskos Scherer, priest, male, age 45, x 151, y 178
traits NaturalPriestSkill 1 , StrongFaith 3 ,

character_record Cerzula, female, age 49, alive, never_a_leader
character_record Grim, male, age 12, alive, never_a_leader

relative Amaron, Cerzula, Diexony, Grim, end

The error message I get:

20:35:55.484 [script.err] [error] Script Error in myth/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 378, column 14 couldn't find Amaron's character_record
20:35:55.484 [script.err] [error] Script Error in myth/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 380, column 1 The character record is set as faction heir but is not in the family tree.
20:35:55.484 [script.err] [error] Script Error in myth/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 380, column 1 The character record Cerzula is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
20:35:55.484 [script.err] [error] Script Error in myth/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 380, column 1 The child character record Grim has no father and will be ommited from the game. THey need to be defined as a relative

alpaca
04-05-2007, 12:39
You have to alter this stuff:

relative Amaron, Cerzula, Diexony, Grim, end

uanime5
04-05-2007, 18:38
To what, it already contains the names of everyone in this faction's family. Also I created this line based on an existing faction.

alpaca
04-06-2007, 00:27
Oh just noticed something: Are the names legit? You have to add them to descr_names and text/names

Carl
04-11-2007, 22:31
Does anyone know what the standard format for this section of text is;


relative Amaron, Cerzula, Diexony, Grim, end


I've managed to add characters to existing family trees already, but it's been very trial and error and i still havn't got a real handle on the layout beyond the parent having to come before the kids.

alpaca
04-11-2007, 22:33
Does anyone know what the standard format for this section of text is;


relative Amaron, Cerzula, Diexony, Grim, end


I've managed to add characters to existing family trees already, but it's been very trial and error and i still havn't got a real handle on the layout beyond the parent having to come before the kids.
Husband, Wife, childs sorted by age - iirc

Carl
04-11-2007, 22:35
Thanks, I did try sorting them by age but it didn't want to have at one point and threw up errors so i figured it was something like by age with extra conditions on top.

Anyway, thanks for the quick answer.

alpaca
04-12-2007, 21:23
You could also have to sort them by gender, I don't really remember.