Craft Modification . . .
Posted 18 July 2006 - 07:41 PM
Posted 18 July 2006 - 07:58 PM
I would assume that the stats for fuel capacity and ship weapons are in the executable someplace, but I don't know where. Spend some time looking through an editor and you might be able to figure it out.
Posted 18 July 2006 - 08:26 PM
Edited by 60mm, 18 July 2006 - 08:28 PM.
Posted 18 July 2006 - 09:52 PM
for the fuel i can't help you there
BF2 Hackers =5SF= have busted
]sD[ Engageo <-- couldn't get him banned though, no screenshot of him ingame
an AK guy
The anti-logarithm of the logarithm of X plus the logarithm of Y equals X times Y, or 10^(logX + logY) = XY
I hate spider solitaire...
Posted 18 July 2006 - 11:12 PM
Posted 19 July 2006 - 11:31 PM
Posted 20 July 2006 - 03:22 AM
In hexadecimal, 3300 is 0x0c1c.
The values are stored in little endian, which means it's stored in reverse. To convert 0x0c1c into little endian, split it into groups of two characters each - and if you don't have an even number of characters, add a 0 before the very first character. You'll notice that the pairing of two hex characters makes each pair into a byte - a value that can hold a number between 0 - 255)
So, with 0c1c, we can get two pairs of values, 0c and 1c (and if you convert these back to digits, that's 12 and 28). You'll find that the values will be stored as 1c 0c (or 28, 12). All you need to do to edit this is to take the new number you want, convert it, split it into bytes and then flip everything around.
To help you with the conversion of hex values, open up MS calculator (or if you have a scientific calculator with base-n functions you can use that instead), and switch to scientific mode. You can convert between decimal and hexadecimal values with the hex and dec radio buttons.
It sounds complicated, but once you've done it a few times, it'll come in real handy when you want to search for other known values in the executable.
edit: Ah, yes, I see you've discovered that in the craft editing thread.
Edited by NKF, 20 July 2006 - 03:26 AM.
Number of members: 1