| View previous topic :: View next topic |
| Author |
Message |
Grayarea
Joined: 11 May 2005 Posts: 12
|
Posted: Fri Jul 01, 2005 7:55 am Post subject: Number format in zon files? |
|
|
Hi All,
I have been poking about in the config files looking for data related to the ship acceleration issue.
The number format is not one I have come across before and even with the help of a hex editor I am still unable to work out the encoding.
In the zone file the fields look like this
^Crashdepth^1234^^^
^=null
1234=four byte number
The three nulls seem to be being used as field seperators?
I have been using the crush depth mod to try and figure out what is happeneing but am quite confused!
Anyone give me a push in the right direction?
Thanks,
Grayarea. |
|
| Back to top |
|
 |
Grayarea
Joined: 11 May 2005 Posts: 12
|
Posted: Mon Jul 04, 2005 3:31 pm Post subject: |
|
|
Update:
The number would appear to be a float scaled by a factor of 1.4. I don't understand the reason for the scaling, anyone have an idea?
A couple of examples to show what I mean.
Crush depth file data float Crush*1.4
100 00000c43 1.40^2 140
200 00008c43 2.80^2 280
175 00007543 2.45^2 245
Seems consistant with more tests.
Later,
Grayarea. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|