Log in

View Full Version : Parsing error?



FactionHeir
04-10-2007, 15:06
Hello all.

I've encountered a parsing error, or so I believe, with the ancillary file I'm currently working on, and removing my own additions didn't fix the issue as far as I could tell.

As such, I'd very much appreciate if you could take the time (its not too urgent) and figure out with me where exactly I went wrong.



no longer needed :)

But commenting out that line just results in the next line resulting in the parsing error. Commenting that one out just sends the next one as parsing error. As such, I guess the error must be before that line?

Thanks for any help you can provide!

[edit]
My old 1.1 ancillaries files and the vanilla 1.2 ancillaries file work perfectly fine regardless of what strin.bin file I got too, so its pretty much limited to this file only.

FactionHeir
04-10-2007, 16:21
OK I found it.
The reason the comparison tool wasn't showing the error was because that section was the same as in the original but I had the line partially duplicated:



;------------------------------------------
Ancillary knight_templar
Type Security
Transferable 0
Image knight_chivalrous.tga
ExcludedAncillaries knight_stjohn, knight_teutonic, knight_santiago ;don't want multiple knights with one character
ExcludedAncillaries knight_templar
ExcludeCultures mesoamerican
Description knight_templar_desc
EffectsDescription knight_templar_effects_desc
Effect Chivalry 1
Effect Command 1
Effect PersonalSecurity 1

;------------------------------------------


Does make me wonder why CA decided to exclude the ancillary from itself in 1.2 but didn't in 1.1
Well, I removed it anyway and now it works fine :)

alpaca
04-10-2007, 17:07
Moved to modding questions anyways.