• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Runtime modifying of Composition Groups...

  • Thread starter Thread starter alexdipinto at tiscalinet
  • Start date Start date
A

alexdipinto at tiscalinet

Guest
Hi, i'm making some datafile for Warhammer 40K Codex Chaos and i found
some problems...




1) How can i change only 1 composition group leaving the others
intact?


Ex. For Iron Warriors, I want an option to give me +1 Heavy support,
-2 Fast attack, leaving other composition groups as they are.




2) It is possible to iclude some sort of condition?


Ex. As above, I want +1 H.S., -2 F.A. but only if there are at least 2
F.A.




I need this also for Word Bearers, where i have to put 3 options


- Swap 1 Elite for Troop


- Swap 1 Fast Attack for Troop


- Swap 1 Heavy Support for Troop




So I need some sort of script that let me change these without
modifying the others comp. groups.




Any ideas? even other solutions for these are welcome...


Thanks



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
You could just use Composition Rule Sets, like I did for my CSM file for
Iron Warriors, which you can download at the 40k maintainer's site here:

http://ab40k3.pids.net/modules.php?op=modload&name=UpDownload&file=index&req=viewdownload&cid=5

Basically, you create a xbrk statements for the race for each scenario
where there are at least two fast attack choices that will reduce the FA
by 2 and increase the HS by one, and the user can select or deselect it in
the Roster | Composition Rule Set menu. The same thing could be done for
the Wordbearers. You need to make sure you add the -mode tag on the end
so that each xbrk only applies to the scenario you intend it to, such as
this attribute which can be selected in the Standard Mission scenario:

xbrk:"+1 Heavy
Slot"="HQ@1-2,Elit@0-3,Trp@2-6,Fast@0-1,Hvy@0-4,Othr@?"-mode=default

Mark

--- alex_di_pinto <alexdipinto@tiscalinet.it> wrote:
> Hi, i'm making some datafile for Warhammer 40K Codex Chaos and i found
> some problems...
>
> 1) How can i change only 1 composition group leaving the others
> intact?
>
> Ex. For Iron Warriors, I want an option to give me +1 Heavy support,
> -2 Fast attack, leaving other composition groups as they are.
>
> 2) It is possible to iclude some sort of condition?
>
> Ex. As above, I want +1 H.S., -2 F.A. but only if there are at least 2
> F.A.
>
> I need this also for Word Bearers, where i have to put 3 options
>
> - Swap 1 Elite for Troop
> - Swap 1 Fast Attack for Troop
> - Swap 1 Heavy Support for Troop
>
> So I need some sort of script that let me change these without
> modifying the others comp. groups.
>
> Any ideas? even other solutions for these are welcome...



=====
WF6 Army Builder File Manager
Direwolf FAQ Council - Army Builder Liaison
-
Warhammer Club - Vancouver, BC
http://www.WCP-Vancouver.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
Yes, but i need to specify all other composition groups, not only those i
want to change...
For Word bearers it doesn't work! Because i have 3 options per scenario
(swap elite for troop, swap f.attack for troop, swap h.support for troop)
and if i choose the first i have compo groups like this 1-2 HQ, 0-2 elite,
2-7 troops, 0-3 f.attack, 0-3 h.support, if i choose the second i have
compos like this 1-2 HQ, 0-3 elite, 2-7 troops, 0-2 f.attack, 0-3 h.support,
but if i choose both two? I should have 1-2 HQ, 0-2 elite, 2-8 troops, 0-2
f.attack, 0-3 h.support but it doesn't work this way! I need a way to
perform a relative change, like +1 Troop, -1 Fast Attack; +1 Troop, -1
H.Support and so on...


----- Original Message -----
From: "Mr. Green" <mach_5@rocketmail.com>
To: ab@support.wolflair.com
Sent: Tuesday, August 12, 2003 5:37 PM
Subject: Re: [AB] Runtime modifying of Composition Groups...


