Results 1 to 18 of 18

Thread: Character Ages

  1. #1
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Default Character Ages

    Does anyone know how to change the age at which someone is allowed to marry? also, does someone know how to change the age at which a family member comes of age?
    Dulce bellum inexpertis---Desiderius Erasmus

  2. #2
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Character Ages

    Should be found in the campaign_db.xml

  3. #3
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Character Ages

    Characters can marry when they are of age. Can't delay it further than that except in game by rejecting offers.

    As for the second question, what alpaca said.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  4. #4
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Default Re: Character Ages

    so then its hard-coded that family members cant, say, marry before they come of age?
    Dulce bellum inexpertis---Desiderius Erasmus

  5. #5
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Question Re: Character Ages

    so i tried editing the campaign_db.xml, i changed the age_of_manhood_uint and the age_of_consent_uint, but then when i played the game, there wasnt a difference, everything was the same. is there something else i need to change? also, does anyone know what the max_age_of_manhood_close_uint does? couldnt figure that one out...
    Dulce bellum inexpertis---Desiderius Erasmus

  6. #6
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Character Ages

    age_of_manhood is when you get a male character coming of age. age_of_consent is when your daughters come of age.

    manhood_close is likely a variable having some impact on births, i.e. how many active generals you will soon be having.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  7. #7
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Default Re: Character Ages

    ok so it sounds like i edited the right variables then, no? any ideas on why it didnt work and the age stayed the same?
    Dulce bellum inexpertis---Desiderius Erasmus

  8. #8
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Character Ages

    You need to activate changes using io.file_first or bat file.

    But you can trust us....its hardcoded and can't be done...
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  9. #9
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Unhappy Re: Character Ages

    wait, if its hard-coded and cant be done, then y didnt u say that initially? and more importantly, if its hard coded y did they put the variable in the campaign_db.xml file, does that variable not do nething?
    Dulce bellum inexpertis---Desiderius Erasmus

  10. #10
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Character Ages

    Figured you knew since you said it yourself

    The variables are there to modify when your characters come of age and die and their spawning. Can't change when they marry.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  11. #11
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Default Re: Character Ages

    o! so yea, i when i said it didnt work, i was talking about the age of adulthood. i had pretty low hopes for the marriage thing. but i was hoping to get the age_of_mahood and age_of_consent things working tho. any idea y it didnt?
    Dulce bellum inexpertis---Desiderius Erasmus

  12. #12
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Character Ages

    As I said, you need to activate them using io.file_first or a batch script.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  13. #13
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Default Re: Character Ages

    but i did
    Dulce bellum inexpertis---Desiderius Erasmus

  14. #14
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Character Ages

    What numbers did you set them to? They need to be somewhat in line with the other numbers.

    Say you set age_of_manhood to 14. This means all your sons should come of age when they hit 14 rather than 16.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  15. #15
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Default Re: Character Ages

    that is in fact what i tried to set it 2. i set them both to 14, but they still didnt "grow up" until 16...
    Dulce bellum inexpertis---Desiderius Erasmus

  16. #16
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Character Ages

    That means that your io.file_first is not working.

    Fastest way would be to edit your medieval2.preferences.cfg by adding this to the top:

    [io]
    file_first = true

    Then save and mark read-only.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  17. #17
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Thumbs up Re: Character Ages

    alright, thanx, ill give it a try ill let u kno how it works out.
    Dulce bellum inexpertis---Desiderius Erasmus

  18. #18
    Member Member Shautora's Avatar
    Join Date
    Sep 2007
    Location
    Bay Area, CA, USA
    Posts
    29

    Exclamation Re: Character Ages

    ok, so i figured it out. i didnt realize you had to KEEP launching from the batch file every time... sorry about that, i feel silly
    Dulce bellum inexpertis---Desiderius Erasmus

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO