Log in

View Full Version : Family tree mechanics



FactionHeir
05-17-2007, 21:59
Hello.

Just wondering which file controls the family tree mechanics. Didn't find any obvious signs of this in any txt or xml file.
As you may have guessed, I'm after a way to modify heirs as in RTW (and also how the game chooses the next one) and I am aware many modders have tried and not found how to do this. I'm only going to hope its not in the exe :grin:

Any useful links (regarding this topic) are also appreciated. CA responses doubly so.

Lusted
05-17-2007, 22:04
You can't edit the family tree mechanics apart from the little bit of info in descr_campaign_db.xml

FactionHeir
05-17-2007, 22:09
But where are they initially controlled though? The game has to store its decisions on who to appoint as next heir somewhere, right? Similarly, the button from RTW that was removed/disabled must have been in a file I think?
Another thought I had was whether adding a specific line/bool in the xml file would allow more control over the mechanics. Afterall CA did add new lines to that file from 1.01 to 1.02. These are probably referencing exisiting or new code in a certain file.

Lusted
05-17-2007, 22:48
But where are they initially controlled though?

The hardcode.


The game has to store its decisions on who to appoint as next heir somewhere, right?

Yes, the hardcode.


Similarly, the button from RTW that was removed/disabled must have been in a file I think?

The button was on the interface, but there was no file in RTw that controlled what it did, that was in the hardcode.


Another thought I had was whether adding a specific line/bool in the xml file would allow more control over the mechanics. Afterall CA did add new lines to that file from 1.01 to 1.02. These are probably referencing exisiting or new code in a certain file.

Nope, i've tried adding lines to some of the .xml files, doesn't work.

FactionHeir
05-17-2007, 23:11
:gah2: Thanks for the info Lusted. Now I wonder whether its possible to work on the hardcode (which is in the exe I assume?)

Lusted
05-17-2007, 23:15
Yes it is in the .exe, but any modification of the .exe is illegal, so i wouldn't mod it if i were you. No major TW site would allow a mod that edited the .exe due to the illegal nature of it.