Page 2 of 9 FirstFirst 123456789 LastLast
Results 21 to 40 of 164

Thread: ATVTW - Trait/Ancillary Validator

  1. #21
    Userpro's Avatar =RAE= HostedMod Creator
    Join Date
    Jul 2008
    Location
    regno germanicum, teutonical forest
    Posts
    1,673

    Default Re: ATVTW - Trait/Ancillary Validator

    Code:
    Checking trigger heir_aspirant . . .
    Error: Invalid number of parameters for condition AgentType.
    Last edited by Userpro; November 10, 2009 at 12:38 PM.
    Visit our TWC M2TW-Kingdoms Hosted Mods Forum for...

    !!! RAE Development stopped --- read last Statement here !!!
    M2TW-Kingdoms Mod Creator REDEO AD EXORDIUM ( RAE )
    Progress: 95% internal final beta release - 85% official release
    RAE TWC-Wiki Eagle Standard interview ... RAE.net Homepage ... RAE TWZ-Germany
    Proudly Sega & Steam Boycotter since ETW! See why here or this petition
    Sorry for bad english here, there and in my tutorials > advanced horde invasion & hide/unhide stratmap-ui & Beginners modding



  2. #22
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: ATVTW - Trait/Ancillary Validator

    Squid

    just to let you know this has helped track down some traits issues with stainless steel so has already proved most useful.

    any plans to extand the parser to campaign scripts as these also have characters who get spawned and their traits problems can be a pain?

    Q: orphaned traits ? these are traits without triggers? safe to leave alone as not interfering with game I presume?

  3. #23
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Rozanov View Post
    Squid

    just to let you know this has helped track down some traits issues with stainless steel so has already proved most useful.
    Thanks,

    any plans to extand the parser to campaign scripts as these also have characters who get spawned and their traits problems can be a pain?
    I'll add that to my to do list on the first post. A quick and dirty one will probably be fairly easy but a more complex one that checks for traits in monitors and such would be more difficult.

    Q: orphaned traits ? these are traits without triggers? safe to leave alone as not interfering with game I presume?
    Yes and yes.
    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

  4. #24
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: ATVTW - Trait/Ancillary Validator

    Excellent! Ive been looking for somthing like this, great work.

    Add the ability to modify and add to the traits/ancillaries files
    I'll be waiting for that addition with much anticipation.
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  5. #25
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: ATVTW - Trait/Ancillary Validator

    Squid

    many thanks for reply!

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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.3

    This is a minor bug fix release.

    Changes from 2.0.2 Version:

    • Fixed parsing error with AgentType condition
    • Fixed parsing error with I_FactionNearTile condition

    Go to the first post to get the new version.
    Last edited by Squid; February 03, 2010 at 05:21 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

  7. #27
    irishron's Avatar Cura Palatii
    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: ATVTW - Trait/Ancillary Validator

    Great tool, Squid. I downloaded it a few days ago and I am now try ing find all the mistakes from adding factions.

    Combat-V_Faction_England works.

    When I change England to Ireland, I get "Attribute Combat_v_Faction_Ireland is not a valid attribute" message.

    Is there a file I missed for adding attributes or is this hardcoded?

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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    The attributes are hardcoded into the exe and can't be changed (except through a new release), though I'm looking at changing that for future versions. I do have a question, is Ireland one of the original faction from M2TW or is it one you've added in a mod? As I wasn't sure of the mechanic used for the Combat_V_XXX stuff, the only one's being checked for are those I could find in the vanilla files. If others (i.e. from added factions or religions) work in game I will change the code to add the appropriate items.
    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. #29
    irishron's Avatar Cura Palatii
    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: ATVTW - Trait/Ancillary Validator

    Ireland was added as a faction to the Regions and Provinces mod and its Kingdoms 1.5. It also uses BBB 4.0. If the line is one of Dearmad's, do I need to conact him on this?

    Thank you for the help. Your tool worked great. It found things I never would have found proofreading.

    Sorry, but I have one more. It also has the trigger Trigger hate_n_fear_2 of which I don't find listed any place else. Is this a Dearmad trigger or did I miss something?

  10. #30
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Probably no need to contact Dearmad, but if the game isn't throwing errors about those Combat_V_XXX items that were not in the original release that means that I need to alter my code to add the relevant attributes based on faction/religions present in the game files.

    Triggers are read from the file, so if the trigger wasn't in vanilla then it was added somewhere along the line.

    The only hardcoded elements in ATVTW are the events, conditions, attributes and character types and at least the attributes will need to be partially not hardcoded.
    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

  11. #31
    irishron's Avatar Cura Palatii
    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: ATVTW - Trait/Ancillary Validator

    It's not crashing the game but ATVTW did flag it for each added faction.

    Thank you, again.

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

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: ATVTW - Trait/Ancillary Validator

    My 10 cents: no factions specified either for combat_v_faction or combat_v_faction in the exe










  13. #33
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    I'd seen a similar thing for RTW with Combat_V_<culture> in the exe, but hadn't really paid attention to it. Now what's really interesting are that there are three attributes in the exe, which ATVTW does check for, that aren't used anywhere in the vanilla files but since I don't have M2TW I can't verify if they actually work in game. The three attributes are: Generosity, Boldness and Disposition. So Gigantus if you've got some time and want to toss those into a trait and load up M2TW and Kingdoms and see if the game barfs on those attributes it would be appreciated.
    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. #34
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.4

    This is a minor bug fix release.

    Changes from 2.0.3 Version:

    • Fixed crash when creating/deleting settings from the Open Settings Form
    • Fixed crash caused by having extra lines at the end of the descr_beliefs.txt file for RTW
    • Fixed trait/ancillary names not being checked to see if they're valid in Affects/AcquireAncillary lines
    • Fixed the bug where the first trait/ancillary/trigger is checked twice in certain cases
    • Fixed various text issues
    • Fixed crash where if a file was being held by another process it would crash

    Go to the first post to get the new version.
    Last edited by Squid; February 03, 2010 at 05:20 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

  15. #35
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.5

    This is a minor bug fix release.

    Changes from 2.0.4 Version:

    • Fixed bug where an RTW mod will not load if it implements religion (i.e. if a descr_beliefs.txt file is in the data folder)

    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

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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.6

    This is a minor bug fix release.

    Changes from 2.0.5 Version:

    • Fixed crash while parsing descr_strat.txt caused by traits without a level
    • Fixed ReligiousBelief and ReligiousOrder errors/warnings not being reported

    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. #37
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: ATVTW - Trait/Ancillary Validator

    Got this error coming up, but the trigger is perfectly vaild and workinig. Could it be because of the legion entry in descr_regions?










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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    That's exactly what it is, the program is actually adding the "legion:" bit as the settlement names. I thought I'd been catching those, but apparently I'd removed that check when I was doing the massive re-factoring for version 2. I'll release a fix that deals with that.
    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. #39
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: ATVTW - Trait/Ancillary Validator

    Thanks Squid, that will help a lot.










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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.7

    This is a minor bug fix release.

    Changes from 2.0.6 Version:

    • Fixed bug where any region with a legion: XXX line would not add the proper settlement name to the settlement names list

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

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
  •