--- In
armybuilder@yahoogroups.com, Versif <petark@n...> wrote:
> Brian Adamson writes
> >What i was hoping to find out is if there is a way to either add a
> >type to a unit from a separate unit, (I do know how to pass types
up
> >and down from parent to child and back (I could in theory make the
> >entire army a child of one unit, and have all the doctrince options
> >with utyp:XXX)) or to disable/enable an option from a separate
unit.
> >Either one would make all of these doctrines an absolute breeze.
>
> You could consider doing it a different way. Bear with me

>
> Create an HQ entry Doctrines. Adjust the comp down by one. Give
this
> entry 5 options. Set a hidden stat to 5 (the number of doctrines
> permitted. Use Icmp to compare this stat to delta, this checks
haven't
> exceeded the permitted number of doctrines. Options are
>
> restricted units
> organisation
> skills and drills
> special weapons
> Regiments of renown (or whatever)
>
> Starting with restricted units.
> Selecting this option brings up a child unit again with
disp:noprint
> set. It lists all the restricted units. Checking a unit sets a type
such
> as allowogryns. It also increases the parent delta stat by +1
>
> Each restricted unit is given the type ogrynrestricted (or
whatever).
> You can then use trat in the race entry to ensure that a minimum of
1
> allowogryns unit is taken for any number of ogryn units. Repeat for
all
> the restricted units using appropriate types.
>
> This is similar to what you have done using items.
>
> Take organisation next.
> Selecting this option brings up a child unit, again set not to
print out
> on the roster. It has 3 options as per the doctrines. Selecting
> mechanised sets type mechanised and increases the parent delta stat
by
> 1. All guard units that could be affected by this use the must
attribute
> as outlined in another post both to require and prevent chimeras.
Units
> that normally take a chimera would only have the must take a
chimera
> requirement whereas those without require both.
>
> Grenadiers would allow you to select an option in stormtroopers
that
> let's them be counted as troops and sets a specific type. This
would
> require the use of the must option again as well as the use of trat
in
> the race attributes and appropriate types to allow up to 3 St's
taken as
> troops. As they are not allowed to select infiltrate or deep
strike
> then you would need another test (which would have to distinguish
> between St's as troops and those taken as elites).
>
> Drop troops would work in a similar way to mechanised except units
> permitted to take this would require a drop troop option that sets
an
> appropriate type for a must option check as well as a trat check.
>
> Selecting skills and drills would bring up another non-printing
child
> unit with all the appropriate doctrines as options.
>
> Take Iron discipline. All officers have an option to select this.
Trat
> checks that this doctrine has been selected if an officer takes
this
> option or must is used to require the doctrine to be selected.
Either
> way should work. Repeat for most of the other doctrines
>
> Should be able to work out something similar for the special
equipment
> bearing in mind restrictions set by some of the other options.
>
> Last but not least would be the regiments option. Selecting this
brings
> up a list of the regiments. Selecting this would set the counter
stat
> used to the permitted number of doctrines and auto set all the
relevant
> options.
>
> Only the main doctrine entry prints out, all of the child units are
> invisible due to the use of disp:noprint.
>
> Assuming the theory actually works then the downside would be lots
of
> trat tests and lots of must option tests

>
> As regards the units you could put all of the potential doctrine
options
> under an option called doctrines. Selecting this would then display
> things like chimera, iron discipline etc. for that unit as
relevant.
> This would reduce the clutter on the units when not required. Thus
an
> infantry unit would have mechanised, drop troops, die hards jungle
> fighters etc.
>
> Probably as clear as mud and I've not really thought it through or
tried
> it out so it may be a load of cobblers

>
> Cheers
>
> --
> Versif, Nightgoblin backstabber and all round coward, but nice with
it.
> Kirkby-in-Ashfield, Nottinghamshire - whaddya mean, Robin Hood
wasn't a goblin?
I started out your way, but soon found (unless I'm missing something)
that a unit must have at lest one model in it for it to be a valid
trigger for reqd tests (as in 'reqd:type=allowOgryns@0u:1u-msg=diBB-
race=di') I assumed its the same for trat tests as well. This is why
I started using items on the command platoon and assigning types to
it. (seeing as it's '1' and not 0-1 or 1+ or anything like that, you
must have one, and the command platoon doesn't have any other items
avaliable to it to confuse matters) Putting the 'coun' attribute on
the command squad gives the command platoon a size that is only
really used for validation purposes, ie making reqd/trat recognise
it, (this is why the heavy weapon platoon suddenly only likes to have
two HW squads on it. (I've thought up a better way to control that,
so don't worry)
Also, this morning i thought up another way to control the 'must
haves'. The compulsory unit can have either type 'AMech' or
type 'NAMech' (Allow and Not-Allow respectively) It defaults to
NAMech. Selecting the mechanised doctrine switches it using 'dtyp'
or 'over' in combination with 'type'.
All the units that must take an option in a particular doctrine can
have either type 'WMech' or type 'WOMech' (with and with out). Again
WOMech is automatically added, and taking a chimera switches it.
Then put in trat:AMech@1u:WMech@1-flat (You must have at least one of
type 'allow mech' to have any 'with mech') and
trat:NAMech@1u:WOMech@1-flat (you must have one of type 'not allow
mech' to take any 'without mech'.
I'm pretty sure that'll fix that up. (We'll see as soon as i
implement it later today)
And I'm putting all the doctrines are in a conflict group of size 5.
(Sure beats raising stats then making a lcmp test for it.)
Thankyou all for your contribution.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, email
armybuilder-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/