You are not logged in.
Pages: 1
Now I add many charaters to last level,I want to play see a big fight that's TCTF vs Syndicate,
but their health is too low,dead very easy
if i use chr_set_health,their real max health can't be changed
how could i change it?
Offline
"real" health can only be changed via hex editing.
Offline
"real" health can only be changed via hex editing.
I kown
but how should i do
Offline
how could i change it?
You can increase either the basic health of a character class in the ONCC files (position: 0xC58) or every single additional health of a character in the Character.BINA files (position: 0x1C8).
Offline
Oh,I fand the another convenient way
I fand the "additional health " here:
http://wiki.oni2.net/OBD:BINA/OBJC/CHAR
0x1C8 int32 00 00 00 00 0 additional health (the basic health is stored in the ONCC file of the character)
if I change 00 00 00 00 to C8 00 00 00,the charater's health will increased 200
but FF 00 00 00 is increase 255 health,how could I increase more?if I change it to 11 10 00 00,the health will be increased by more than four thousand= |
for example,500 in hex is 1F4 ,then how should I change it?
Offline
When working with Little Endian, keep in mind that only the bytes are swapped ("little" bytes on the left), but every single byte still reads right-to-left (the higher 4 bits are 0xF0 and the lower ones are 0x0F).
As for the examples you gave, 11 10 00 00 = 0x00001011 = 4113 = "more than four thousand" = If you want 256 = 0x100, you'll write 00 01 00 00, and if you want 500 = 0x1F4, you'll write F4 01 00 00.
Last edited by geyser (03/09/08 08:03)
Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.
Offline
thank you very much~good man :)you answer all questions here?~~
Offline
No, actually, there are a lot of helpful experts around here... Loser and m2, to name only 2.
I would hate to be the one to answer all the questions; being irreplaceable isn't always good.
Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.
Offline
Pages: 1