Page 7 of 9 FirstFirst 123456789 LastLast
Results 121 to 140 of 163

Thread: ATVTW - Trait/Ancillary Validator

  1. #121
    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

    If you're talking about the error messages that the program generates the {} are just to highlight what the problem is and are not actually in the file in question.
    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

  2. #122

    Default Re: ATVTW - Trait/Ancillary Validator

    ...Very useful...
    ...I checked my ancillaries, as suggested, the only errors were Vanilla...????...
    ...academic advisor TaxCollection line 312...(copy n' paste into Excel)...go to line 312...there it was...
    ...so I just deleted the line? (I assume that's right even though it's vanilla?)
    ...Then the next two were hilarious, Catamite and Choirboy "Do not work in both directions" - I howled!
    ...anyhow, I just deleted those lines too?...and traits just brought up Vanilla Relics not valid type yadiyada...
    ...to cut a long story short, very handy to use, glad you mentioned it!

  3. #123
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: ATVTW - Trait/Ancillary Validator

    I have seen Catamite received.

  4. #124

    Default Re: ATVTW - Trait/Ancillary Validator

    ...@ irishron...ok...I have put that 1 line back...and I now realise the taxCollection just needed a + "5" to match the ancillary.txt definition, so I put that back too...Thanks...

  5. #125
    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

    Umm no it didn't, +1 tax = 5% increase in tax revenue. Not all attributes are 1 to 1 relationships. As for the "doesn't work in both directions" that means that A excludes B, but B doesn't exclude A, nothing more.
    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

  6. #126

    Default Re: ATVTW - Trait/Ancillary Validator

    ...I'll change the tax, thanks....for the second bit.....I know

  7. #127
    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

    By the way don't ever, ever, ever, ever, ever, and I really mean ever, use Word to do any sort of modding, it breaks everything if you use it. Use notepad, or better yet notepad++, search for it and download it, to edit game files. There's no feature of word you'd want to use for modding that notepad++ doesn't have and even notepad or wordpad can go to a specific line. In fact I've word go to the wrong line before because of how it deals with files.
    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

  8. #128
    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.3

    Changes/Fixes from v2.2.2:

    • Updated reading of enums (from data/text) to differentiate between and empty enum and one with just whitespace (the former causes a crash the later does not)
    • Level and Ancillary classes will report empty enums as an error now
    • Script reader not always correctly identifying the end of the file
    • AdviceItems not recognizing optional PauseBattle lines
    • AdviceThreads and Advice Triggers not generating any parse errors
    • Advice Triggers not recognizing multiple AdviceThread lines and not advancing to the next trigger
    • AdviceThreads not recognizing FactionsAndCultures lines (M2TW)
    • Editing a setting not displaying the correct game engine setting

    Go to the first post to get the new version.
    Last edited by Squid; August 10, 2011 at 04:11 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

  9. #129
    Gigantus's Avatar I am thinking more about running away now then I did as a kid, but by the time I put my teeth in, my glasses on and find my car keys I forget why I am going.
    Moderator Emeritus Administrator Emeritus Modding Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    49,150
    Blog Entries
    26

    Default Re: ATVTW - Trait/Ancillary Validator

    You have been a busy beaver, thanks.




  10. #130

    Default Re: ATVTW - Trait/Ancillary Validator

    ...Can someone quickly explain the theory of "Orphaned Traits" please?...
    ...I figured out the Orphaned Ancillaries (like vanilla Apothecary was Alchemist, whichever way round it was..Taticius trigger was another) and fixed those, but Rozanov #22 says the traits "they are without triggers and don't effect game"...
    ...FearsScotland (etc) is listed as one, yet their is a trigger for it?
    ...I don't understand how to interpret...Is it saying these trait Orphans are not working ingame and you need to make a new trigger/or check spelling etc if you want to include them?
    ...usually i can reverse engineer if i find an example and figure it out for myself but I'm not sure what i am looking for here...
    Last edited by Voice of Treason; August 10, 2011 at 11:14 AM.

  11. #131
    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

    An orphaned trait/ancillary is a trait/ancillary that is not assigned by triggers in EDCT/EDA. For example if you have an orphaned trait A that means there is no trigger in EDCT or EDA that has a line Affects A chance X points Y.

    What that means is that without scripting those traits/ancillaries will never appear on a character. They may be coded correctly but no one will ever achieve them.

    EDIT: Can you please post normally in sentences and paragraphs as all those periods at the start/end of a line are irritating and make people, or at least me, less likely to both read and respond to your posts.
    Last edited by Squid; August 10, 2011 at 05:55 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

  12. #132

    Default Re: ATVTW - Trait/Ancillary Validator

    ...For the first bit, most gracious of you to reply, and Genuinely thankyou...
    Last edited by Squid; August 10, 2011 at 05:56 PM.

  13. #133
    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.4

    Changes/Fixes from v2.2.4:

    • Fixed Characters line in a Trait not being required
    • Fixed ATVTW hanging if an enum file had a line with a { with no matching }
    • Added errors being reported for parsing errors in enum files (such as { with no })

    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

  14. #134
    Minas Moth's Avatar Senator
    Join Date
    Feb 2011
    Location
    Croatia
    Posts
    1,338

    Default Re: ATVTW - Trait/Ancillary Validator

    hey squid...

    i've been using your validator (lovin it btw), and at this lines:
    Spoiler Alert, click show to read: 
    Code:
    Trait counselors1
        Characters family
        NoGoingBackLevel mw1 should be NoGoingBackLevel 1:doh:
        AntiTraits counselors2
    
        Level mw1
            Description mw1_desc
            EffectsDescription no_effect
            GainMessage mw1_dain_desc
            Threshold 1
    
        Level cns
            Description cns_desc
            EffectsDescription cns_effects_desc
            GainMessage cns_gain_desc
            Threshold 4
    
            Effect TroopMorale 1
            Effect LocalPopularity 1
    
        Level tcn
            Description tcn_desc
            EffectsDescription tcn_effects_desc
            GainMessage tcn_gain_desc
            Threshold 7
    
            Effect TroopMorale 2
            Effect LocalPopularity 3
            Effect Farming 1
    
    ;------------------------------------------
    Trait counselors2
        Characters family
        NoGoingBackLevel mw2 should be NoGoingBackLevel 1:doh:
        AntiTraits counselors1
    
        Level mw2
            Description mw2_desc
            EffectsDescription no_effect
            GainMessage mw2_gain_desc
            Threshold 1
    
        Level liar
            Description liar_desc
            EffectsDescription liar_effects_desc
            GainMessage liar_gain_desc
            Threshold 4
    
            Effect TroopMorale -1
            Effect LocalPopularity -2
    
        Level lts
            Description lts_desc
            EffectsDescription lts_effects_desc
            GainMessage lts_effects_desc
            Threshold 7
    
            Effect TroopMorale -2
            Effect LocalPopularity -4
    it says the following:
    Error
    Line 512 - Error: Expected an integer value, found: mw1

    Line 543 - Error: Expected an integer value, found: mw2


    i've coded them following alpaca's tutorial where he says the following:
    directions

    Spoiler Alert, click show to read: 
    The other settings are:

    ExcludeCultures
    Well this does what it says on the box. If you specify one or more cultures here, characters of that culture won't be able to get this trait.
    You can the culture list in descr_cultures.txt and the factions assoctiated to them in descr_sm_factions.txt

    NoGoingBackLevel
    This can be a very useful keyword. Basically, after the character has reached a certain level in a trait (see below), he won't be able to revert below that level again (although above it, the system works normally)

    Hidden
    If you give a trait this keyword, it won't show up in the character details scroll. This can be very useful for triggering traits on prerequisite traits, for example.

    As I mentioned before, be careful to apply these settings in the following order (having some missing in between is no problem though):
    ExcludeCultures
    NoGoingBackLevel
    Hidden
    AntiTraits ToDo: confirm this



    so can you explain what i'm doing wrong?

    thnx

    never mind, i found the mistake... but i'll leave the post unless you want me to delete it... answer in the code section...
    Last edited by Minas Moth; February 16, 2012 at 12:25 PM.

  15. #135
    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:42 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

  16. #136
    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

  17. #137

    Default Re: ATVTW - Trait/Ancillary Validator

    I just got a new windows update and the tool has stopped working properly

  18. #138
    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

    Unless you uninstalled the .Net Framework there's no reason the program should have stopped working. What error are you getting?
    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. #139
    Gigantus's Avatar I am thinking more about running away now then I did as a kid, but by the time I put my teeth in, my glasses on and find my car keys I forget why I am going.
    Moderator Emeritus Administrator Emeritus Modding Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    49,150
    Blog Entries
    26

    Default Re: ATVTW - Trait/Ancillary Validator

    I posted in the RTW thread about the settlement name problem (not acknowledging internal names - only external ones), any news on that?




  20. #140

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Squid View Post
    Unless you uninstalled the .Net Framework there's no reason the program should have stopped working. What error are you getting?
    The problem seems to have disappeared. The tool gave an error saying:

    unhandled exception has occured in your application. If you click contiue, the application will ignore this error.

    I thought it was caused by windows update of .Net Framework. It think it was due to the fact that i removed all the triggers from the EDA.

    BTW i also get an error message for internal regionnames like Gigantus.

    About the regionid problem

    It gives an error for this trait saying region 191 is not a valid id or name, is this a false error?
    removing 191, from the trigger gives the same message for 189 and then 187. It seems to count uneven numbers as invalid.
    ;------------------------------------------
    Trigger SummerToWinter
    WhenToTest CharacterTurnEnd

    Condition not AgentType = admiral
    and Trait CampaignSeason = 1
    and I_EventCounter summer_winter == 2
    and not IsRegionOneOf 0, 96, 112, 113, 116, 117, 120, 124, 126, 131, 136, 137, 138, 145, 147, 148, 152, 154, 155, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 189, 190, 191

    Affects CampaignSeason 1 Chance 100
    Last edited by Engel; April 12, 2012 at 04:23 PM.

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
  •