PDA

View Full Version : Editing family members/characters?



Alheimur
01-12-2006, 07:14
:help:

I've been trying for hours to add new names and characters to the Greek faction of RTW 1.5, and it's been poopy. So I finally decided to just try to change one family member's name to an existing RTW name.. here's my descr_strat.txt:

NEW EDITED TXT:

character Patrobas of Sparta, named character, age 22, , x 106, y 44
traits GoodCommander 1 , Intelligent 1 , GoodAdministrator 2
ancillaries brilliant_inventor, playwright
army
unit greek general's guard cavalry early exp 1 armour 0 weapon_lvl 0
unit greek hoplite exp 0 armour 0 weapon_lvl 0
unit greek hoplite militia exp 0 armour 0 weapon_lvl 0
unit greek hoplite militia exp 0 armour 0 weapon_lvl 0
unit greek archer exp 0 armour 0 weapon_lvl 0
unit greek peltast exp 0 armour 0 weapon_lvl 0
unit greek hoplite exp 0 armour 0 weapon_lvl 0

...

relative Kleomenes of Sparta, Clymene, Patrobas of Sparta, Antigonos of Sparta, Eumenes of Sparta, Memnon of Sparta, end
relative Dionysios of Sparta, Harmonia, Cleon of Sparta, Hermine of Sparta, end
relative Antigonos of Sparta, Eunice, Doros of Sparta, Nicanor of Sparta, end
relative Eumenes of Sparta, Kyra, Eugenius of Sparta, end


ORIGINAL TXT:

character Dionysios of Sparta, named character, age 34, , x 106, y 44
traits GoodCommander 1 , Intelligent 1 , GoodAdministrator 2
ancillaries brilliant_inventor, playwright
army
unit greek general's guard cavalry early exp 1 armour 0 weapon_lvl 0
unit greek hoplite exp 0 armour 0 weapon_lvl 0
unit greek hoplite militia exp 0 armour 0 weapon_lvl 0
unit greek hoplite militia exp 0 armour 0 weapon_lvl 0
unit greek archer exp 0 armour 0 weapon_lvl 0
unit greek peltast exp 0 armour 0 weapon_lvl 0
unit greek hoplite exp 0 armour 0 weapon_lvl 0

...

relative Kleomenes of Sparta, Clymene, Dionysios of Sparta, Antigonos of Sparta, Eumenes of Sparta, Memnon of Sparta, end
relative Dionysios of Sparta, Harmonia, Cleon of Sparta, Hermine of Sparta, end
relative Antigonos of Sparta, Eunice, Doros of Sparta, Nicanor of Sparta, end
relative Eumenes of Sparta, Kyra, Eugenius of Sparta, end

NOTE that the change is simply the original character of Dionysios (son of Kleomenes) is changed to Patrobas.

I don't see why it isn't working, perhaps some of you veterans can see something I can't?

Thanks!

Alheimur
01-12-2006, 07:26
I changed his age from 22 to the default age, and it works now. How can one change the age correctly? And also how does one add new characters? I can't get that right yet. (sorry for double post)

Atilius
01-12-2006, 07:49
Hi neighbor,

If Dionysios (Patrobas) is 22, he became a father at age 8 (son Cleon is 14). Don't know if the game is thorough enough to check that children are at least 16 years younger than the parents. You might try making both children (Cleon and Hermine) 5 or younger, and setting Patrobas' age back to 22.

Monkwarrior
01-12-2006, 09:39
The sons must be ordered by age.
Patrobas must be older than Antigonos, this one older than Eumenes and Memnon must be the youngest.

Moreover, you didn't substitute Dionysios in the second row of relatives, to signal that it is married with Harmonia and he has one son and one daughter.

=E.T=
01-12-2006, 13:36
I'm not sure, but:

The faction leader must be +20 years old of the your heir

;)

Lentonius
01-12-2006, 18:42
Yes. for these things check and see if it would be frowned upon nowadays. if the answer is yes the chances are that the game will disagree with them as well

Malrubius
01-12-2006, 19:06
When editing descr_strat, be sure to include -show_err in your command line.

Explanation here:
http://www.twcenter.net/forums/showthread.php?t=23398

It will give you all sorts of tips, like "Joe Bob is not old enough to have a 20-year old son" (not that verbose, but you get the idea).

I've gotten the hang of this recently, and it's not too bad. Usually you can't start a campaign and when you quit the game you get an error message.

Alheimur
01-12-2006, 21:28
Thanks a lot guys, helped a bunch!

Is there a text file that has descriptions of all the RTW traits?

EDIT: Nevermind, figured it out! :D

Epistolary Richard
01-13-2006, 01:24
Good that you've figured it out. Moved to the Modding Questions forum where modding questions live.

