.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   SEIV (http://forum.shrapnelgames.com/forumdisplay.php?f=149)
-   -   Max Family numbers (http://forum.shrapnelgames.com/showthread.php?t=36085)

Urendi Maleldil September 15th, 2007 02:15 AM

Max Family numbers
 
Anyone know if there's a maximum on the family numbers you can assign to components and weapons? I've developed a seven digit code to use to easily identify component types, but I don't know if SEIV will handle seven digit family numbers.

capnq September 15th, 2007 08:17 AM

Re: Max Family numbers
 
I don't know, but integer limits tend to be at boundaries one less than a power of two. The largest I can recall being mentioned around here is 65535 (=2^16-1). I'd be really surprised if seven digits works.

Suicide Junkie September 15th, 2007 10:46 AM

Re: Max Family numbers
 
I believe it is 64k for components, but 255 for facilities.

Urendi Maleldil September 15th, 2007 12:36 PM

Re: Max Family numbers
 
Hmm. I'll have to simplify my code a little bit.

Fyron September 15th, 2007 01:24 PM

Re: Max Family numbers
 
It is 65535 for facilities too. I haven't had any problems with numbers bigger than 255.


All times are GMT -4. The time now is 11:39 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.