Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Army Builder (http://forums.wolflair.com/forumdisplay.php?f=16)
-   -   "must" attribute isn't working properly (http://forums.wolflair.com/showthread.php?t=1358)

prozinskij at yahoo.com August 1st, 2000 07:06 AM

"must" attribute isn't working properly
 
Hello,
I tried to post this yesterday, but I don't think it worked. I
appologize if it is posted a second time.

I'm trying to build a data file. I'm using the 'rang' and 'must'
attributes to get the spin buttons for multiple weapon selection on a
unit and for roster validation.

The 'rang 'attribute seems to be working fine as I get the spin
button. When I add the 'must' attribute it doesn't seem to recognize
the category of the option.

I have an assault rifle assigned to the Ranged category. I can
have between 2 and 8 of them in a squad, depending on the squad's
size and number of special weapons. With the default being 4 for
minimum squad size. So I have the 'rang' attribute set to 'rang:2-8-
start@4'. That seems to be working.

I want the validation rules to notify the user when there aren't
enough or there are too many weapons assigned to the squad. I use
the 'must:categ=Ranged+Special+Heavy@min=#'
and 'must:categ=Ranged+Special+Heavy@max=#' attributes. When I load
the data file and select the unit I get a validation error no matter
how many weapons I assign the unit. The error is "Not enough options
of category 'Ranged+Special+Heavy' are assigned to unit 'Standard
Infantry Squad' (min unit size)." It doesn't matter what combination
of categories I check for I get the validation error.

I'm using version 1.4d of AB and the Construction Kit. I've tried
deleteing the definition file and recompiling it, rebuilding the
datafiles and stripping them down to just the unit and the options.
Everything I could think of. I've tried looking at some of the other
datafiles for other games and see how they've implemented it. I tried
duplicating the way it was done in other files and have them set up
nearly identical, except for different names for all the units and
options. No luck. I don't see what it is that I'm missing. Can anyone
shed some light on this?

Thanks in advance.

-Joe



--------------------------------------------------------------------<e|-
Go to Maingate.com to improve the quality of military life.
http://click.egroups.com/1/7637/4/_/36190/_/965142404/
--------------------------------------------------------------------|e>-

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com

demandred at skrill.org August 1st, 2000 11:11 AM

"must" attribute isn't working properly
 
One fine day in the middle of the night, Joseph Prozinski
<prozinskij@yahoo.com> got up to write:

>Hello,
> I tried to post this yesterday, but I don't think it worked. I
>appologize if it is posted a second time.

<snippety snip snip snipperoo>

An obvious answer, probably not what you're looking for: Are you sure
you made it be in the Ranged category? :)

A slightly less obvious answer: You're not using more: to add it, are
you? That *might* be causing the problem.

Post your files to the Vault and we'll take a look.

--
'Not Colin' McAlister - License to Skrill
Email: demandred@skrill.org | Visit http://www.skrill.org/ today!
-----------------------------+------------------------------------
"Dovie'andi se tovya sagain" - Robert Jordan's Wheel Of Time

--------------------------------------------------------------------<e|-
Go to Maingate.com for info that improves the quality of Army life.
http://click.egroups.com/1/7636/4/_/36190/_/965157085/
--------------------------------------------------------------------|e>-

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com

prozinskij at yahoo.com August 1st, 2000 11:56 AM

"must" attribute isn't working properly
 
--- In armybuilder@egroups.com, 'Not Colin' McAlister & The Skrills
<demandred@s...> wrote:
> One fine day in the middle of the night, Joseph Prozinski
> <prozinskij@y...> got up to write:
>
> >Hello,
> > I tried to post this yesterday, but I don't think it worked. I
> >appologize if it is posted a second time.
>
> <snippety snip snip snipperoo>
>
> An obvious answer, probably not what you're looking for: Are you
sure
> you made it be in the Ranged category? :)

Yes I'm sure it's in the Ranged category.

>
> A slightly less obvious answer: You're not using more: to add it,
are
> you? That *might* be causing the problem.

No, I am using must. Right now I'm working with some files I created
with just the one unit in it. I'll post it shortly.

>
> Post your files to the Vault and we'll take a look.
>
> --
> 'Not Colin' McAlister - License to Skrill
> Email: demandred@s... | Visit http://www.skrill.org/ today!
> -----------------------------+------------------------------------
> "Dovie'andi se tovya sagain" - Robert Jordan's Wheel Of Time


To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com


All times are GMT -8. The time now is 07:38 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.