A
ace at madbomber.net
Guest
Ok--I'm attempting to restrict the following from being selected for
a particular unit type: Options, Items, and Tweaks.
In other words: here is the example (in regards to the Games Workshop
Inquisitor file):
There are various "categories" that a weapon falls into:
- common
- rare
- exotic
- legendary
- alien technology
- daemonic weapons
The first 4 are mutually exclusive--a weapon/item can ONLY be one of
the 4 (common, rare, exotic, or legendary).
The last 2 are additive in nature--a weapon can be exotic and alien,
or even exotic, alien, and daemonic.
Now: each unit/character type in the game MAY be restricted in what
it can take--for example, Mutants can ONLY take common items and
daemonic items. They can't take rare, exotic, legendary, or alien
technology.
Here's how I've rendered this:
I've created 5 options:
- PrevRare: appends the "type" of "R" to a unit
- PrevLeg: appends the "type" of "L" to a unit
- PrevAlnT: appends the "type" of "A" to a unit
- PrevExo: appends the "type" of "E" to a unit
- PrevDaem: appends the "type" of "D" to a unit
FOr a unit (like the Mutant), these options are "auto" selected
through the option links. This results, for the Mutant as an
example, in the Mutant having 4 types: R, L, E, and A (but not D).
So far, so good.
Now: On the items, options, and tweaks that ARE limitable by their
rarity/type, I've used the following:
Options: "utyp:!E" as an example of limiting the option to only be
shown when one of the unit's types does NOT equal E (i.e. !E = NOT E).
Items: "itst:!type=E" as an example of limiting the item to only be
shown when one of the unit's types does NOT equal E (i..e !type=E =
type not equal to E).
Tweaks: "zutp:!E" as an example of limiting the tweak to only be
shown when one of the unit's types does NOT equal E (i.e. !E = NOT E).
This is working fine on the options and items, but NOT on the
tweaks. For some reason, the tweak still displays even when zutp:!L
(or a similar example) is set for that tweak.
For an example, see the Inquisitor file over in ab-files. It's in the
folder labeled "Inquisitor (English Version)". Add the Mutant as a
unit. Then click on armour, go to the items screen. Select "Force
Fields" from the drop down. Pick a location (doesn't matter) and add
it. Go back to main AB screen, select that newly added item (e.g.
Abdomen Force Field). You shouldn't be able to see "Displacer Field"
b/c it's a legendary item, but you can see it.
In other words: Displacer Field is a tweak, with the attribute
of "zutp:!L" on it. The Mutant has auto-added the "PrevLeg" option,
which gives it the type "L". This combination should prevent
the "displacef field" option from showing on the Mutant (I think).
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Win a Marvel vs. CapCom 2 Arcade System!
Click Here to Enter...
http://us.click.yahoo.com/uTyA4B/o58CAA/9ZuFAA/IMSolB/TM
---------------------------------------------------------------------~->
a particular unit type: Options, Items, and Tweaks.
In other words: here is the example (in regards to the Games Workshop
Inquisitor file):
There are various "categories" that a weapon falls into:
- common
- rare
- exotic
- legendary
- alien technology
- daemonic weapons
The first 4 are mutually exclusive--a weapon/item can ONLY be one of
the 4 (common, rare, exotic, or legendary).
The last 2 are additive in nature--a weapon can be exotic and alien,
or even exotic, alien, and daemonic.
Now: each unit/character type in the game MAY be restricted in what
it can take--for example, Mutants can ONLY take common items and
daemonic items. They can't take rare, exotic, legendary, or alien
technology.
Here's how I've rendered this:
I've created 5 options:
- PrevRare: appends the "type" of "R" to a unit
- PrevLeg: appends the "type" of "L" to a unit
- PrevAlnT: appends the "type" of "A" to a unit
- PrevExo: appends the "type" of "E" to a unit
- PrevDaem: appends the "type" of "D" to a unit
FOr a unit (like the Mutant), these options are "auto" selected
through the option links. This results, for the Mutant as an
example, in the Mutant having 4 types: R, L, E, and A (but not D).
So far, so good.
Now: On the items, options, and tweaks that ARE limitable by their
rarity/type, I've used the following:
Options: "utyp:!E" as an example of limiting the option to only be
shown when one of the unit's types does NOT equal E (i.e. !E = NOT E).
Items: "itst:!type=E" as an example of limiting the item to only be
shown when one of the unit's types does NOT equal E (i..e !type=E =
type not equal to E).
Tweaks: "zutp:!E" as an example of limiting the tweak to only be
shown when one of the unit's types does NOT equal E (i.e. !E = NOT E).
This is working fine on the options and items, but NOT on the
tweaks. For some reason, the tweak still displays even when zutp:!L
(or a similar example) is set for that tweak.
For an example, see the Inquisitor file over in ab-files. It's in the
folder labeled "Inquisitor (English Version)". Add the Mutant as a
unit. Then click on armour, go to the items screen. Select "Force
Fields" from the drop down. Pick a location (doesn't matter) and add
it. Go back to main AB screen, select that newly added item (e.g.
Abdomen Force Field). You shouldn't be able to see "Displacer Field"
b/c it's a legendary item, but you can see it.
In other words: Displacer Field is a tweak, with the attribute
of "zutp:!L" on it. The Mutant has auto-added the "PrevLeg" option,
which gives it the type "L". This combination should prevent
the "displacef field" option from showing on the Mutant (I think).
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Win a Marvel vs. CapCom 2 Arcade System!
Click Here to Enter...
http://us.click.yahoo.com/uTyA4B/o58CAA/9ZuFAA/IMSolB/TM
---------------------------------------------------------------------~->