• 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

Problem adding numbers

  • Thread starter Thread starter kerinst at yahoo.com
  • Start date Start date
K

kerinst at yahoo.com

Guest
I am working with the creator, and I have a specific unit where I can
take between 3 and 10 of that unit... each unit has several crew...
if extra weapons are selected then the unit crew should raise 2 for
each of the weapons... so far I can get it to raise for the first
time I take a weapon in the squad of vehicles... but if I take the
weapon again it will not add... I am using rang to determine how many
of each specific weapon are in the group and I thought the csiz would
work to affect the crew properly... can anybody suggest to me how to
do this?
 
At 01:02 AM 11/13/2002 +0000, you wrote:
>I am working with the creator, and I have a specific unit where I can
>take between 3 and 10 of that unit... each unit has several crew...
>if extra weapons are selected then the unit crew should raise 2 for
>each of the weapons... so far I can get it to raise for the first
>time I take a weapon in the squad of vehicles... but if I take the
>weapon again it will not add... I am using rang to determine how many
>of each specific weapon are in the group and I thought the csiz would
>work to affect the crew properly... can anybody suggest to me how to
>do this?

As you found out, csiz doesn't work when used with the 'rang' attribute.
You'd need to have a few different options:

1 extra weapon (has csiz:unit+2)
2 extra weapons (has csiz:unit+4)
3 extra weapons (has csize:unit+6)
..etc..

And make sure only one of them can be selected at once (by using conflict
groups or the over: attribute, for example).


--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
 
At 01:02 AM 11/13/2002 +0000, you wrote:
>I am working with the creator, and I have a specific unit where I can
>take between 3 and 10 of that unit... each unit has several crew...
>if extra weapons are selected then the unit crew should raise 2 for
>each of the weapons... so far I can get it to raise for the first
>time I take a weapon in the squad of vehicles... but if I take the
>weapon again it will not add... I am using rang to determine how many
>of each specific weapon are in the group and I thought the csiz would
>work to affect the crew properly... can anybody suggest to me how to
>do this?

Another way to do this has occurred to us, which should work more neatly.

Make the 'Add weapon' option add a child unit (using the 'unit' option
attribute), which can have 1-X (or however many) models, each model being
one weapon. Then give that unit a child unit (again using 'unit') which
uses the 'ratp' unit local attribute to maintain a size relationship with
its parents - you can specify a fixed size of 2 models per parent, or a
min/max of 2-4 models per parent, or whatever you like. This is used in the
40k files for the Ork (in orks.40k) Big Gunz Battery (unit id orBigGun) and
it's Krew (unit id orGnKrew), for example.



--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com
 
Back
Top