Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Taubay
Member
Volunteer Data File Author
 
Join Date: May 2008
Posts: 32

Old June 15th, 2008, 03:12 AM
Hi chaps

well I'm going very well with the data files at the moment but I have hit another brick wall and I've been trying to work out a way to resolve it for the last 2 days

so this is my scenario
in my roster I have a parent unit called company which contains between 3 - 4 child units called platoons
each of those child units contains a unit called soldiers, the number of soldiers can be between 8 and 12 and they cost 6 points each
then there is a rule to allow soldiers to be upgraded to bombers for 1 point

so far so good

Now this is my problem;

the number of platoons that can become bombers is 1 every second platoon chosen
so if I have 2 platoons I can have one of those as bombers
if I have 4 then I can have 2 platoons of bombers

I was going to try and use an exculsion range to control the live status of the bomber options but again I cant find a way to do it

any ideas on this one?

cheers all

Mike
Taubay is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,796

Old June 15th, 2008, 10:55 AM
You might try an accrued tag that's assigned when you make someone a bomber - that way, the tag is accrued from the bomber to the platoon to the company, and you have a validation compare that to the number of platoon tags that have been accrued.
Mathias is online now   #2 Reply With Quote
Taubay
Member
Volunteer Data File Author
 
Join Date: May 2008
Posts: 32

Old June 16th, 2008, 12:02 AM
Hi Mgehl

thanks for your reply as always

I'm having a look at how accrued tags work and how you validate against them but they seem to be used for units and I've done the bomber upgrade an a stand alone option.

so how do I make the accrued tag only work when anoption is selected?

to give you an idea of my structure here is a view of it

Unit Company

->Unit Platoon
->->Unit Soldier
->->->Option Bomber

->Unit Platoon
->->Unit Soldier
->->->Option Bomber

->Unit Platoon
->->Unit Soldier
->->->Option Bomber

->Unit Platoon
->->Unit Soldier
->->->Option Bomber

so as all the soldiers have the ability of selecting the bomber option I need to validate against only those that have bomber option = selected and count them

cheers

Mike
Taubay is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,796

Old June 16th, 2008, 12:42 AM
When I create a data set, I always have a "Notes" tag group, with the "accrued" box checked in ABCreator. So, just assign your basic Platoon the "Platoon" tag in its entry in the .dat file.

In the option that makes them bombers, add an Eval script with:

var result as string
result = this.unit.assign[Notes.Bomber]

I made the set of files called "Aeronautica Imperialis" - there are some examples of accrued tags in that - the Accrued Notes group is used to mark options that are 1/roster, the Composition group is accrued because there are a few child units (Tau Air Cadre - Tiger Shark AX-2-2 and its children) that still need to be counted towards the roster and the transport stat is accrued because there are some scenarios where every point of troops landed is worth Victory Points, and you'll want to know how many points of troops you're bringing in to the battle when you're creating your roster.
Mathias is online now   #4 Reply With Quote
Taubay
Member
Volunteer Data File Author
 
Join Date: May 2008
Posts: 32

Old June 16th, 2008, 12:45 AM
Brilliant thanks for that I'll have a look through that now

I have created an accrued group and added a bomber option to it already but now I'll go and see how to link it all up

thanks once again

Mike
Taubay 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:12 PM.


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