For the first part of this I am not trying to be historically accurate, just give you a feel for how everything works together and show you some simple mistakes to avoid.
![stainless steel mod medieval 2 family tree stainless steel mod medieval 2 family tree](http://www.twmodsquad.com/img/twc/familytree13.jpg)
STAINLESS STEEL MOD MEDIEVAL 2 FAMILY TREE HOW TO
Now we are going to add and remove characters from the game so I can show you the process, and also show you the errors that get created and how to fix them when you see them. This gives us a family tree of one person, with no relative entries, and no character record entries to worry about. To start I took the vanilla descr_strat for M2, and removed every character except William from England. If you have two characters named William it will cause problems. Relative Husband, Wife, Oldest_Child, Younger_Child, Youngest_Child, endSome things to remember:Ĭharacter names must be listed in descr_names.txt and defined in names.txt so the engine knows what to display inside the game.Ĭhildren must be listed from oldest to youngest. The Unit line is required, or the character will have no army and will not be able to be spawned.Ĭode: relative Philip, Bertrada de Montfort, Louis, Constance, Michiel, Henry, end The Traits line will not really be addressed in this tutorial, but it must be a valid trait in export_descr_character_traits.txt. The x and y entries are his location on the strat map, more on that later. if you are creating the Faction Heir, then replace the word "leader" with the word "heir". This is as basic as it gets for a Faction Leader, and has all the required information.
![stainless steel mod medieval 2 family tree stainless steel mod medieval 2 family tree](https://images.gamewatcherstatic.com/image/file/8/35/41428/0001741.jpg)
If you are creating a character that you want to appear on the strat map, then you use the "character" command. There are two ways to create a character_record, depending upon what you want to do with the character. The character_record contains the basic information about the character, such as name, age, and sex. To get a character in the game, the character needs to have a character_record. Characters may not be spawned on the same x,y location. Minimum age requirements from campaign_db.xml must be observed.Ħ. Siblings must be listed in order, from oldest to youngest.Ĥ. Twins and multiple marriages are not allowed.ģ.
![stainless steel mod medieval 2 family tree stainless steel mod medieval 2 family tree](https://i.playground.ru/p/TEo3L1oqf_67BCPuEx1B9A.jpeg)
Faction leaders relative line must be listed first.Ģ. These are the basic rules of creating a family tree, in no particular order.ġ. Coding a simple tree such as used by the vanilla game is easy, coding a monster like this took some work so I thought I would write a fairly detailed tutorial on it. This took me quite a while as coding the family tree has several requirements that I did not know when I first started. This is probably one of the most complex family trees ever put into a Total War game, with 26 characters, 11 generals and 3 branches of the family spanning 5 generations. I recently had to build a family tree out of a chart that looked like a bowl of spaghetti. Required Tools: Notepad, Alpaca's string.bin convertorĭata\world\maps\campaign\imperial_campaign: Platform and Version: M2TW/Kingdoms v1.05Ĭontent Overview: The goal here is to get a large family tree to run properly at the beginning of the game.