Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I was messing in the biogames, and weapons file but what is the number system used? Never seen decimal points in hex before.

Any help would be amazing, I'm kinda just editing blind.

share|improve this question
    
I don't have the game, so I can't say anything about what they're doing, but there's nothing inherently wrong with having fractional parts in a hexadecimal number. It's not seen all that often, but it's entirely well-defined how such a number should be interpreted - it's the same principle as decimal fractional parts, only with 16 as the base instead of 10. –  Michael Madsen Mar 23 '12 at 22:56
1  
Where exactly is this issue? –  Ampersand Mar 23 '12 at 23:50

1 Answer 1

There's two ways fractions could be implemented - as a fixed-point representation, in which case several of the least significant bits would store the fractional part or much more likely as IEEE-754 single- or double-precision floating point numbers. Wikipedia describes IEEE-754 floats in more detail than I could hope to give.

share|improve this answer
    
Sorry about the delay went on vacation its under coalesced/biogame –  micheal Mar 31 '12 at 18:17
    
sorry about the delay went on vacation, so here is the example. adrenaline rush does a time dilation. which at base is 30% the base listed in the coalesced/biogames is basevalue=0.0f. –  micheal Mar 31 '12 at 18:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.