Results 1 to 5 of 5

Thread: help creating new traits

  1. #1
    Member Member kingwill's Avatar
    Join Date
    Jan 2005
    Location
    England
    Posts
    43

    Default help creating new traits

    i have tied creating a new trait however te game crashes before loading and im not sure why

    export_descr_character_traits

    ;------------------------------------------
    Trait khalifah
    Characters family
    Level sucessor
    Description sucessor_desc
    EffectsDescription sucessor_effects_desc
    Threshold 2
    Effect Command 3

    ;------------------------------------------
    ;------------------------------------------
    Trigger dads_khalifah
    WhenToTest CharacterComesOfAge
    Condition FatherTrait khalifah >= 1
    Affects khalifah 1 Chance 100
    ;------------------------------------------
    export_descr_VnVs_enums

    sucessor
    sucessor_desc
    sucessor_effects_desc
    export_VnVs

    ¬--------------------
    {sucessor} Khalifah

    {sucessor_desc}
    This man is descended from the prophet himself and some of muhammed's greatness flows through his veins.
    ¬--------------------
    {sucessor_effects_desc}
    Great leader
    have i missed anything out, it all looks exactly the same as any of the other traits.
    Apprehension and terror are weak bonds of affection; once break them, and, where fear ends, hatred will begin.

  2. #2

    Default Re: help creating new traits

    First “successor” is the correct word. The only thing I can think of, that might not be a problem anyway, is that other “Affects” begin with capital letter ie “Khalifa”.

  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: help creating new traits

    One thing: nobody will ever get the trait. You need to change the threshold to 1. Usually, traits are capitalized, but I don't know if this would matter. Did you change descr_strat.txt? Make sure you have a blank line at the end of export_VnVs.txt, I think I've seen some crashes when that's not done. Your trigger's "Affects" line won't crash the game until the trigger is triggered (I've done this one many times). A CTD right at the start leads me to think there's a problem with parsing one of the files. export_VnVs.txt and export_ancillaries are picky about comments where it expects text, etc. They should also be unicode files, not ascii text, when you save them.

    I'd recommend checking out these threads:

    Traits and Ancillaries Validator
    https://forums.totalwar.org/vb/showthread.php?t=55732

    How to mod your traits/VnV
    https://forums.totalwar.org/vb/showthread.php?t=38481

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

  4. #4
    Member Member kingwill's Avatar
    Join Date
    Jan 2005
    Location
    England
    Posts
    43

    Default Re: help creating new traits

    thanks very much. I dont want anyone to be able to get it randomly i only want it to be inheritied from the father.
    Apprehension and terror are weak bonds of affection; once break them, and, where fear ends, hatred will begin.

  5. #5
    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: help creating new traits

    How does the father get it? If you changed descr_strat, that might be where your problem is

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

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