> You could just use Composition Rule Sets, like I did for my CSM file for
> Iron Warriors, which you can download at the 40k maintainer's site here:
>
>
http://ab40k3.pids.net/modules.php?op=modload&name=UpDownload&file=index&req
=viewdownload&cid=5
>
> Basically, you create a xbrk statements for the race for each scenario
> where there are at least two fast attack choices that will reduce the FA
> by 2 and increase the HS by one, and the user can select or deselect it in
> the Roster | Composition Rule Set menu. The same thing could be done for
> the Wordbearers. You need to make sure you add the -mode tag on the end
> so that each xbrk only applies to the scenario you intend it to, such as
> this attribute which can be selected in the Standard Mission scenario:
>
> xbrk:"+1 Heavy
> Slot"="HQ@1-2,Elit@0-3,Trp@2-6,Fast@0-1,Hvy@0-4,Othr@?"-mode=default
>
> Mark
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
I think the only other way to do it is using the acmp attribute in an
option. You could assign options to core units that lower the actual
troop unit count by one so that AB thinks there are fewer units than there
are, like "acmp:Trp-1u". So if you had 8 troop units and two of them had
this option checked, AB would count only 6 troop units.

You would still need some kind of check to make sure you don't take the
option more times than you are allowed (ie, more times than you have
unused elite/fast/heavy choices) and I can't really think of an easy way
to do that off the top of my head.

There is no way that I know of to dynamically change composition groups at
runtime the way you are proposing to.

Mark


--- Alessandro Di Pinto <alexdipinto@tiscalinet.it> wrote:
> Yes, but i need to specify all other composition groups, not only those
> i
> want to change...
> For Word bearers it doesn't work! Because i have 3 options per scenario
> (swap elite for troop, swap f.attack for troop, swap h.support for
> troop)
> and if i choose the first i have compo groups like this 1-2 HQ, 0-2
> elite,
> 2-7 troops, 0-3 f.attack, 0-3 h.support, if i choose the second i have
> compos like this 1-2 HQ, 0-3 elite, 2-7 troops, 0-2 f.attack, 0-3
> h.support,
> but if i choose both two? I should have 1-2 HQ, 0-2 elite, 2-8 troops,
> 0-2
> f.attack, 0-3 h.support but it doesn't work this way! I need a way to
> perform a relative change, like +1 Troop, -1 Fast Attack; +1 Troop, -1
> H.Support and so on...


=====
WF6 Army Builder File Manager
Direwolf FAQ Council - Army Builder Liaison
-
Warhammer Club - Vancouver, BC
http://www.WCP-Vancouver.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
At 12:59 PM 8/12/2003 +0000, you wrote:
>Hi, i'm making some datafile for Warhammer 40K Codex Chaos and i found
>some problems...
>
>1) How can i change only 1 composition group leaving the others
>intact?
>
>Ex. For Iron Warriors, I want an option to give me +1 Heavy support,
>-2 Fast attack, leaving other composition groups as they are.
>
>2) It is possible to iclude some sort of condition?
>
>Ex. As above, I want +1 H.S., -2 F.A. but only if there are at least 2
>F.A.
>
>I need this also for Word Bearers, where i have to put 3 options
>- Swap 1 Elite for Troop
>- Swap 1 Fast Attack for Troop
>- Swap 1 Heavy Support for Troop
>
>So I need some sort of script that let me change these without
>modifying the others comp. groups.

I had to do this just before I stopped work on the 40k files, when the Iron
Warriors etc came out in White Dwarf. The way to do it works as follows:

Create an option called something like "+1 Heavy Support". Give it to all
the Iron Warriors Heavy Support units (Havocs, etc). Then give it the
following attributes:

type:IWExtraHev
acmp:HvyS+1u
acmp:Fast-2u

Then add another lglx attribute. With this attribute, you want to disable
the option in any rulesets that have less than two heavy support choices
(for example, Battle: Defender, Raid: Defender, etc). It'll look something
like:

lglx:!(mode=btldef|mode=rddef|...)

Then the last thing you need to do is make sure the option can only be
taken once. Add a race attribute for the Iron Warriors, using tlmt,
ensuring that only one unit of type "IWExtraHev" can be taken, and you're
set. You can use the same idea for the Word Bearers, and all the other
'special' legions, too.

Hope this helps,


--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
Back
Top