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.
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
...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!
I have seen Catamite received.
...@ 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...
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
...I'll change the tax, thanks....for the second bit.....I know
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
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 03: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
...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 10:14 AM.
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 04: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
...For the first bit, most gracious of you to reply, and Genuinely thankyou...
Last edited by Squid; August 10, 2011 at 04:56 PM.
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
hey squid...
i've been using your validator (lovin it btw), and at this lines:
Spoiler Alert, click show to read:
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 11:25 AM.
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 10: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
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
I just got a new windows update and the tool has stopped working properly
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
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 03:23 PM.