|
|
|
|
June 11th, 2002, 02:50 AM
|
Second Lieutenant
|
|
Join Date: Jun 2001
Location: Australia
Posts: 409
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Non-integer values in data files?
I've noticed that just about every mod uses pure integer values in the data files, can't they take decimals at all?
__________________
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!
|
June 11th, 2002, 02:58 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: Non-integer values in data files?
No, they can not use decimals.
|
June 11th, 2002, 03:58 AM
|
|
Lieutenant Colonel
|
|
Join Date: Jul 2001
Location: Orlando, FL
Posts: 1,259
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Non-integer values in data files?
"Easy" way around this: multiply all kt values by 10. Any kt value not ending in zero would be, proportionally, a decimal value.
__________________
The Unpronounceable Krsqk
"Well, sir, at the moment my left processor doesn't know what my right is doing." - Freefall
|
June 11th, 2002, 11:38 AM
|
Second Lieutenant
|
|
Join Date: Jun 2001
Location: Australia
Posts: 409
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|
June 11th, 2002, 07:44 PM
|
|
General
|
|
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
|
|
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?
|
June 11th, 2002, 08:11 PM
|
General
|
|
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|