A
armybuilder at yahoogroup
Guest
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/IMSolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, email
armybuilder-unsubscribe@yahoogroups.com
------------------------------------------------------------------------
There are 8 messages in this issue.
Topics in this digest:
1. Re: Using clmt:something<=X-slots
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
2. VDR Max Weapon points?
From: "jmjjc" <jmjjc@yahoo.com>
3. Re: Re: Using clmt:something<=X-slots
From: Colen McAlister <colen@wolflair.com>
4. Re: Using clmt:something<=X-slots
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
5. Testing multiples of a type within a single unit
From: "Mr. Green" <mach_5@rocketmail.com>
6. Re: Re: Using clmt:something<=X-slots
From: Colen McAlister <colen@wolflair.com>
7. Re: Testing multiples of a type within a single unit
From: Colen McAlister <colen@wolflair.com>
8. Re: Testing multiples of a type within a single unit
From: "Mr. Green" <mach_5@rocketmail.com>
________________________________________________________________________
________________________________________________________________________
Message: 1
Date: Thu, 01 May 2003 02:47:04 -0000
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
Subject: Re: Using clmt:something<=X-slots
Colen,
Thanks for your help.
I put in a message for when the user takes spells over their limit.
However, it only works when the test is on count or points. For some
reason it won't alert the user when it is set to test against the
amount of slots filled.
Since it definitely works on the amount of slots available as it is
set in the datadef file, I might set up a series of spell list Item
Catagories with different amounts of available slots. I can then use
the Element xcat Special Attribute to link one spell to several
different spell list Item Catagories. And, on the magic user side,
use spec:+xxxx to enable the magic user to select spells from the
Item Catagory that matches his Power score. . . Does all that make
sense?
Thanks again
Ken
--- In armybuilder@yahoogroups.com, Colen McAlister <colen@w...>
wrote:
> At 03:15 PM 4/30/2003 +0000, you wrote:
> >Hi there,
> >
> >I've been working on AB files for the Confrontation mini game for
> >some time. Here's my problem:
> >
> >I've set up the "Spells" Item Catagory for magic users to build
their
> >spell list. Magic users have a stat called Power that determines
how
> >many spells they can choose. So, I thought that setting up the
Spells
> >Item Catagory with 30 Slots and using the clmt:spel<=Pow-slots for
> >each magic user would work just fine....but it doesn't. I've
tested
> >it and no matter what the Power of the magic user...it always lets
> >them select up to 30 Slots worth of spells.
>
> It may let them actually select the spells, but have you checked
the
> validation messages afterwards? I think clmt gives a 'soft' error,
i.e. it
> lets you break its rule, then complains, rather than not letting
you do
> anything that would break the rule.
>
>
> --
> Colen McAlister (colen@w...)
> Lone Wolf Development
www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 2
Date: Thu, 01 May 2003 04:23:58 -0000
From: "jmjjc" <jmjjc@yahoo.com>
Subject: VDR Max Weapon points?
I noticed when making a VDR vehicle in Army builder that there seems
to be a limit of 75 guns and upgrades allowed, is this on purpose? I
never heard anything about maximum ponts allowed for weapons, least
of all 75 points total. I have the newest VDR rules from Chapter
Approved.
That aside I love the program and couldn't resist getting the full
version.
________________________________________________________________________
________________________________________________________________________
Message: 3
Date: Wed, 30 Apr 2003 23:00:55 -0700
From: Colen McAlister <colen@wolflair.com>
Subject: Re: Re: Using clmt:something<=X-slots
At 02:47 AM 5/1/2003 +0000, you wrote:
>Colen,
>Thanks for your help.
>I put in a message for when the user takes spells over their limit.
>However, it only works when the test is on count or points. For some
>reason it won't alert the user when it is set to test against the
>amount of slots filled.
Interesting. Can you upload your datafiles to the Files section
(http://groups.yahoo.com/armybuilder/files/) so I could take a look?
>Since it definitely works on the amount of slots available as it is
>set in the datadef file, I might set up a series of spell list Item
>Catagories with different amounts of available slots. I can then use
>the Element xcat Special Attribute to link one spell to several
>different spell list Item Catagories. And, on the magic user side,
>use spec:+xxxx to enable the magic user to select spells from the
>Item Catagory that matches his Power score. . . Does all that make
>sense?
It sounds like it'd work, but I think the way you're trying to do it now
would be a better way. Please upload the files (and give me a description
of where to find the problem) and I'll investigate.
Thanks
--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 4
Date: Thu, 01 May 2003 14:29:34 -0000
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
Subject: Re: Using clmt:something<=X-slots
--- In armybuilder@yahoogroups.com, Colen McAlister <colen@w...>
> Interesting. Can you upload your datafiles to the Files section
> (http://groups.yahoo.com/armybuilder/files/) so I could take a look?
Colen,
Ok, I've redone the tutorial file and uploaded it to the files
section (tut.ab "clmt Problem").
I figured it would be easier to explain and give examples. So, the
Wizard Spells now has 15 slots in the datadef file, and each element
has been changed to take up 5 slots each, and the Elven Mage has this
External Attribute:
--> clmt:spel<=5-slots-msg=mspower <--
So, when building his spell book, if you + all four spells, the
Create Item button turns into Invalid Item...that's perfect.
But if you were to + on two spells thus creating a book with 10 slots
full, the mspower message doesn't show up.
Thanks again for your help!
Ken
________________________________________________________________________
________________________________________________________________________
Message: 5
Date: Thu, 1 May 2003 09:25:46 -0700 (PDT)
From: "Mr. Green" <mach_5@rocketmail.com>
Subject: Testing multiples of a type within a single unit
I'm trying to test for multiples of a specific type within a unit, ie. I'd
like to generate a validation error if the type has been assigned more
than once. There is a 'typecount' form for the cost attribute, so I know
it should be possible to count types within a unit, but I don't see any
attributes that would allow me to generate an error based on that.
Any ideas?
Thanks,
Mark
=====
Warhammer Club - Vancouver, BC
http://www.WCP-Vancouver.com
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
________________________________________________________________________
________________________________________________________________________
Message: 6
Date: Thu, 01 May 2003 14:19:06 -0700
From: Colen McAlister <colen@wolflair.com>
Subject: Re: Re: Using clmt:something<=X-slots
At 02:29 PM 5/1/2003 +0000, you wrote:
>--- In armybuilder@yahoogroups.com, Colen McAlister <colen@w...>
> > Interesting. Can you upload your datafiles to the Files section
> > (http://groups.yahoo.com/armybuilder/files/) so I could take a look?
>
>Colen,
>
>Ok, I've redone the tutorial file and uploaded it to the files
>section (tut.ab "clmt Problem").
>
>I figured it would be easier to explain and give examples. So, the
>Wizard Spells now has 15 slots in the datadef file, and each element
>has been changed to take up 5 slots each, and the Elven Mage has this
>External Attribute:
>--> clmt:spel<=5-slots-msg=mspower <--
>
>So, when building his spell book, if you + all four spells, the
>Create Item button turns into Invalid Item...that's perfect.
>
>But if you were to + on two spells thus creating a book with 10 slots
>full, the mspower message doesn't show up.
Ah! Thanks for the upload, it all becomes clear.
Firstly, the reason why what you're doing isn't working is because the
'-slots' option in the clmt attribute doesn't refer to the number of
constructed item slots used. Instead, it refers to the *number of item
slots* used by items. For example, in the datadef tutorial file:
Banner | stnd | stnd | 1 | 1 |
reg | 0 | 0 | 1
Wizard Spells | spel | spel | 1 | 1 |
wiz | 15 | 0 | 0
Note the very last attribute, which is '1' for banners and '0' for spells.
This is the number of ' item slots' that an item for this category takes
up. If a unit has a maximum limit of 2 items, it could only take two
banners, but it could take an unlimited number of wizard spells, because
they cost 0 slots each. It's this 'slots' value that clmt refers to. The
same terminology is unfortunately used for constructed items, which should
probably be corrected in a future release.
So what's happening is that you're saying "Make sure less than 5 slots are
used", but because wizard spells take up no slots, there are never any
slots used, so the value is always 0; 0 < 5 is always true, so the rule is
'correct' and not working the way you think it should.
A question: Why are you using constructed items to represent spells? Why
not just have each spell as 1 item? Then you can keep the wizard spells
taking up 0 slots each, and use the -count instead of -slots version of
clmt (e.g., clmt:spel<=5-count-msg=mspower), and everything should work
fine. Or you could make the wizard spells take up 1 slot each, and impose a
hard item count limit to physically prevent people from taking more than
the right number of spells.
Hope this helps,
--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 7
Date: Thu, 01 May 2003 14:28:40 -0700
From: Colen McAlister <colen@wolflair.com>
Subject: Re: Testing multiples of a type within a single unit
At 09:25 AM 5/1/2003 -0700, you wrote:
>I'm trying to test for multiples of a specific type within a unit, ie. I'd
>like to generate a validation error if the type has been assigned more
>than once. There is a 'typecount' form for the cost attribute, so I know
>it should be possible to count types within a unit, but I don't see any
>attributes that would allow me to generate an error based on that.
>
>Any ideas?
what is your rule trying to do? Different rules have different parameters,
so depending on what you're trying to achieve, this may or may not be possible.
I can't think of anything that allows you to say "if there are 2 types of
type 'X' assigned, display an error"... where and how are the types
assigned? If they're only going to come from 2 different sources, have the
first source assign type1 and the second source assign type2. Then you can
make sure no unit has both type1 and type2 at the same time.
Let me know,
--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 8
Date: Thu, 1 May 2003 16:40:11 -0700 (PDT)
From: "Mr. Green" <mach_5@rocketmail.com>
Subject: Re: Testing multiples of a type within a single unit
Unfortunately, it's both from the same source. I've got a unit that can
take up to three options (out of lets say 12). The unit can have any 3 it
wants, but they can't be the same.
Now, to make things easy (or at least less cluttered), I've put the ten
options into tables, so the user simply has to click each table over to
the option he wants and he's done. The problem with this of course is
that it allows the user to select an option three times (once for each
table).
I didn't think there was a way of limiting the number of times an option
is taken within a unit so I'm trying to figure out a way to do it with
types.
Thanks,
Mark
> what is your rule trying to do? Different rules have different
> parameters,
> so depending on what you're trying to achieve, this may or may not be
> possible.
>
> I can't think of anything that allows you to say "if there are 2 types
> of
> type 'X' assigned, display an error"... where and how are the types
> assigned? If they're only going to come from 2 different sources, have
> the
> first source assign type1 and the second source assign type2. Then you
> can
> make sure no unit has both type1 and type2 at the same time.
=====
Warhammer Club - Vancouver, BC
http://www.WCP-Vancouver.com
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
________________________________________________________________________
________________________________________________________________________
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/IMSolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, email
armybuilder-unsubscribe@yahoogroups.com
------------------------------------------------------------------------
There are 8 messages in this issue.
Topics in this digest:
1. Re: Using clmt:something<=X-slots
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
2. VDR Max Weapon points?
From: "jmjjc" <jmjjc@yahoo.com>
3. Re: Re: Using clmt:something<=X-slots
From: Colen McAlister <colen@wolflair.com>
4. Re: Using clmt:something<=X-slots
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
5. Testing multiples of a type within a single unit
From: "Mr. Green" <mach_5@rocketmail.com>
6. Re: Re: Using clmt:something<=X-slots
From: Colen McAlister <colen@wolflair.com>
7. Re: Testing multiples of a type within a single unit
From: Colen McAlister <colen@wolflair.com>
8. Re: Testing multiples of a type within a single unit
From: "Mr. Green" <mach_5@rocketmail.com>
________________________________________________________________________
________________________________________________________________________
Message: 1
Date: Thu, 01 May 2003 02:47:04 -0000
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
Subject: Re: Using clmt:something<=X-slots
Colen,
Thanks for your help.
I put in a message for when the user takes spells over their limit.
However, it only works when the test is on count or points. For some
reason it won't alert the user when it is set to test against the
amount of slots filled.
Since it definitely works on the amount of slots available as it is
set in the datadef file, I might set up a series of spell list Item
Catagories with different amounts of available slots. I can then use
the Element xcat Special Attribute to link one spell to several
different spell list Item Catagories. And, on the magic user side,
use spec:+xxxx to enable the magic user to select spells from the
Item Catagory that matches his Power score. . . Does all that make
sense?
Thanks again
Ken
--- In armybuilder@yahoogroups.com, Colen McAlister <colen@w...>
wrote:
> At 03:15 PM 4/30/2003 +0000, you wrote:
> >Hi there,
> >
> >I've been working on AB files for the Confrontation mini game for
> >some time. Here's my problem:
> >
> >I've set up the "Spells" Item Catagory for magic users to build
their
> >spell list. Magic users have a stat called Power that determines
how
> >many spells they can choose. So, I thought that setting up the
Spells
> >Item Catagory with 30 Slots and using the clmt:spel<=Pow-slots for
> >each magic user would work just fine....but it doesn't. I've
tested
> >it and no matter what the Power of the magic user...it always lets
> >them select up to 30 Slots worth of spells.
>
> It may let them actually select the spells, but have you checked
the
> validation messages afterwards? I think clmt gives a 'soft' error,
i.e. it
> lets you break its rule, then complains, rather than not letting
you do
> anything that would break the rule.
>
>
> --
> Colen McAlister (colen@w...)
> Lone Wolf Development
www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 2
Date: Thu, 01 May 2003 04:23:58 -0000
From: "jmjjc" <jmjjc@yahoo.com>
Subject: VDR Max Weapon points?
I noticed when making a VDR vehicle in Army builder that there seems
to be a limit of 75 guns and upgrades allowed, is this on purpose? I
never heard anything about maximum ponts allowed for weapons, least
of all 75 points total. I have the newest VDR rules from Chapter
Approved.
That aside I love the program and couldn't resist getting the full
version.
________________________________________________________________________
________________________________________________________________________
Message: 3
Date: Wed, 30 Apr 2003 23:00:55 -0700
From: Colen McAlister <colen@wolflair.com>
Subject: Re: Re: Using clmt:something<=X-slots
At 02:47 AM 5/1/2003 +0000, you wrote:
>Colen,
>Thanks for your help.
>I put in a message for when the user takes spells over their limit.
>However, it only works when the test is on count or points. For some
>reason it won't alert the user when it is set to test against the
>amount of slots filled.
Interesting. Can you upload your datafiles to the Files section
(http://groups.yahoo.com/armybuilder/files/) so I could take a look?
>Since it definitely works on the amount of slots available as it is
>set in the datadef file, I might set up a series of spell list Item
>Catagories with different amounts of available slots. I can then use
>the Element xcat Special Attribute to link one spell to several
>different spell list Item Catagories. And, on the magic user side,
>use spec:+xxxx to enable the magic user to select spells from the
>Item Catagory that matches his Power score. . . Does all that make
>sense?
It sounds like it'd work, but I think the way you're trying to do it now
would be a better way. Please upload the files (and give me a description
of where to find the problem) and I'll investigate.
Thanks

--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 4
Date: Thu, 01 May 2003 14:29:34 -0000
From: "Kenneth Kenney" <kg_kenney@yahoo.com>
Subject: Re: Using clmt:something<=X-slots
--- In armybuilder@yahoogroups.com, Colen McAlister <colen@w...>
> Interesting. Can you upload your datafiles to the Files section
> (http://groups.yahoo.com/armybuilder/files/) so I could take a look?
Colen,
Ok, I've redone the tutorial file and uploaded it to the files
section (tut.ab "clmt Problem").
I figured it would be easier to explain and give examples. So, the
Wizard Spells now has 15 slots in the datadef file, and each element
has been changed to take up 5 slots each, and the Elven Mage has this
External Attribute:
--> clmt:spel<=5-slots-msg=mspower <--
So, when building his spell book, if you + all four spells, the
Create Item button turns into Invalid Item...that's perfect.
But if you were to + on two spells thus creating a book with 10 slots
full, the mspower message doesn't show up.
Thanks again for your help!
Ken
________________________________________________________________________
________________________________________________________________________
Message: 5
Date: Thu, 1 May 2003 09:25:46 -0700 (PDT)
From: "Mr. Green" <mach_5@rocketmail.com>
Subject: Testing multiples of a type within a single unit
I'm trying to test for multiples of a specific type within a unit, ie. I'd
like to generate a validation error if the type has been assigned more
than once. There is a 'typecount' form for the cost attribute, so I know
it should be possible to count types within a unit, but I don't see any
attributes that would allow me to generate an error based on that.
Any ideas?
Thanks,
Mark
=====
Warhammer Club - Vancouver, BC
http://www.WCP-Vancouver.com
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
________________________________________________________________________
________________________________________________________________________
Message: 6
Date: Thu, 01 May 2003 14:19:06 -0700
From: Colen McAlister <colen@wolflair.com>
Subject: Re: Re: Using clmt:something<=X-slots
At 02:29 PM 5/1/2003 +0000, you wrote:
>--- In armybuilder@yahoogroups.com, Colen McAlister <colen@w...>
> > Interesting. Can you upload your datafiles to the Files section
> > (http://groups.yahoo.com/armybuilder/files/) so I could take a look?
>
>Colen,
>
>Ok, I've redone the tutorial file and uploaded it to the files
>section (tut.ab "clmt Problem").
>
>I figured it would be easier to explain and give examples. So, the
>Wizard Spells now has 15 slots in the datadef file, and each element
>has been changed to take up 5 slots each, and the Elven Mage has this
>External Attribute:
>--> clmt:spel<=5-slots-msg=mspower <--
>
>So, when building his spell book, if you + all four spells, the
>Create Item button turns into Invalid Item...that's perfect.
>
>But if you were to + on two spells thus creating a book with 10 slots
>full, the mspower message doesn't show up.
Ah! Thanks for the upload, it all becomes clear.
Firstly, the reason why what you're doing isn't working is because the
'-slots' option in the clmt attribute doesn't refer to the number of
constructed item slots used. Instead, it refers to the *number of item
slots* used by items. For example, in the datadef tutorial file:
Banner | stnd | stnd | 1 | 1 |
reg | 0 | 0 | 1
Wizard Spells | spel | spel | 1 | 1 |
wiz | 15 | 0 | 0
Note the very last attribute, which is '1' for banners and '0' for spells.
This is the number of ' item slots' that an item for this category takes
up. If a unit has a maximum limit of 2 items, it could only take two
banners, but it could take an unlimited number of wizard spells, because
they cost 0 slots each. It's this 'slots' value that clmt refers to. The
same terminology is unfortunately used for constructed items, which should
probably be corrected in a future release.
So what's happening is that you're saying "Make sure less than 5 slots are
used", but because wizard spells take up no slots, there are never any
slots used, so the value is always 0; 0 < 5 is always true, so the rule is
'correct' and not working the way you think it should.
A question: Why are you using constructed items to represent spells? Why
not just have each spell as 1 item? Then you can keep the wizard spells
taking up 0 slots each, and use the -count instead of -slots version of
clmt (e.g., clmt:spel<=5-count-msg=mspower), and everything should work
fine. Or you could make the wizard spells take up 1 slot each, and impose a
hard item count limit to physically prevent people from taking more than
the right number of spells.
Hope this helps,
--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 7
Date: Thu, 01 May 2003 14:28:40 -0700
From: Colen McAlister <colen@wolflair.com>
Subject: Re: Testing multiples of a type within a single unit
At 09:25 AM 5/1/2003 -0700, you wrote:
>I'm trying to test for multiples of a specific type within a unit, ie. I'd
>like to generate a validation error if the type has been assigned more
>than once. There is a 'typecount' form for the cost attribute, so I know
>it should be possible to count types within a unit, but I don't see any
>attributes that would allow me to generate an error based on that.
>
>Any ideas?
what is your rule trying to do? Different rules have different parameters,
so depending on what you're trying to achieve, this may or may not be possible.
I can't think of anything that allows you to say "if there are 2 types of
type 'X' assigned, display an error"... where and how are the types
assigned? If they're only going to come from 2 different sources, have the
first source assign type1 and the second source assign type2. Then you can
make sure no unit has both type1 and type2 at the same time.
Let me know,
--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
________________________________________________________________________
________________________________________________________________________
Message: 8
Date: Thu, 1 May 2003 16:40:11 -0700 (PDT)
From: "Mr. Green" <mach_5@rocketmail.com>
Subject: Re: Testing multiples of a type within a single unit
Unfortunately, it's both from the same source. I've got a unit that can
take up to three options (out of lets say 12). The unit can have any 3 it
wants, but they can't be the same.
Now, to make things easy (or at least less cluttered), I've put the ten
options into tables, so the user simply has to click each table over to
the option he wants and he's done. The problem with this of course is
that it allows the user to select an option three times (once for each
table).
I didn't think there was a way of limiting the number of times an option
is taken within a unit so I'm trying to figure out a way to do it with
types.
Thanks,
Mark
> what is your rule trying to do? Different rules have different
> parameters,
> so depending on what you're trying to achieve, this may or may not be
> possible.
>
> I can't think of anything that allows you to say "if there are 2 types
> of
> type 'X' assigned, display an error"... where and how are the types
> assigned? If they're only going to come from 2 different sources, have
> the
> first source assign type1 and the second source assign type2. Then you
> can
> make sure no unit has both type1 and type2 at the same time.
=====
Warhammer Club - Vancouver, BC
http://www.WCP-Vancouver.com
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
________________________________________________________________________
________________________________________________________________________
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/