Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Data Files > Warhammer Fantasy 8th Ed.

Notices

Reply
 
Thread Tools Display Modes
dgirolamo
Junior Member
 
Join Date: May 2005
Posts: 18

Old June 13th, 2005, 02:35 PM
The Tomb Kings data file does not function properly with regards to fielding Settra the Imperisable. The rule shows in the data file notes, but does not calculate. The rule is:

An army including Settra must be comprised of at least 50% of Heavy Cavalry, Chariots, and Tomb Guards.

What is the status of this bug? I have written to the datafile author and have not received a reply. I have also gone to the AB40K Maintainers website, which has no categories for WH6, a search for Chaos or Tomb Kings yields nothing but 40K races.
dgirolamo is offline   #1 Reply With Quote
robert
Senior Member
Volunteer Data File Author
 
Join Date: Jun 2005
Posts: 528

Old June 13th, 2005, 08:46 PM
hi, this seems to be working fine? can you give me an example of a roster which this rule doesnt work with?
robert is offline   #2 Reply With Quote
dgirolamo
Junior Member
 
Join Date: May 2005
Posts: 18

Old June 14th, 2005, 03:31 PM
Sure, how do I attach a file?
dgirolamo is offline   #3 Reply With Quote
dgirolamo
Junior Member
 
Join Date: May 2005
Posts: 18

Old June 14th, 2005, 03:38 PM
As I have tried several times before, I have created a roster that does not include a single unit of either;

- Heavy Horseman
- Chariots
- Tomb Guards

When fielding Settra, half of your army must consist of these three units above. According to that rule, this roster would be out of compliance and would show an !! in the red diamond. On my PC this symbol does not show and when I hit the rule validation, there is no error shown. I would love for this to be an easy fix, but I don't see how. I have rebooted, and tried it with several new rosters.

Help!!
dgirolamo is offline   #4 Reply With Quote
dgirolamo
Junior Member
 
Join Date: May 2005
Posts: 18

Old June 14th, 2005, 04:38 PM
See File
dgirolamo is offline   #5 Reply With Quote
deathlynx
Senior Member
Volunteer Data File Author
 
Join Date: Mar 2005
Location: New Hampshire, USA
Posts: 388

Old June 16th, 2005, 05:45 PM
This should actually be fairly easy as you can give setra a helper tag...Then write a rule that invalidates only when this tag is present...

var tot as number
var com as number
if (tagexpr[roster.size999999] = 1) then
com = cost[total]
else
com = usersize
endif

tot = statcalc[setra]

if (tagcount[helper.setra] > 0) then
if (com > tot * 2) then
@valid = 0
endif
else
@valid = 1
endif

Then you need to write a stat calc named "setra";
var tot1 as number
var tot2 as number
var tot3 as number

if (isunit[tombgaurd] > 0) then
tot1 = this.cost[unit]
elseif (isunit[chariot] > 0) then
tot2 = this.cost[unit]
elseif (isunit[heavycav] > 0) then
tot3 = this.cost[unit]
endif
@value = tot1 + tot2 + tot3

This scritp can probably be pared down, and the actual unit IDs are probably wrong but this mostly just a basis for the scripts...Oh, and I might be wrong on the statcalc script..."this.cost[unit]" might need to be something else but I just threw it together quickly...
deathlynx is offline   #6 Reply With Quote
dgirolamo
Junior Member
 
Join Date: May 2005
Posts: 18

Old June 16th, 2005, 06:43 PM
I don't mean to sound disrespectful, but I don't know what to do with this script. I would think that the datafile author should release a bug fix to solve this.
dgirolamo is offline   #7 Reply With Quote
robert
Senior Member
Volunteer Data File Author
 
Join Date: Jun 2005
Posts: 528

Old June 17th, 2005, 11:17 AM
ah! i see the problem, there is an error when you are not using a points limit (if you tell armybuilder to impose a 3000 point limit you get the error). i will fix this right now.

thanks :-)
robert is offline   #8 Reply With Quote
dgirolamo
Junior Member
 
Join Date: May 2005
Posts: 18

Old June 17th, 2005, 07:16 PM
OK. I didn't try it that way. I have tested, and if you specify a point limit, the rule works perfectly. However, it should work for unlimited points. Thanks for agreeing to fix it. Looks like this is a good way to get bugs handled.
dgirolamo is offline   #9 Reply With Quote
deathlynx
Senior Member
Volunteer Data File Author
 
Join Date: Mar 2005
Location: New Hampshire, USA
Posts: 388

Old June 20th, 2005, 02:48 PM
The script was mostly for the (potential) use of the file author...Given I'm a fellow AB author and a WFB player I figured I'd drop the code just in case...
deathlynx is offline   #10 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 08:56 AM.


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