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: IronDuke (proxy2.syd.pacific.net.au)
Date: 6/15/2001 at 5:24 a.m.

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

: that's because the variable declared by the program for
: the number of kills is only 8 bits (giving a range of
: -128 to 127, and yes it is possible to give units
: negative kills). if the number were allowed to spill
: above 127 in game it would flip to -128, which would
: be very nasty for the player.

Hmm. I wonder why they didn't make it an unsigned byte, hence allowing up to 255 kills? There's a lot of inbuilt limits in Myth that seem related to data-size (32 units in a group, scripting-wise for instance) that seem to use unusual numbers of bits. I'm sure they had their reasons...

cheers,
-Iron

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.