• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Newbie Definition file compilation problems

Bluefool

Well-known member
OK, I've been writing a definition file by following the example at
C:/ArmyBuilderEX/docs/kit/kit_started.htm#definition_file.

So far, so good...mostly. When I try to complie I get two errors I haven't been able to track down.

Tag group "entity" required for designating entities as units or items.

I haven't created a group entites, and I can't find one anywhere in the groups, so how in the heck do I define it or get rid of it?

Edit: I created an entities group and copied the settings from another definition file...which got rid of the compile error....but I'm still confused what went wrong.


And:

Undefined ruleset Attack refrenced by context Attack.

Edit: figured that one out, it was a capitilization error.





Thanks for any help!

I'll keep reading tutorials in the hopes I can find something I missed...
 
The "entity" tag group is required for every set of data files. It doesn't matter whether YOU need it, since AB needs it. :-) In the Definition File chapter of the docs, go to the Tag Groups section and then look for the "Required Tag Groups" subsection. You'll find the details you need there.

I'm not sure what the problem is for the second issue you report. One possibility is case-specificity. Make sure that the ruleset id has the exact same case as the id referenced by the rule context. I'm going to assume you are using ABCreator, but if you are editing the XML directly, you should also check that the rulesets are defined BEFORE the rule contexts. Otherwise, you'll get an error like the one you report. If you are completely stumped, post your data files for review and tell us where to find them.

Yes, there is a LOT of stuff that AB does. It has to in order to support extremely complex games like 40K, as well as the incredibly diverse range of game systems out there. However, I think you'll start to get the hang of it after a bit of perseverance. :-) You are also welcome to post questions here and we'll all do our best to offer advice and suggestions.

Hope this helps,
Rob

At 12:16 PM 1/8/2006, you wrote:

OK, I've been writing a definition file by following the example at
C:/ArmyBuilderEX/docs/kit/kit_started.htm#definition_file.

So far, so good...mostly. When I try to complie I get two errors I haven't been able to track down.

Tag group "entity" required for designating entities as units or items.

I haven't created a group entites, and I can't find one anywhere in the groups, so how in the heck do I define it or get rid of it?


And:

Undefined ruleset Attack refrenced by context Attack.

I figure I must have messed up creating the rulset, but I deleted it and recreated it several times, following the tutorial carefully...or at least I thought I had!

And Holy Cow, this is a ton of stuff to learn all at once!

Thanks for any help!

I'll keep reading tutorials in the hopes I can find somethign I missed...
 
Yup; that got it, thanks very, very much :).

I can now open my first data file :). I am using ABcreator, I'll keep working through the docs, and I suspect the questions will start very shortly :).
 
As one newbie to another, I can recommend the example data files. There is the rather complex one, example. I started with the minimal data file when I started the Warmaster Ancients data file.

I have also downloaded several of the existing data files to steal ideas from. This has helped me quite a lot when I can find an example that works the way I desire.

Regards,

Todd
 
Back
Top