Author Topic: Building Limit  (Read 6577 times)

Offline CK9

  • Administrator
  • Hero Member
  • *****
  • Posts: 6226
    • http://www.outpost2.net/~ck9
Building Limit
« Reply #25 on: July 17, 2006, 03:41:43 PM »
too bad there isn't a way to code a preventive line for this
CK9 in outpost
Iamck in runescape (yes, I still play...sometimes...)
srentiln in minecraft (I like legos, and I like computer games...it was only a matter of time...) and youtube...
xdarkinsidex on deviantart

yup, I have too many screen names

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4955
Building Limit
« Reply #26 on: July 17, 2006, 07:43:20 PM »
Keeping track of where units are on the map uses an 11 bit field, which should allow for 2048 units, minus "0" which is used for no unit. But the game has a hardcoded unit limit that would fit into 10 bits. I'm not sure, but maybe it was just a minor coding screwup. I found it rather curious when I first noticed that. Anyways, that's why I suggested we could probably up the unit limit to 2047 without any problems. I don't think it'd work past that though.