• 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

Rules and Stats

rob

Administrator
Staff member
The validation rule you describe is not possible in V1.0. However, the new
stuff added to V1.1 ought to allow it. The statistic you outline is not
possible in either V1.0 or V1.1. I'll look into adding that capability
before V1.1 is released (but no promises, sicne there's a LOT going into V1.1).

Thanks, Rob

At 07:17 AM 12/26/2002 +0000, you wrote:
>Hello,
>I'm working on writing some supplementary files for the MechWarrior
>(if it's permissible I'll upload them to the group), and I'm finding
>myself stimied on one item. I've added a "base" group in an
>augmentation file, and would like to be able to create validation
>rules to have a force contain between 25% and 50% of each unit (base)
>type, by cost. Alternatively, I'd like to be able to have the stats
>window display the percentage of the force cost for each unit type.
>Unfortunately, I haven't been able to find a way to do this as I'd
>like. For a validation rule, it's easy enough to get the total cost
>of a force (sum:cost.?), but I don't see a way to limit that to a
>subset of the total force (sum:cost.?[base.i]). For statistics, it's
>easy enough to get the total cost for a unit type:
>
><stat id="inf_cost" name="Infantry Cost">
> <test> base.i </test>
> <calc> sum:cost.? </calc>
></stat>
>
>But I don't see how to get the total cost of the force at that point,
>so I cannot have the percentage breakdown, by cost, of the force
>displayed. Is this a limitation, or am I missing something in the docs?
>
>Thanks, Sten


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (559) 658-6995
Lone Wolf Development www.wolflair.com
 
Rob Bowes <rob@wolflair.com> writes:

> The validation rule you describe is not possible in V1.0. However, the new
> stuff added to V1.1 ought to allow it. The statistic you outline is not
> possible in either V1.0 or V1.1. I'll look into adding that capability
> before V1.1 is released (but no promises, sicne there's a LOT going into V1.1).

That's great! The statistic was more of a fallback approach than what I
really wanted, although I can see where it might be nice while building a
force.

To start in on a wishlist for V1.2 (no rest for the wicked :)), it seems to me
that right now all validation rules are pass-fail - it either passes the rule
(green) or fails the rule (red). I think that it would be nice to have a
threshold above which a violated rule is a warning (yellow) rather than a
failure.

Even without this, though, CardVault is still a great product.

Sten

--
De Gubernaculo Venimus et Adservirevos Volumus
- Proposed motto for the Federal government
 
Back
Top