Results 1 to 22 of 22

Thread: Character Age, Detecting Settlement Captures

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Question Character Age, Detecting Settlement Captures

    I've been experimenting with a couple of things lately but haven't had much success getting them to work. I wonder if anyone has any ideas:

    Character Age
    ===========
    I'd like to be able to assign a trait to a character when he reaches a certain age. The problem is that I don't see any way of determining how old he is. I can imagine keeping track of age with an age trait, but this will only work for characters who enter the game at age 16. Adoptees and sons-in-law can enter the game at just about any age from 16 on up.

    Settlement Capture
    ===============
    I'd like to have a background script do something to any settlement that changes ownership. The problem here is determining when a settlement changes hands. There are events which are sometimes triggered when this happens: sacking, enslavement, extermination. But (I think) some of these require a character to be present and not all of them export the settlement name. In addition none of those events apply to a simple capture and occupation. Anyone have an idea as to how this might be done?
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



  2. #2

    Default Re: Character Age, Detecting Settlement Captures

    I tried to get an age myself once for a roman career thing but could never see how to do it. Character records are passed to a lot of triggers and age must be one of the attributes a general has but i never managed to get the syntax for it (if it is possible at all).

    I don't know much about scripting but i'd suggest d/ling some mods with scripts and seeing what they've done.
    It's not a map.

  3. #3
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Character Age, Detecting Settlement Captures

    I had no luck trying to figure out the age of generals, myself, unless they passed through the CharacterComesOfAge event. If anybody's had any luck, let me know.

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

  4. #4

    Default Re: Character Age, Detecting Settlement Captures

    Someone on a thread somewhere mentioned they saw a CharacterName being referenced in a CA thing. I can't recall if it was a script or a trait/advice/ancillary trigger. It made me think CharacterAge might be the attribute to check for but i think i tried this way back before i gave up. I didn't really know what i was doing though. So many of the triggers seem to get passed a character record you'd think it would be in there somewhere as an attribute or something.
    It's not a map.

  5. #5
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Post Re: Character Age, Detecting Settlement Captures

    I appreciate your responses guys, and thought I ought to get back to you.

    Quote Originally Posted by nikolai1962
    I tried to get an age myself once for a roman career thing but could never see how to do it.
    Yes, exactly what I had in mind. Did you find another way to go about it?

    Quote Originally Posted by nikolai1962
    It made me think CharacterAge might be the attribute to check
    I fiddled around with this suggestion of yours but had no luck; thanks though.

    Quote Originally Posted by malrubius
    I had no luck trying to figure out the age of generals, myself, unless they passed through the CharacterComesOfAge event. If anybody's had any luck, let me know.
    I'll do that if I figure something out, but that's not looking very likely right now. I second your .

    I did make some progress on the settlement capture issue, though I don't know if it's of interest to you. It turns out that the GeneralCaptureSettlement event fires even if the stack that captures the settlement is commanded by a captain. So it appears that every time a settlement changes hands there should be a GeneralCaptureSettlement or CityRebels event.
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



  6. #6

    Default

    If it existed then it should be documented in the docudemon files - but I've been through them pretty thoroughly and there's no mention of it.
    Last edited by Epistolary Richard; 05-16-2006 at 20:12.

  7. #7
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Post Re: Character Age, Detecting Settlement Captures

    Quote Originally Posted by RTW Modding Forum
    If it existed then it should be documented in the docudemon files - but I've been through them pretty thoroughly and there's no mention of it.
    You are correct RTWMF. I have been through the docudemon files many times also and haven't found what I'm looking for. But, having perpetrated a few of them myself (intentionally and otherwise), I know that there are always backdoors, hacks, and undocumented features.
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



  8. #8

    Default Re: Character Age, Detecting Settlement Captures

    Originally Posted by nikolai1962
    I tried to get an age myself once for a roman career thing but could never see how to do it.
    Yes, exactly what I had in mind. Did you find another way to go about it?
    No i gave up as it was too annoying having 60 year old adoptees with "this man has just started out on the cursus honorarum" trait :)

    Other people have done more. I think the TFT mod has a very detailed system and i think EB does too. Have a look through their code maybe?
    It's not a map.

  9. #9
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: Character Age, Detecting Settlement Captures

    Quote Originally Posted by nikolai1962
    No i gave up as it was too annoying having 60 year old adoptees with "this man has just started out on the cursus honorarum" trait :)

    Other people have done more. I think the TFT mod has a very detailed system...
    Our (TFT that is) system does not capture age for adoptees - rank is determined for adoptees based on the traits of the adoptive father. So your 60 year old adoptee would gain a social class equivalent to his father.

  10. #10
    Member Member Avicenna's Avatar
    Join Date
    Feb 2006
    Location
    Terra, Solar System, Orion Arm, Milky Way, Local Group, Virgo Supercluster, somewhere in this universe.
    Posts
    2,746

    Default Re: Character Age, Detecting Settlement Captures

    There should be a way of determining the age though, since the portraits can tell the age: they automatically get older when the character turns 50. If you could that trigger it might be able to do what you want.
    Student by day, bacon-eating narwhal by night (specifically midnight)

  11. #11

    Default Re: Character Age, Detecting Settlement Captures

    Quote Originally Posted by Stuie
    Our (TFT that is) system does not capture age for adoptees - rank is determined for adoptees based on the traits of the adoptive father. So your 60 year old adoptee would gain a social class equivalent to his father.
    Clever.

    There should be a way of determining the age though
    Yes, there should :)
    It's not a map.

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