Forums Loading, stand by... HOME

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Re: Myth II veteran skills

Posted By: SiliconDream =PN= (as3-2-4.HIP.Berkeley.EDU)
Date: 6/10/2001 at 11:13 p.m.

In Response To: Re: Myth II veteran skills (Martel)

: Probably. I know the kill limit in Starcraft is 250
: (after one occasion in which my Battlecruiser hero
: singlehandedly destroyed three enemy bases), although
: 127 does seem a rather odd limit. I'd have though it
: would be more likely to be a round number, probably a
: multiple of ten. Still... (shrugs)

When values are stored as binary code, n digits allow for 2^n values. For instance, 3 digits allow for 8 values, from 000 to 111.

So most integer fields in computer programs take 2^n values, from 0 to (2^n - 1). 0 to (128 - 1) in this case. If you do much editing of Myth, you get used to seeing some common (2^n - 1) maximum values, in particular 63, 127, 255 and 32767.

If Starcraft or other programs max at a multiple of 10, that's just a concession to the user's cultural preference for base-10 math.

--SiliconDream, who lost 32767 pints of blood in Yosemite

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

For your own future enjoyment, please report any major forum abusers or cgi errors so we can remedy the problem. If you have any questions email us.

The Asylum

The Asylum is maintained by Myth Admin with WebBBS 5.12.