.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old June 11th, 2002, 11:38 AM

CW CW is offline
Second Lieutenant
 
Join Date: Jun 2001
Location: Australia
Posts: 409
Thanks: 0
Thanked 0 Times in 0 Posts
CW is on a distinguished road
Default Re: Non-integer values in data files?

Quote:
"Easy" way around this: multiply all kt values by 10. Any kt value not ending in zero would be, proportionally, a decimal value.
I was trying NOT to do that because I know I will horribly confuse myself. I'm talking about the engine movements and I don't really want to assign 10 movement points to the lowest tech Version. But if I can't use decimals then I suppose that is the only way to go.
__________________
A propeller is just a big fan in front of the plane designed to keep the pilot cool. Want prove? Stop the prop and watch the pilot break out in a heavy sweat!
Reply With Quote
  #2  
Old June 11th, 2002, 07:44 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: Non-integer values in data files?

Why _not_ assign 10 movements to the slowest engine? Just make your ships require 10 times as many engines per move
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #3  
Old June 11th, 2002, 08:11 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Non-integer values in data files?

Quote:
Originally posted by Ed Kolis:
Why _not_ assign 10 movements to the slowest engine? Just make your ships require 10 times as many engines per move
Because movement points are tracked by a single byte. That means a maximum limit of 255. At 10 movement points per engine that's only 25 engines max in any size ship before you cause a range check error. If it goes higher from there it will be much less. So, you see the problem?
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


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


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