Alheimur
01-13-2006, 18:09
Okay, I tried doing the same thing (though a little differen) to the WarMap mod for RTW 1.5. The difference is that I made my newly created family members in-laws, married to the daughters of the existing families. I deleted two sons (under 16 years of age) to make room for more daughters for my created characters to marry, is that part of the reason it CTD? Here's the code:


character Theos of Sparta, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 243, y 76
traits GoodFarmer 2, PublicFaith 1, Upright 2
ancillaries master_of_horse, trusty_steed
army
unit greek general's guard cavalry early exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3

character Davos of Actium, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 243, y 77
traits Slothful 2, GoodDiplomat 1, Sobriety 1
ancillaries cook, idiot
army
unit greek general's guard cavalry early exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3

character Iasos of Thrace, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 243, y 78
traits BloodHumour 1, GoodAdministrator 1, PoliticsSkill 1
ancillaries astrologer, intrepid_explorer
army
unit greek general's guard cavalry early exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3

character Patrobas of Aenus, named character, command 0, influence 0, management 0, subterfuge 0, age 22, , x 243, y 79
traits Arse 2, MathematicsSkill 2, Perverted 1
ancillaries dancer, catamite
army
unit greek general's guard cavalry early exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3

character Nikodemes of Nicaea, named character, command 0, influence 0, management 0, subterfuge 0, age 19, , x 184, y 79
traits Drink 1, GoodTaxman 1, Liar 1
ancillaries drinking_companion, musician
army
unit greek general's guard cavalry early exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3

character Mikkos of Attica, named character, command 0, influence 0, management 0, subterfuge 0, age 18, , x 256, y 90
traits Feck 2, GoodAmbusher 1, ExpensiveTastes 1
ancillaries barbarian_slave, slave_trader
army
unit greek general's guard cavalry early exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3
unit greek hoplite spartan exp 4 armour 3 weapon_lvl 3

...

character_record Clymene, female, command 0, influence 0, management 0, subterfuge 0, age 53, alive, never_a_leader
character_record Harmonia, female, command 0, influence 0, management 0, subterfuge 0, age 35, alive, never_a_leader
character_record Eunice, female, command 0, influence 0, management 0, subterfuge 0, age 36, alive, never_a_leader
character_record Kyra, female, command 0, influence 0, management 0, subterfuge 0, age 26, alive, never_a_leader
character_record Eugenius of Sparta, male, command 0, influence 0, management 0, subterfuge 0, age 7, alive, never_a_leader
character_record Zoe of Sparta, female, command 0, influence 0, management 0, subterfuge 0, age 20, alive, never_a_leader
character_record Megaera of Sparta, female, command 0, influence 0, management 0, subterfuge 0, age 19, alive, never_a_leader
character_record Ada of Sparta, female, command 0, influence 0, management 0, subterfuge 0, age 18, alive, never_a_leader
character_record Amathea of Sparta, female, command 0, influence 0, management 0, subterfuge 0, age 19, alive, never_a_leader
character_record Penelope of Sparta, female, command 0, influence 0, management 0, subterfuge 0, age 18, alive, never_a_leader
character_record Thelma of Sparta, female, command 0, influence 0, management 0, subterfuge 0, age 17, alive, never_a_leader

relative Kleomenes of Sparta, Clymene, Dionysios of Sparta, Antigonos of Sparta, Eumenes of Sparta, Memnon of Sparta, end
relative Dionysios of Sparta, Harmonia, Cleon of Sparta, Zoe of Sparta, Megaera of Sparta, Ada of Sparta, end
relative Antigonos of Sparta, Eunice, Amathea of Sparta, Penelope of Sparta, Thelma of Sparta, end
relative Eumenes of Sparta, Kyra, Eugenius of Sparta, end
relative Theos of Sparta, Megaera of Sparta, end
relative Davos of Actium, Zoe of Sparta, end
relative Iasos of Thrace, Ada of Sparta, end
relative Patrobas of Aenus, Amathea of Sparta, end
relative Nikodemes of Nicaea, Penelope of Sparta, end
relative Mikkos of Attica, Thelma of Sparta, end

Atilius
01-14-2006, 03:47
I was just lucky to spot this: the reason (or at least a reason) you're crashing is that Nikodemes isn't a legal greek_cities faction name - I think you meant Nikomedes.

I tried to do what you describe some time ago and failed. The show_err indicated (I don't remember the exact wording) that there could be only one male family member without a father (this would be the faction leader of course). This would rule out starting with a son-in-law. I tried this again today and got a different show_err saying it couldn't find the spouse, though she was definitely there.

I won't say this can't be done just because I haven't figured it out, but it isn't straightforward.