Code:Checking trigger heir_aspirant . . . Error: Invalid number of parameters for condition AgentType.
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...Proudly Sega & Steam Boycotter since ETW! See why here or this petition
!!! 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
Sorry for bad english here, there and in my tutorials > advanced horde invasion & hide/unhide stratmap-ui & Beginners modding
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?
Thanks,
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.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?
Yes and yes.Q: orphaned traits ? these are traits without triggers? safe to leave alone as not interfering with game I presume?
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
Excellent! Ive been looking for somthing like this, great work.
I'll be waiting for that addition with much anticipation.Add the ability to modify and add to the traits/ancillaries files
Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.
Squid
many thanks for reply!
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
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?
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
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?
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
It's not crashing the game but ATVTW did flag it for each added faction.
Thank you, again.
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
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
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
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
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
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