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
keithr at canada.com
Guest
 
Posts: n/a

Old April 25th, 2001, 10:29 PM
Hello,
Sorry to bother you again.

The file I'm working on has a stat depending on
the vehicle it could be a + or - modifier.

Under Stat Definition "Is Signed?" it says you can display
a stat with a + or - modifier. Is it possible to
have a single stat able to display a + or - not
just one or the other. If so
how?

TIA
Keith
  #1 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old April 25th, 2001, 10:56 PM
ALL stats are inherently able to support both positive and negative values.
The "Is Signed" field specifies that the stat should always be DISPLAYED
with a leading "+" or "-" on it. By default, all stats display a leading
"-" if they are negative and have NO leading indicator if they are
positive. The "Is Signed" field puts a leading "+" in front of the value
when positive.

Hope this helps,
Rob


At 06:27 AM 4/26/2001 +0000, you wrote:
>Hello,
>Sorry to bother you again.
>
>The file I'm working on has a stat depending on
>the vehicle it could be a + or - modifier.
>
>Under Stat Definition "Is Signed?" it says you can display
>a stat with a + or - modifier. Is it possible to
>have a single stat able to display a + or - not
>just one or the other. If so
>how?
>
>TIA
>Keith


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com
rob is offline   #2 Reply With Quote
keithr at canada.com
Guest
 
Posts: n/a

Old April 26th, 2001, 08:24 AM
Ok, then my problem is how do I indicate a negative or
possitive stat when using abcreator?

Thanks
Keith

--- In armybuilder@y..., Rob Bowes <rob@w...> wrote:
> ALL stats are inherently able to support both positive and negative
values.
> The "Is Signed" field specifies that the stat should always be
DISPLAYED
> with a leading "+" or "-" on it. By default, all stats display a
leading
> "-" if they are negative and have NO leading indicator if they are
> positive. The "Is Signed" field puts a leading "+" in front of the
value
> when positive.
>
> Hope this helps,
> Rob
>
>
> At 06:27 AM 4/26/2001 +0000, you wrote:
> >Hello,
> >Sorry to bother you again.
> >
> >The file I'm working on has a stat depending on
> >the vehicle it could be a + or - modifier.
> >
> >Under Stat Definition "Is Signed?" it says you can display
> >a stat with a + or - modifier. Is it possible to
> >have a single stat able to display a + or - not
> >just one or the other. If so
> >how?
> >
> >TIA
> >Keith
>
>
> --------------------------------------------------------------------
-------
> Rob Bowes (rob@w...) (650) 726-9689
> Lone Wolf Development
www.wolflair.com
  #3 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old April 26th, 2001, 11:13 AM
Er, whatever the value of the stat happens to be? Let's say you have a stat
"Foo". You specify the initial value of that stat to be 1 for a unit (via
the unit record in ABCreator). Then you use the "stat" attribute on an
equipment option that adjusts "stat:foo-2". This changes the stat value to
"-1" and the stat is displayed as "1/-1". Try creating a unit with stat
values of -2, -1, 0, 1, and 2. You'll see how AB displays them.

NOTE! Make sure that you set the minimum and maximum values in the
definition file to something like -10 and 10, respectively. If you set them
to zero, you won't see any negative values!

Thanks, Rob


At 04:24 PM 4/26/2001 +0000, you wrote:

>Ok, then my problem is how do I indicate a negative or
>possitive stat when using abcreator?
>
>Thanks
>Keith


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com
rob is offline   #4 Reply With Quote
keithr at canada.com
Guest
 
Posts: n/a

Old April 26th, 2001, 12:17 PM
Thank you very much. I think I understand now

Keith

--- In armybuilder@y..., Rob Bowes <rob@w...> wrote:
> Er, whatever the value of the stat happens to be? Let's say you
have a stat
> "Foo". You specify the initial value of that stat to be 1 for a
unit (via
> the unit record in ABCreator). Then you use the "stat" attribute on
an
> equipment option that adjusts "stat:foo-2". This changes the stat
value to
> "-1" and the stat is displayed as "1/-1". Try creating a unit with
stat
> values of -2, -1, 0, 1, and 2. You'll see how AB displays them.
>
> NOTE! Make sure that you set the minimum and maximum values in the
> definition file to something like -10 and 10, respectively. If you
set them
> to zero, you won't see any negative values!
>
> Thanks, Rob
>
>
> At 04:24 PM 4/26/2001 +0000, you wrote:
>
> >Ok, then my problem is how do I indicate a negative or
> >possitive stat when using abcreator?
> >
> >Thanks
> >Keith
>
>
> --------------------------------------------------------------------
-------
> Rob Bowes (rob@w...) (650) 726-9689
> Lone Wolf Development
www.wolflair.com
  #5 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


All times are GMT -8. The time now is 05:01 PM.


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