Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder

Notices

Reply
 
Thread Tools Display Modes
shaggai
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Matawan, NJ, USA
Posts: 158

Old May 31st, 2005, 01:09 PM
I'm trying to set up an option which will only show (or be able to be selected) once for every 5 members of a unit. (Basically Fanatics in a Zealot mob for the 40K Witch Hunters).

I've gone back in the discussions and seen "trat", but I'd like to know if anyone has it in any type of AB3 file so I can see an example of how everything needs to be set up for it to work right.
shaggai is offline   #1 Reply With Quote
Warmonger
Member
Volunteer Data File Author
 
Join Date: Apr 2005
Location: North Western Arizona
Posts: 97

Old May 31st, 2005, 01:17 PM
I would like to see something for hidden/visible/ratio controlled options like this too. Best I've been able to come up with is a validation rule that will tell you if it's legal after it's all done.
Warmonger is offline   #2 Reply With Quote
harkan
Senior Member
Volunteer Data File Author
 
Join Date: Mar 2005
Posts: 345

Old May 31st, 2005, 01:22 PM
if you create a stat for the parent unit and have a postscript that calculates it based upon the ratio required rounded down, i.e. fanatic. Kepp the name short enough so you can refer to it in a runtime call.

Create an exclusion based on 0 to @fanatic. Create the option based on a range of 0 to max number of fanatics within the mob, i.e. if max size is 20 then max range would be 4. Apply the exclusion to the range based option and add a live statement so that if val:runtime.fanatic? > 0 it is live.

Ideally what should then happen is that once the first 5 zealots are add the option then displays with a range limited to 1 due to the exclusion referencing the stat, as more models are added then the exclusion increases.

Chosen use the principle for 1 weapon swap for every 3 models and seems to work OK but would be nice to have an easier solution?
harkan is offline   #3 Reply With Quote
shaggai
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Matawan, NJ, USA
Posts: 158

Old May 31st, 2005, 03:02 PM
Thanks harkan,

Along with perusing the Chaos file, I managed to get what I wanted to going. Just required a little extra on my part as I have the Fanatic option open up a new link, rather than just add to the basic squad (since the Fanatics have an extra option solely their own).
shaggai is offline   #4 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old May 31st, 2005, 04:08 PM
At 04:23 PM 5/31/2005 -0400, you wrote:
>Chosen use the principle for 1 weapon swap for every 3 models and seems to
>work OK but would be nice to have an easier solution?

The big limitation within AB2 was that the engine worked beautifully for
80+% of the situations, but authors hit a wall when wanting to do something
a bit more complex that wasn't already anticipated. With AB3, the pendulum
has swung the other direction a bit. With all the flexibility comes the
need to actually do a bit more work sometimes, as compared to AB2.
Ratio-based options are a prime example.

If there are things like this that you run into multiple times, tell us
about them. When we start planning for V3.1, we'll see if there are ways we
can streamline things that occur regularly to simplify things in the
future. Unfortunately, there was no way for us to know what all of those
situations are in advance.

-Rob

---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (408) 927-9880
Lone Wolf Development www.wolflair.com
rob is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:15 AM.


Powered by vBulletin® - Copyright ©2000 - 2020, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.