Results 1 to 6 of 6

Thread: Help! I can't see new traits... :(

  1. #1

    Unhappy Help! I can't see new traits... :(

    Hi, I tried to add a new trait and I followed this tutorial forums.totalwar.org/vb/showthread.php?t=77176
    The trait works (it adds charm to the princess), but I can't see its description text in the character window!

    That's what I've done:

    File export_descr_character_traits.txt
    Trait
    ;------------------------------------------
    Trait BeautifulVoice
    Characters princess

    Level Pleasant
    Description Pleasant_desc
    EffectsDescription Pleasant_effects_desc
    Threshold 1

    Effect Charm 1

    Level Charming
    Description Charming_desc
    EffectsDescription Charming_effects_desc
    Threshold 2

    Effect Charm 2

    Level Heavenly Voice
    Description Heavenly_desc
    EffectsDescription Heavenly_effects_desc
    Threshold 3

    Effect Charm 3

    And trigger...
    ;------------------------------------------
    Trigger princess_voice
    WhenToTest CharacterComesOfAge

    Condition AgentType = princess

    Affects BeautifulVoice 1 Chance 10
    Affects BeautifulVoice 1 Chance 5
    Affects BeautifulVoice 1 Chance 2

    File export_VnVs.txt
    ¬--------------------

    {Pleasant} Pleasant Voice

    {Pleasant_desc}
    This woman has a Pleasant Voice

    {Pleasant_effects_desc}
    +1 Charm

    ¬--------------------

    {Charming} Charming Voice

    {Charming_desc}
    This woman has a Charming Voice

    {Charming_effects_desc}
    +2 Charm

    ¬--------------------

    {Heavenly} Heavenly Voice

    {Heavenly_desc}
    This woman has a Heavenly Voice

    {Heavenly_effects_desc}
    +3 Charm


    File export_descr_vnvs_enums.txt
    Pleasant Voice
    Pleasant Voice_desc
    Pleasant Voice_effects_desc
    Charming Voice
    Charming Voice_desc
    Charming Voice_effects_desc
    Heavenly Voice
    Heavenly Voice_desc
    Heavenly Voice_effects_desc
    Heavenly Voice_gain_desc
    Heavenly Voice_epithet_desc



    In the system.log.txt I found this errors
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 12, column 11
    Could'n find level name description string for trait(BeautifulVoice) level(Pleasant).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 13, column 22
    Could'n find description string for trait(BeautifulVoice) level(Pleasant_desc).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 14, column 29
    Could'n find effect description string for trait(BeautifulVoice) level(Pleasant_effects_desc).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 19, column 11
    Could'n find level name description string for trait(BeautifulVoice) level(Charming).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 20, column 22
    Could'n find description string for trait(BeautifulVoice) level(Charming_desc).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 21, column 29
    Could'n find effect description string for trait(BeautifulVoice) level(Charming_effects_desc).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 26, column 11
    Could'n find level name description string for trait(BeautifulVoice) level(Heavenly).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 27, column 22
    Could'n find description string for trait(BeautifulVoice) level(Heavenly_desc).
    14:58:09.671 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 28, column 29
    Could'n find effect description string for trait(BeautifulVoice) level(Heavenly_effects_desc).


    After hours wasted... I don't know what to do...

  2. #2

    Default Re: Help! I can't see new traits... :(

    ...I also use a .bat file (medieval2.exe --io.file_first)

    Sorry for double posting...

  3. #3
    Marcus Arbaces Alexandros Member Arbaces's Avatar
    Join Date
    Sep 2005
    Location
    Călăraşi, România.
    Posts
    122

    Default Re: Help! I can't see new traits... :(

    you'll definately have to add the following in export vnvs:
    {Heavenly Voice_gain_desc} whatever you wish
    {Heavenly Voice_epithet_desc} ...
    or remove them from everywhere.

    Further to this see the rest of the traits make sure you did in the same way as it is done ...

    you're almost there... Not so sure is gonna be useful, but you definately have good ideas...

    Arbaces
    Last edited by Arbaces; 03-10-2007 at 19:17.

  4. #4

    Default Re: Help! I can't see new traits... :(

    Here's your problem:

    [quote]Level Heavenly Voice
    Description Heavenly_desc
    EffectsDescription Heavenly_effects_desc
    Threshold 3]/quote]

    The level must match the description and effects. Therefore, instead of 'Heavenly Voice' it should be 'Heavenly.' --

    Level Heavenly
    Description Heavenly_desc
    EffectsDescription Heavenly_effects_desc
    GainMessage Heavenly_gain_desc
    Epithet Heavenly_epithet_desc
    Threshold 3
    Additionally, your entries in export_descr_vnvs_enums.txt should read as such:
    [quote]Pleasant
    Pleasant_desc
    Pleasant_effects_desc
    Charming
    Charming_desc
    Charming_effects_desc
    Heavenly
    Heavenly_desc
    Heavenly_effects_desc
    Heavenly_gain_desc
    Heavenly_epithet_desc

    Make these changes and your descriptions should be visible :)
    Co-Author of Bloods, Broads and Bastards - a Traits and Ancillaries mod for M2TW

  5. #5

    Smile Re: Help! I can't see new traits... :(

    Thanks! What a silly mistake...
    now everything's working. :)

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

    Default Re: Help! I can't see new traits... :(

    By the way, you don't have to edit the enums. But they could be used (and are maybe used by CA) to check for exactly such mistakes.

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