Results 1 to 7 of 7

Thread: export_descr_character_traits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Senior Member Jambo's Avatar
    Join Date
    Jul 2002
    Location
    Athens of the North, Scotland
    Posts
    712

    Default export_descr_character_traits

    HI, I've been investigating into the triggering aspect of character traits in the export_descr_character_traits text file, and I was wondering if anyone can help me out with understanding some of the logic here.

    For example:

    Trigger withdraws
    WhenToTest PreBattleWithdrawal


    Affects IndecisiveAttacker 1 Chance 100

    ;------------------------------------------
    Trigger reinherited
    WhenToTest BecomesFactionHeir

    Condition Trait Exheir = 1

    Affects Factionheir 1 Chance 100

    ;------------------------------------------
    Trigger disinherited
    WhenToTest CeasedFactionHeir

    Condition not Trait Exheir = 1
    and not IsFactionLeader

    Affects Exheir 2 Chance 100


    Does anyone understand what the Affects Factionheir 1 Chance 100 means?

    Could it be that it triggers the Faction heir trait 1 Chance in 100 (1%) or does it mean Chance is 100 (100%)?

    Anyone any ideas in helping to unravel these triggers for the traits?

    Cheers

    J
    =MizuDoc Otomo=

  2. #2
    Senior Member Senior Member Jambo's Avatar
    Join Date
    Jul 2002
    Location
    Athens of the North, Scotland
    Posts
    712

    Default Re: export_descr_character_traits

    OK, I think I've made some progress here.

    Basically, each V n V appears to have a threshold value, which corresponds to the value that needs to be reached before the V or V becomes activated. I think that the value before 'Chance' is the value that gets added towards the threshold. Once the threshold is reached, hey presto, the trait is awarded. You'll notice that the threshold increases as the level of the trait increases.

    This to me makes the most sense.

    In the export_descr_character_traits.txt file, it has a list of traits for various character types. These include 'family', 'spy', 'assassin' and 'diplomat'.

    Now, if someone could find out whether it is possible to include 'captain' as a character type in this character_traits.txt file, then captains could be awarded certain applicable traits such as Good Commander, etc. This might go some way to helping the AI in field battles, as they regularly use captains more than family members...

    Regards
    =MizuDoc Otomo=

  3. #3
    Squirrel Watcher Member Sinner's Avatar
    Join Date
    Aug 2004
    Posts
    390

    Default Re: export_descr_character_traits

    Instead of captain, try general which is how non-family army commanders are referred to in the campaign start file.

  4. #4
    Senior Member Senior Member Jambo's Avatar
    Join Date
    Jul 2002
    Location
    Athens of the North, Scotland
    Posts
    712

    Default Re: export_descr_character_traits

    Hey Sinner,

    Thanks for the input, in the file you mention it seems to have a family members listed as 'named character' and an army captain as 'general'. I will try both and hopefully one will work, otherwise back to the drawing board.

    Cheers
    =MizuDoc Otomo=

  5. #5
    Member Member fastspawn's Avatar
    Join Date
    Nov 2002
    Location
    in front of computer
    Posts
    56

    Default Re: export_descr_character_traits

    i kinda figured out how it works but i posted in colosseum, if you are interested you can check it out.

  6. #6
    Member Member Hagen's Avatar
    Join Date
    Oct 2004
    Location
    Germany
    Posts
    5

    Default Re: export_descr_character_traits

    hi,
    any idea how to add an new charakter? and is it possible to choose his picture?

    thanks in advance!

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