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
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