.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   ? about VehicleSizes.txt (http://forum.shrapnelgames.com/showthread.php?t=6714)

DavidG July 21st, 2002 02:34 AM

? about VehicleSizes.txt
 
Does anyone know what the "Alternate Bitmap Name" field is used for in VehicleSizes.txt?

Baron Munchausen July 21st, 2002 02:51 AM

Re: ? about VehicleSizes.txt
 
Alternate Bitmaps. http://forum.shrapnelgames.com/images/icons/tongue.gif

If the PRIMARY bitmap is not found, it will try for the alternate before it goes to the 'generic' directory. And then it will even try both Primary and Alternate in the Generic directory, too.

[ July 21, 2002, 02:03: Message edited by: Baron Munchausen ]

DavidG July 21st, 2002 03:01 AM

Re: ? about VehicleSizes.txt
 
http://forum.shrapnelgames.com/image...s/rolleyes.gif Yea I guess that was kind of obvious. What I was getting at is why is it used (since it is often the same as the primary) but I guess the Alternate should always be a standard name while the primary could be a new pic type in a mod.

Fyron July 21st, 2002 03:43 AM

Re: ? about VehicleSizes.txt
 
It is used for mods. If you add a Heavy Destroyer, set it's primary bitmap to HeavyDestroyer.bmp and the alternate to Destroyer.bmp. Races with a HeavyDestroyer.bmp will use it, but those without one will use the Destroyer.bmp picture. The default races do this with Baseships.

Andrés July 21st, 2002 04:54 AM

Re: ? about VehicleSizes.txt
 
You have the Baseship example, and even an example of a stock shipset with a baseship picture (Praetorians).

[ July 21, 2002, 03:55: Message edited by: Andr&eacutes Lescano ]

Captain Kwok July 21st, 2002 06:29 AM

Re: ? about VehicleSizes.txt
 
Does anyone know if there is a maximum to how many ship size entires can be in VehicleSizes.txt?

Fyron July 21st, 2002 07:47 AM

Re: ? about VehicleSizes.txt
 
Umm... 256 squared?

Andrés July 21st, 2002 09:04 PM

Re: ? about VehicleSizes.txt
 
Max allowed tonnage is 65535
Checking if that's also the max number of entries is more difficult

Fyron July 21st, 2002 09:51 PM

Re: ? about VehicleSizes.txt
 
1 less than 256 squared. http://forum.shrapnelgames.com/images/icons/icon7.gif

DavidG July 21st, 2002 09:59 PM

Re: ? about VehicleSizes.txt
 
Hmm is this a common limit for values in se4? Just wondering if my program should error check for numbers larger than that.


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

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