Page 2 of 2 FirstFirst 12
Results 21 to 40 of 44

Thread: Traits, Triggers&Monitors

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Traits, Triggers&Monitors

    Thank you. I want to know trait value's limit. Where i can find for that infomation

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Traits, Triggers&Monitors

    Difficult to summarize as most represent percentages in steps of 10, while others are 'open ended' until they hit some hard coded limit.










  3. #3

    Default Re: Traits, Triggers&Monitors

    I believe I may have encountered a hard coded limit for the size of the export_vnvs file or the number of allowable traits. The mod I am working on has many traits and ancillaries. I had just added many traits with no issues. but when I try to finish the description the game crashes. When I remove a few words from the text, the game starts normally. I can add no effects_descr, because once again the game will crash after selecting a faction. Another reason I am thinking that a hardcoded limit of some kind has been reached is because I am getting the same error code that I had just yesterday when I had added one building too many. Error code below:
    Code:
    Files\Sega\Medieval II Total War)
    02:36:48.631 [script.err] [error] Script Error in mods/Third_Age_3_RK/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 5964, column 12
    You have chosen an invalid tile(383, 337) for the settlement of Forodwaith.
    It will mean not being able to reach this settlement and is a bug. (This is not a bug or error, this settlement is where Sauron lives in seclusion)
    For now we'll ignore it.
    02:36:48.675 [bink] [debug] [data/fmv/menu/DUMP0000.BIK]Pause on
    02:36:48.985 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    Here is the unfinished portion of the export_vnvs file
    Spoiler Alert, click show to read: 
    Code:
    ¬---------------------
    {Lorien_Elmo}Noss-en-Elmo
    {Lorien_Elmo_desc}  This elf is a member of the House of Elmo.  The younger brother of Elwë (Elu Thingol) and Olwë of the Teleri. When Olwë and his followers departed into the West, Elmo remained behind with those searching for his elder brother. Elwë finally returned to his people with Melian the Maia, and Elmo afterwards remained with him in his dwelling of Menegroth in Doriath.\n\n  Elmo's main contribution to history was due to his son Galadhon, through whom he was the grandfather of Celeborn (who would later wed Galadriel and rule in Lórien). He was also the great-grandfather of Nimloth, and through her an ancestor of Elrond.\n\n  Elmo's fate remains unknown, but it seems that he perished in the Ruin of Doriath at the hands of the Sons of Fëanor. At least, we're explicitly told that his grandson Celeborn escaped that catastrophe, which seems to imply that the other members\n
    {Lorien_Elmo_effects_desc}Authority +1\nFarming Output +1\nMovement Points +5% (gives armies the ability to forced march)\nBonus of 10% on Trade Income
    ¬---------------------
    {Lorien_Feanor}Noss-en-Fëanor
    {Lorien_Feanor_desc}
    {Lorien_Feanor_effects_desc}
    ¬---------------------
    {Lorien_Olwe}Noss-en-Olwë
    {Lorien_Olwe_desc}
    {Lorien_Olwe_effects_desc}
    ¬---------------------
    {Lorien_Amdir}Noss-en-Amdír
    {Lorien_Amdir_desc}
    {Lorien_Amdir_effects_desc}
    I was not able to finish the description and had to remove the effects description in order to get the game to start.

    I will post a copy of the export_descr_character_traits with the descriptions completed as desired, also the export_vnvs and descr_strat files if anyone would like to take a look at this. Hopefully it is an error somewhere on my part. Thanks for any assistance that may be given.

    EDIT: I have removed 12 unused entries from the export_Vnvs file as well as removed 600 or so spaces between entries. I deleted the map.rwm file and all the bin.strings files and started the game. It ran fine for several turns. (See screenshots). I checked the error logs. no errors were present. I restarted the game and it crashed on selecting a faction. Here is the error log:
    Code:
    War)
    03:52:33.751 [system.io] [info] exists:   found mods/Third_Age_3_RK/data/ui/custom_portraits/Gothmog/portrait_young.tga (from: D:\Program Files\Sega\Medieval II Total War)
    03:52:33.751 [system.io] [info] exists:   found mods/Third_Age_3_RK/data/ui/custom_portraits/Gothmog/portrait_young.tga (from: D:\Program Files\Sega\Medieval II Total War)
    03:52:33.751 [system.io] [info] exists:   found mods/Third_Age_3_RK/data/ui/custom_portraits/Gothmog/portrait_young.tga (from: D:\Program Files\Sega\Medieval II Total War)
    03:52:33.772 [bink] [debug] [data/fmv/menu/DUMP0000.BIK]Pause on
    03:52:34.011 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    This is the same error I had when adding one too many buildings. Here are two screenshots as the traits appeared after deleting the bin.strings files and map.rwm files:
    Spoiler Alert, click show to read: 
    The game did not start again after this first time. I also ran the ATVTW - Trait & Ancillary Validator, and it showed no errors pertaining to the recently added traits.

    EDIT: A solution has been found by adding Withwnars "extra lines" to the the historic_events file. Here is a link to the "fix", post #27.
    Attached Files Attached Files
    Last edited by MIKE GOLF; August 29, 2014 at 11:51 AM.

  4. #4
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Traits, Triggers&Monitors

    Check this out Mike. It sounds like the same problem, though for me the crash happened upon clicking the start campaign button not a faction selection button.

    http://www.twcenter.net/forums/showt...trings-bin-CTD

    the game will crash after selecting a faction
    Or by that do mean clicking the start campaign button after selecting a faction?

  5. #5

    Default Re: Traits, Triggers&Monitors

    Yes clicking the start button after selecting the faction then ctd.

  6. #6

    Default Re: Traits, Triggers&Monitors

    Sigh, this all seem a lot more complicated than I hoped; but I will test and see shortly whether I can implement it in the game.

  7. #7
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Traits, Triggers&Monitors

    Help is but a post away.










  8. #8

    Default Re: Traits, Triggers&Monitors

    Quote Originally Posted by Gigantus View Post
    Help is but a post away.
    Indeed - this site, and you in particular, have been amazing. I am so thankful!

  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Traits, Triggers&Monitors

    You are welcome, do make use of the workshop forums to post any questions that are not covered\you can't find in the tutorial section.










  10. #10

    Default Re: Traits, Triggers&Monitors

    How important is formatting for the export_descr_character_traits.txt file? For example below, there are 2 hard spaces between 'Threshold' and '1' but I don't see consistency within the file (from Call of Warhammer: Beginning of The End Times)


    Edit: The stupid post won't let me add 2 hard spaces between Threshold and 1 but I see that there are tons of inconsistencies within the file in terms of spacing between Effects and Numbers.

    Spoiler Alert, click show to read: 

    ;------------------------------------------Trait Snikch
    Characters family
    AntiTraits Factionleader, Factionheir


    Level Snikch
    Description Snikch_desc
    EffectsDescription Snikch_effects_desc
    GainMessage none_desc
    LoseMessage none_desc
    Threshold 1


    Effect Ambush 10
    Effect HitPoints 6
    Effect Chivalry -10
    Effect Authority 5
    Effect PersonalSecurity 10



    ;------------------------------------------
    Last edited by Ajpav; March 18, 2019 at 11:51 PM.

  11. #11
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: Traits, Triggers&Monitors

    Afaik the number of TABs (guess that's what you meant) does not have any adverse effect. Different story if there is supposed to be a TAB and you use SPACE.

    And to display spacing\tabbing you need to wrap the text into CODE tags instead of the spoiler:
    Code:
    Two TABs        then threee SPACEs   and back to normal.
    NB - when copying from a code snippet here TAB entries will be copied as multiple SPACE, see above comment about SPACE instead of TAB.
    Last edited by Gigantus; March 19, 2019 at 01:12 AM.










Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •