Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Army Builder (http://forums.wolflair.com/forumdisplay.php?f=16)
-   -   Restricting units based on game size and ruleset (http://forums.wolflair.com/showthread.php?t=56925)

rnrusa16 November 5th, 2016 07:46 AM

Restricting units based on game size and ruleset
 
Hi, I'm new to authoring files for AB. Tutorials and such have gotten me to a somewhat functional state but I'm missing something and have not been able to find it in my searches.

I've got 2 rulesets, one core and one that is a little more restrictive for tournaments. Based on points value of the list, different types of units are restricted, either in number or not allowed altogether.

I found that I could put a restriction on the number in the unit type itself, but this is carrying through everything. How do I restrict based on points value of the game and then ruleset being used?

Thanks!

Harkan_again November 26th, 2016 06:32 AM

For units that are not allowed in the tournament ruleset then put in the member section a "not" live tag, i.e. !(ruleset.tournament) - that will stop it from being displayed.

For the units that are restricted in number that can be taken then try using a merge script and tag - if you have a look at the Bolt Action datafiles and the limit tag and the limit rules (in generalBADat.dat) - you can then put an override on each unit that is restricted in number that when the tournament ruleset is active the tag is applied which then will restrict the number allowed

Hope that helps


All times are GMT -8. The time now is 03:59 PM.

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