• 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

AB Stats

  • Thread starter Thread starter kamero82 at yahoo.com
  • Start date Start date
K

kamero82 at yahoo.com

Guest
I was wondering if someone could help me out. If some stats of a
game use letters instead of numbers (A-E), how do you set it up in
the definition file so it will recognize and allow it?


------------------------ 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 11:25 AM 9/15/2003, you wrote:
>I was wondering if someone could help me out. If some stats of a
>game use letters instead of numbers (A-E), how do you set it up in
>the definition file so it will recognize and allow it?

For this purpose, you don't use the definition file at all, it's all in the
data files. Here are 3 ways of doing it:

1) If a unit has a stat 'Blah' with a value of 'D', give it the unit local
attribute 'attr:Blah="D"'.

2) If the stats can be selected by the user based on options, have an
option use the 'stxt:Blah="B"' attribute to change the stat value
appropriately.

3) If you need to be able to increment / decrement stats, for example if
you can take a 'Skrill Weapon' that increases your Blah stat by 2 letters
(e.g. from B to D or from A to C), you can use the a attribute like
'smap:Blah-map:1=A,2=B,3=C,4=D,5=E'. Then have the 'Skrill Weapon' option
just increase the value of Blah by 2 (using stat or base). Then, for a unit
with a Blah of C, give them the value '3' for the stat and Army Builder
will do all the work in turning it into numbers for you.

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