Thread: hard limits
View Single Post
  #6  
Old August 26th, 2002, 11:37 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: hard limits

Max. Component Size: 65535 kT.

Little story: I discovered this when I was trying to implement the Battle Pods from MOO2 (a component with negative size so it increases the size of your ship) - so anyway I set a colony module to -200kT to see if it would work, before I went to the trouble of writing descriptions and stuff, and lo and behold the colony module was 66 MT! So presumably the game uses an unsigned 16-bit integer to store component sizes, and so a value of -200 kT got translated to a value of 65336 kT, which in turn was rounded off to 66 MT for display.
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote