Thanks for the info on the Abilities.txt file. I won't be checking that file then.
Fyron, I found that the Launch Drone ability isn't listed at
http://se4modding.spaceempires.net/M...Tutorial.html. Nor is it in the Abilities.txt file.
I'm writing it in Visual Basic 6 (Yeah out of date, but I don't do this for a living so I can't afford .NET) =) I'd be open to sharing what I'm working on with you Fyron.
Quote:
SE4 will tell you if you have not enough tech or ability entries to match the number you gave. Having too many means the last ones will be ignored.
|
Are you sure? I was playing a mod that had tech Req that couldn't be met, and I got no error messages on that. I ran across the Components when I was making modifications to have it more suit my desired play.
It also loaded a components file where X number of Techs were required, but X+1 were listed. SE4 gave no errors.
It was when I started using the Component Editor .90 that I started finding the issues. Component Editor has no data integrity check. When it would rewrite the Components.txt file it would destroy data caused by malformed data.
What I'm planning is for it to go a few steps further than your Component Repair Tool.
It will check all the following
- Proper format of the field names. Example: Name - Correct, name - Incorrect (I don't know if this is a problem in the components file, but I've found capitalization is important in the AI files.)
- Techs you indicate are listed in the TechArea.txt
- Tech Level Req can be achieved
- # of indicated Tech Req and Abilities is listed
- Abilities listed exist and are spelled properly.
- Fields that have specific input requirements
For any error that is encountered it will give the Line the error exists upon and what the program was expecting. Then the program ends, so that you can fix the error and rerun the application.
I wasn't thinking of having it check if a Tech Level goes unused. Would this be helpful? If so, should it just check if the highest value Tech is used, or if each Tech Level is used? Again I've only played two mods now so I don't know what's all out there.