• 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

Grandchildren, coun and usiz

  • Thread starter Thread starter shawn at electricstitch.c
  • Start date Start date
S

shawn at electricstitch.c

Guest
I have a unit that is 6-12 models
May take leader (child unit) (coun)
leader may take child unit (1-2 models) that do not count towards the unit
max.
Unit may take a transport that holds 12 models /including/ the 1-2 models
not counted towards the unit total.

I used usiz:max=12-eff for the transport
I have coun on the leader.
If I put coun on the leaders child unit I get an armybuilder error.

How do I limit the tranport to 12 models?

Thanks,
Shawn


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/ujOgTC/4m7CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
I managed to figure this one out.

recap: unit of 6-12, child unit may add additional child unit of 1-2models.
I tried to use usiz to limit a transport to 12 models, but couldn't because
I couldn't use coun on the additional child unit.

Solution:

transport (usta:alpha<=12)
hidden option 1 (prnt:beta+(#)-base)
hidden option 2 (base:alpha+(#))
hidden option 3 (prnt:alpha+(#+beta)-base) (Lowest priority)

I gave hidden option 1 to the additional child unit
I gave hidden option 2 to the parent unit
I gave hidden option 3 to the child unit

This made the parent stat alpha = # of models. The additional child unit
increased the childs stat beta + # of models. The child unit increased the
parent unit stat alpha by + beta and # of models. It was important to place
hidden option 3 as low priority, otherwise it would add to the parent before
the additional child added to the child unit.

Question:
Could I have done this easier? It works, so I don't mind and the user will
never know it is happening.

Thanks,
Shawn






------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/Pv4pGD/4m7CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
At 20:54 30/09/2001 -0700, you wrote:
>I have a unit that is 6-12 models
>May take leader (child unit) (coun)
>leader may take child unit (1-2 models) that do not count towards the unit
>max.
>Unit may take a transport that holds 12 models /including/ the 1-2 models
>not counted towards the unit total.
>
>I used usiz:max=12-eff for the transport
>I have coun on the leader.
>If I put coun on the leaders child unit I get an armybuilder error.
>
>How do I limit the tranport to 12 models?

I have a convoluted way that works fairly well for the 40k files... is this
to do with the Tau? If so, it's simple to add it.

Simple description: Give the unit that can take the transport a stat called
'ttotl'. When the transport is taken, have it use 'prnt' to add it's number
of transport models to that stat. Use lcmp to make sure the 'ttotl' stat is
never lower than zero. Then all you have to do is make every unit subtract
it's unit size from the ttotl stat.



--
Colen 'Skrillboy' McAlister, demandred@skrill.org
http://www.skrill.org/, http://www.incompetence-central.co.uk/
1 = 2, for large values of 1.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/Pv4pGD/4m7CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
If I understand correctly, the effective unit size does NOT include the 1-2
models beneath the leader, but those models DO count towards the limit for
the transport. If that's the case, then you will need to use a hidden stat
to total up the models that apply towards the transport limit. You also
need the "usta" attribute on the transport option to impose the proper limit.

Hope this helps,
Rob


At 08:54 PM 9/30/2001 -0700, you wrote:
>I have a unit that is 6-12 models
>May take leader (child unit) (coun)
>leader may take child unit (1-2 models) that do not count towards the unit
>max.
>Unit may take a transport that holds 12 models /including/ the 1-2 models
>not counted towards the unit total.
>
>I used usiz:max=12-eff for the transport
>I have coun on the leader.
>If I put coun on the leaders child unit I get an armybuilder error.
>
>How do I limit the tranport to 12 models?
>
>Thanks,
>Shawn


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com
 
Back
Top