Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
rholte at blarg.com
Guest
 
Posts: n/a

Old August 13th, 2004, 05:23 AM
Ok for Ultimate warzone I need some help with two parts of the army
validation.

First off some basic system info, and the validation rules.
You have 4 types of units: Grunts, Elites, Personalities, and Support.
The base line rules are # of Grunt squads >= # of elite squads, # of
Grunt + Elite squads >= # of Personalities, and #/2 of grunts +
elites >= # of support. I have these coded.

>From there come my two problems. Problem one, each elite squad is
supposed to be the same size or smaller the a grunt squad, and each
grunt squad can only count this way for a single elite squad.

Second, taking allies counts againist your # of support units, but
you also need to obey the unit type limits looking at just the allied
units. So if you want to take an allied elite unit, you need to have
at least 1 allied grunt unit, as well as having 2 units (grunt
(s)/elites) of your basic army.

Any ideas?



------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSI...LSAA/IMSolB/TM
--------------------------------------------------------------------~->
  #1 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old August 17th, 2004, 04:29 AM
Within AB, there is no way to automatically and intelligently match up
grunt squads with elite squads to verify the size relationships. However,
you *COULD* use the leader/follower mechanism to accomplish the goal. If
you assign all elite squads as leaders and grunt squads as followers (or
vice versa), you could then let the user match up the squads as he saw fit
and then AB could verify the size relationships. This isn't necessarily an
ideal solution, but it would definitely work.

You could model allies the same way as above and require that the
leader/follower connection pair up units of the same race. Then you could
have a simple validation rule that ensured you had more core units than allies.

Hope this helps,
Rob

At 04:25 AM 8/13/2004 +0000, you wrote:

>Ok for Ultimate warzone I need some help with two parts of the army
>validation.
>
>First off some basic system info, and the validation rules.
>You have 4 types of units: Grunts, Elites, Personalities, and Support.
>The base line rules are # of Grunt squads >= # of elite squads, # of
>Grunt + Elite squads >= # of Personalities, and #/2 of grunts +
>elites >= # of support. I have these coded.
>
> >From there come my two problems. Problem one, each elite squad is
>supposed to be the same size or smaller the a grunt squad, and each
>grunt squad can only count this way for a single elite squad.
>
>Second, taking allies counts againist your # of support units, but
>you also need to obey the unit type limits looking at just the allied
>units. So if you want to take an allied elite unit, you need to have
>at least 1 allied grunt unit, as well as having 2 units (grunt
>(s)/elites) of your basic army.
>
>Any ideas?


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 588-8252
Lone Wolf Development www.wolflair.com




------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20...LSAA/IMSolB/TM
--------------------------------------------------------------------~->
rob is offline   #2 Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeking Feedback... devihughes at earthlink.n Card Vault 3 June 21st, 2003 12:36 AM
Seeking: Gropos File Creator dmiller23 at neo.rr.com Army Builder 1 May 25th, 2002 02:41 PM


All times are GMT -8. The time now is 02:26 PM.


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