Page 8 of 10 FirstFirst 12345678910 LastLast
Results 141 to 160 of 182

Thread: ATVTW - Trait/Ancillary Validator

  1. #141

    Default Re: ATVTW - Trait/Ancillary Validator

    im processing the traits file, it says not defined to all three religions, yet the triggers work in game?
    Wot does not defined mean?
    RNJ Mod Fan (Shogun 2-Rome BI)

    Get it here!http://www.twcenter.net/forums/showthread.php?t=519633

  2. #142
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by BiggBudd View Post
    Many thx, great tool, but what does "error: trait pagan not defined." infact none of the religions is defined?
    That error message does not refer to religions, but to a trait named pagan, which exists in vanilla but you might have deleted but not removed from your triggers.

    EDIT: In fact that error has nothing to do with how religions can be used in RTW. You cannot give religion via a trigger. Religion can only be given as an effect of a trait or ancillary.
    Last edited by Squid; September 21, 2011 at 12:29 PM.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  3. #143

    Default Re: ATVTW - Trait/Ancillary Validator

    having jus run it again several traits seem not defined inc goodminer, goodtaxman etc.
    so its saying its found a trigger for a trait that doent exsist?
    RNJ Mod Fan (Shogun 2-Rome BI)

    Get it here!http://www.twcenter.net/forums/showthread.php?t=519633

  4. #144
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Yes that is what not defined means.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  5. #145

    Default Re: ATVTW - Trait/Ancillary Validator

    many thx for ur time squid, however the traits r there!
    ;------------------------------------------
    Trait Pagan
    Characters all
    AntiTraits Christian, Zoroastrian

    Level Pagan
    Description Pagan_desc
    EffectsDescription Pagan_effects_desc
    Threshold 1

    Religious_Belief pagan 1

    heres the results from atvtw

    Checking trigger LesserGeneralOfferedForAdoption . . .

    Error: Trait pagan is not defined.

    Error: Trait zoroastrian is not defined.

    Error: Trait christian is not defined.
    RNJ Mod Fan (Shogun 2-Rome BI)

    Get it here!http://www.twcenter.net/forums/showthread.php?t=519633

  6. #146
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by BiggBudd View Post
    many thx for ur time squid, however the traits r there!
    ;------------------------------------------
    Trait Pagan
    Characters all
    AntiTraits Christian, Zoroastrian

    Level Pagan
    Description Pagan_desc
    EffectsDescription Pagan_effects_desc
    Threshold 1

    Religious_Belief pagan 1

    heres the results from atvtw

    Checking trigger LesserGeneralOfferedForAdoption . . .

    Error: Trait pagan is not defined.

    Error: Trait zoroastrian is not defined.

    Error: Trait christian is not defined.
    See the highlighted bits.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  7. #147

    Default Re: ATVTW - Trait/Ancillary Validator

    I got eyes but cannot see!
    Sorry squid I still dont understand, why is pagan not defined?
    RNJ Mod Fan (Shogun 2-Rome BI)

    Get it here!http://www.twcenter.net/forums/showthread.php?t=519633

  8. #148
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    The case of the trait is important, you're using lower case in the trigger but uppercase in the definition, and the case must match.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  9. #149

    Default Re: ATVTW - Trait/Ancillary Validator

    Omg im blind, many thx.
    RNJ Mod Fan (Shogun 2-Rome BI)

    Get it here!http://www.twcenter.net/forums/showthread.php?t=519633

  10. #150

    Default Re: ATVTW - Trait/Ancillary Validator

    I tried your wonderfull tool but i found something that i can't figure out in the tool it says my change i made should work but i get old value's in the game i'm not good (yet) at modding and i feel so bad screwing up with just 4 lines of notepad
    I'm a quick learner but i'm still human

    if you see i make a mistake don't be afraid to tell if not directly in a pm

    Memento Mori

  11. #151
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    I'm assuming you changed export_descr_character_traits.txt but not the corresponding entries in text/export_VnVs.txt.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  12. #152

    Default Re: ATVTW - Trait/Ancillary Validator

    Just to say that I've discovered something while sorting out some scripting and traits.....for the condition "SettlementName xxxxxxxx", it is the external (show in game) name rather than the hidden name for settlements that is required. I'm not sure whether this was already known or not, but I hope this adds something. This is true for scripts, EDCT and EDA, and explains why a number of the RS2 traits, ancillaries and other things weren't working.


    Under patronage of Spirit of Rob; Patron of Century X, Pacco, Cherryfunk, Leif Erikson.

  13. #153
    Boustrophedon's Avatar Grote Smurf
    Citizen

    Join Date
    Oct 2010
    Location
    Rome, Italy
    Posts
    3,158

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by tone View Post
    Just to say that I've discovered something while sorting out some scripting and traits.....for the condition "SettlementName xxxxxxxx", it is the external (show in game) name rather than the hidden name for settlements that is required. I'm not sure whether this was already known or not, but I hope this adds something. This is true for scripts, EDCT and EDA, and explains why a number of the RS2 traits, ancillaries and other things weren't working.
    I can confirm this. I noticed it when coding for my submod in RS 2.1 because I couldn't get the traits to trigger using the internal name. Using the in-game name fixed it. No idea why the game recognizes that instead of the internal one though..

  14. #154

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Boustrophedon View Post
    I can confirm this. I noticed it when coding for my submod in RS 2.1 because I couldn't get the traits to trigger using the internal name. Using the in-game name fixed it. No idea why the game recognizes that instead of the internal one though..
    Wow... that's quite relevant news... It seems I'll have to change a bunch of lines of coding. Thanks guys for your findings


    On a further note, I want to report a little bug that's not showing when using ATVTW. In EDA, each trigger supports a maximum a 1 ancillary (different from EDCT, which supports several traits per trigger). So the error that assigning several ancillaries to one trigger will generate is that the game will never finish loading; it will get no farther than the initial loading screen.

    Hope anyone can find that useful...
    There are none so enslaved as those who falsely believe they are free

  15. #155
    jmrc's Avatar Civis
    Join Date
    Jun 2007
    Location
    Lisbon, Portugal
    Posts
    107

    Default Re: ATVTW - Trait/Ancillary Validator

    The effect Combat_V_Culture_<culture_code> in the ancillaries produces a CTD but is not captured as error by the tool. Am I using that effect incorrectly?


    "Death Smiles at Us All,all a Man Can Do Is Smile Back."
    Maximvs Decimvs Meridivs, Commander of the Armies of the North, General of the Felix Legions, Iberian Gladiator.

  16. #156
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Yes, there is not attribute Combat_V_Culture_<culture_code> there is only Combat_V_<internal_culture_name_first_letter_capitalized>.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  17. #157
    Muizer's Avatar member 3519
    Join Date
    Apr 2005
    Location
    Netherlands
    Posts
    9,419

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Mataputas View Post
    Wow... that's quite relevant news... It seems I'll have to change a bunch of lines of coding. Thanks guys for your findings

    http://www.twcenter.net/forums/showt...91#post8441291



    Anyway, it would be helpful if this was fixed in the validator.
    "Lay these words to heart, Lucilius, that you may scorn the pleasure which comes from the applause of the majority. Many men praise you; but have you any reason for being pleased with yourself, if you are a person whom the many can understand?" - Lucius Annaeus Seneca -

  18. #158
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    I've been working on a fix for that issue, and have been testing it. It's almost ready to release.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  19. #159
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.2.6

    Changes/Fixes from v2.2.4:

    • Conditions that take a variable number of paramters will now report an error if no parameters are supplied
    • Added teutonic to family_tree types for parsing descr_sm_factions.txt (M2TW)
    • Added ability to read optional disband_to_pool and can_build_siege_engine lines for parsing descr_sm_factions.txt (M2TW)
    • Fixed ancillaries/levels not listing empty names as errors/warnings
    • Fixed AdviseFinancialBuild checking an incorrect token
    • Settlement files/checking are now required, uses imperial campaign files or barbarian invasions campaign files
    • Fixed settlement checking names against internal names instead of external ones
    • Added onager/heavy onager to list of siege engine classes

    Go to the first post to get the new version.

    For those of you with keen eyes, yes this notice skips a version, that is because I released a new version on December 13th but forgot to post about it, even though it was available through the downloads section. The fixes listed above include all fixes in the 2.2.5 release.

    Note: If you're using one copy of TWLibrary.dll for ATVTW and TWScriptEditor make sure that you also grab the new version of TWScriptEditor
    Last edited by Squid; March 06, 2012 at 11:51 AM.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  20. #160
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.2.7

    Changes/Fixes from v2.2.6:

    • Fixed the program overwriting/creating a data/text/barbrian_invasion_regions_and_settlements_names.txt file

    Go to the first post to get the new version.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

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
  •