Lots of 0's

All things Military AI that don't fit anywhere else.
Post Reply
User avatar
col1948
Major
Major
Posts: 500
Joined: 08 Mar 2016, 09:53
Version: FS9
Location: Manchester EGCC

Lots of 0's

Post by col1948 »

Forgive my ignorance but I often notice in the aircraft.cfg there are lots of 0's after certain entries.
Example:
// Total Opensky Cargo - 17,350 lbs
station_load.2 =12300.000000, 45.000000, 0.000000, 0.000000, Lwr Dk Cgo Fwd
station_load.3 =12300.000000, -50.000000, 0.000000, 0.000000, Lwr Dk Cgo Aft
station_load.4 = 1000.000000, -70.000000, 0.000000, 0.000000, Lwr Dk Cgo Bulk

[TurbineEngineData]
bypass_ratio=4.970
fuel_flow_gain=0.002000
inlet_area=40.68
rated_N2_rpm=29920.000000
static_thrust= 60800.000
afterburner_available= 0
reverser_available= 1.000

[Reference Speeds]
flaps_up_stall_speed= 118.000
full_flaps_stall_speed= 94.400
cruise_speed= 452.16
max_indicated_speed=340.000000
max_mach=0.860010

//--------------------------------------------

In other cfg's the entry may look like:
max_indicated_speed=340.0
reverser_available=1.0

I never know when editing a cfg to round off some of these figures, will it make a difference?
I recently saw one but forget which aircraft it was but the figure was something like: cruise_speed=250.452380 could that have been cruise_speed=250.5 instead?
User avatar
Firebird
MAIW Admin
MAIW Admin
Posts: 12400
Joined: 11 Aug 2006, 21:04
Version: FS9
Location: EGLL

Re: Lots of 0's

Post by Firebird »

You can trim the zeroes after the decimal point down to a single one if you wish. Generally speaking those with several characters are generated by programs that can be used in fde creation.

On your second point if you wanted to round the speeds to the nearest number you will not do any harm. A different thing with other parms.
Steve
_______________________________________________________
Image
Quid Si Coelum Ruat

Chelsea FC - World Champions
_______________________________________________________
User avatar
col1948
Major
Major
Posts: 500
Joined: 08 Mar 2016, 09:53
Version: FS9
Location: Manchester EGCC

Re: Lots of 0's

Post by col1948 »

Hi Steve, Cheers mate, I did a bit of trimming but being careful, also I backed up the cfg just in case but it worked well after the edit.
Post Reply