Editing weapon damage

Nov 19, 2007 at 9:11 AM
Junior Member
"Wow! The more I drink of this magical beverage, the more games I can play! Wheee!"
Join Date: Jul 15, 2007
Location:
Posts: 29
I managed to find some offsets in the executable using Runelancer's hints.


0x8f074 - Snake lv1 damage
0x8f0a0 - Snake lv2 damage
0x8f0cc - Snake lv3 damage

0x8f0f8 - Polar Star lv1 damage
0x8f124 - Polar Star lv2 damage
0x8f150 - Polar Star lv3 (Spur lv1) damage

0x8f17c - Fireball lv1 damage
0x8f1a8 - Fireball lv2 damage
0x8f1d4 - Fireball lv3 damage

0x8f200 - Machinegun lv1 damage
0x8f22c - Machinegun lv2 damage
0x8f258 - Machinegun lv3 damage

0x8f284 - Missile Launcher lv1 damage -- NOTE: base damage is 0xA (or 0xF for lv2 and 0x5 for lv3), this value added to it, meaning if you define this 0x4, the damage will be 0xE.
0x8f2b0 - Missile Launcher lv2 damage
0x8f2dc - Missile Launcher lv3 damage

The value after the damage can be used to make the bullets hit multiple times (go through enemies).
 
Nov 19, 2007 at 12:56 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Nice :o
How you found out? :p

I hope you're going to add more offsets. :p

Edit: I figured out that the offsets are always 44 bytes away from each other. So just add 44 (0x2C) to the offset to get the next one :o

Edit Edit:

Just figured out with a calculator and help from TSC.

0x8F074 - Snake level 1 damage
0x8F0A0 - Snake level 2 damage
0x8F0CC - Snake level 3 damage

0x8F0F8 - Polar Star level 1 damage
0x8F124 - Polar Star level 2 damage
0x8F150 - Polar Star level 3 (Spur lv1) damage

0x8F17C - Fireball level 1 damage
0x8F1A8 - Fireball level 2 damage
0x8F1D4 - Fireball level 3 damage

0x8F200 - Machinegun level 1 damage
0x8F22C - Machinegun level 2 damage
0x8F258 - Machinegun level 3 damage

0x8F284 - Missile Launcher level 1 damage*
0x8F2B0 - Missile Launcher level 2 damage
0x8F2DC - Missile Launcher level 3 damage

0x8F308 - Missiles level 1 damage
0x8F334 - Missiles level 2 damage
0x8F360 - Missiles level 3 damage

0x8F38C - Bubbler level 1 damage
0x8F3B8 - Bubbler level 2 damage
0x8F3E4 - Bubbler level 3 damage

0x8F410 - [nothing] level 1 damage
0x8F43C - [nothing] level 2 damage
0x8F468 - [nothing] level 3 damage

0x8F494 - Blade 1 damage
0x8F4C0 - Blade 2 damage
0x8F4EC - Blade 3 damage

0x8F518 - Super Missile Launcher level 1 damage
0x8F544 - Super Missile Launcher level 2 damage
0x8F570 - Super Missile Launcher level 3 damage

0x8F59C - Super Missiles level 1 damage
0x8F5C8 - Super Missiles level 2 damage
0x8F5F4 - Super Missiles level 3 damage

0x8F620 - Nemesis level 1 damage
0x8F64C - Nemesis level 2 damage
0x8F678 - Nemesis level 3 damage

* NOTE: base damage is 0xA (or 0xF for lv2 and 0x5 for lv3), this value added to it, meaning if you define this 0x4, the damage will be 0xE.
 
Nov 19, 2007 at 1:55 PM
Been here way too long...
"What're YOU lookin' at?"
Join Date: Jan 21, 2007
Location:
Posts: 1111
The value after the damage is how many enemies the weapon will hit before ending; as far as using the polar star seems to go. Other weapons should work this way aswell, level 3 blade seems to be a slight exception.

the number given 3 values afterward is how long the weapon bullet stays on the arena.

Using the Polar Star as an example, you'll see the 1st 5 values of level 1 as...

01 01 00 00 08

First value = Damage delt; 0F (15) seems to be the maximum, as FF doesn't harm the enemy at all.

Second Value = Number of enemies it can hit before the bullet stops, take blade lv2 for example.

Fifth Value = Length of time the weapon stays; 1 being about 4 pixels.

So, if you want to scare the crap out of ballos, set it up to

0F 03 00 00 10

Level 1 polar star would do 15 damage, go through 3 enemies, and stay for the length of level 3 polar star.

Atm, I can't seem to increase the number of bullets out, or amount of exp to level up modifying the values that arn't 00. I'll just fiddle around some more, and see what happens.

EDIT:

XD!!

set all the values after the fifth to 01 until fireballs damage value. Firing the weapon appear to be invisable, and it hits the floor automatically. however, firing it upward or jumping and firing it...

...Explodes, and kills everything on the map!

No idea what values do what, but I'm going to move up a value every time, see what happens :p
 
Nov 19, 2007 at 2:16 PM
Junior Member
"Wow! The more I drink of this magical beverage, the more games I can play! Wheee!"
Join Date: Jul 15, 2007
Location:
Posts: 29
SP said:
How you found out? :p
I was searching for offsets in the weapon functions, and I found the first one. I later noticed that the offset wasn't in a weapon function, instead it was a few lines before the first one :p
ZTaimat said:
Atm, I can't seem to increase the number of bullets out
I recall that was hard coded in the weapon code.
 
Nov 19, 2007 at 3:59 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
0x00 - Damage
0x01 - Penetrating Power
0x04 - Range
0x08 - ???
0x0C - ??? (Horizontal Hitbox?)
0x10 - ??? (Vertical Hitbox?)
0x14 - ???
0x18 - ???
0x1C - ??? (Something to do with spawning and drawing)
0x20 - ??? (Something to do with spawning and drawing)
0x24 - ??? (Something to do with spawning and drawing)
0x28 - ???

0x8F074 - Snake level 1
0x8F0A0 - Snake level 2
0x8F0CC - Snake level 3

0x8F0F8 - Polar Star level 1
0x8F124 - Polar Star level 2
0x8F150 - Polar Star level 3 (Spur lv1)

0x8F17C - Fireball level 1
0x8F1A8 - Fireball level 2
0x8F1D4 - Fireball level 3

0x8F200 - Machinegun level 1
0x8F22C - Machinegun level 2
0x8F258 - Machinegun level 3

0x8F284 - Missile Launcher level 1*
0x8F2B0 - Missile Launcher level 2
0x8F2DC - Missile Launcher level 3

0x8F308 - Missiles level 1
0x8F334 - Missiles level 2
0x8F360 - Missiles level 3

0x8F38C - Bubbler level 1
0x8F3B8 - Bubbler level 2
0x8F3E4 - Bubbler level 3

0x8F410 - [nothing] level 1
0x8F43C - [nothing] level 2
0x8F468 - [nothing] level 3

0x8F494 - Blade 1
0x8F4C0 - Blade 2
0x8F4EC - Blade 3

0x8F518 - Super Missile Launcher level 1
0x8F544 - Super Missile Launcher level 2
0x8F570 - Super Missile Launcher level 3

0x8F59C - Super Missiles level 1
0x8F5C8 - Super Missiles level 2
0x8F5F4 - Super Missiles level 3

0x8F620 - Nemesis level 1
0x8F64C - Nemesis level 2
0x8F678 - Nemesis level 3

* NOTE: base damage is 0xA (or 0xF for lv2 and 0x5 for lv3), this

value added to it, meaning if you define this 0x4, the damage will be

0xE.
 
Nov 19, 2007 at 4:02 PM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
ZTaimat said:
EDIT:

XD!!

set all the values after the fifth to 01 until fireballs damage value. Firing the weapon appear to be invisable, and it hits the floor automatically. however, firing it upward or jumping and firing it...

...Explodes, and kills everything on the map!

No idea what values do what, but I'm going to move up a value every time, see what happens :p

OMG THATS JUST FREAKING AWESOME! You could make your very own new weapon called Earthquake xD. Anyway could you please explain in detail how to make it happen that way please? I would very much like to try it, if you've got the time that is =S. ^^
 
Nov 19, 2007 at 11:13 PM
Bonds that separate us
Forum Administrator
"Life begins and ends with Nu."
Join Date: Aug 20, 2006
Location:
Posts: 2857
Age: 34
Pronouns: he/him
turska said:
I managed to find some offsets in the executable using Runelancer's hints.
Ah, finally! A blessing on you, sir. :p

Looking through some of these, it actually explains quite a bit... like how weapons seem to do less against certain creatures, and why the Missiles/Super Missiles are so overpowered against Ballos' final form.

Also does anyone have the base damages for the Super Missile Launcher? And odd question, but is it possible to decrease them at all? And why are the missiles themselves listed as a weapon?
 
Nov 20, 2007 at 2:50 AM
Been here way too long...
"What're YOU lookin' at?"
Join Date: Jan 21, 2007
Location:
Posts: 1111
0x20 modifies how it's drawn, a greater value being drawn above, smaller being below. on the y axis, greater is left; smaller is right.


<0f-- ______ --0f>
<08--
--08>
<00--`````` --00>

^ -^- ^
0f 08 00
v - v - v

the y-axis is when he's looking up/down, however; not where it overlaps on him.

0x14 seems to affect 'drag' along walls, 0x18 affects 'drag' along the floor. (So if they arn't 02's, the polar star seems to hit the floor under quote, or a wall if shooting parallel)

EDIT(!):

0x24 seems to effect where along quote the attack spawns (16 seems to be where level2 sword spawns); however, this only seems to work for when he's facing right or down. Hmm... (This is only the drawn sprite, though. Damn.)
 
Nov 20, 2007 at 6:06 AM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
I will going to write a FAQ and host it on the FTP. :p
 
Nov 20, 2007 at 8:25 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
That would be helpful, SP.

Thank you contributers. Also, where can I find these offsets? Doukutsu.exe with a hex editor?

And when you guys are talking about this, is it to change the weapon damage ONLY? Or can we persay, change other stuff of the weapon?
 
Nov 20, 2007 at 11:31 AM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
Omg I don't get anything you guys are talking about. I feel like a sht.

Therefore, I shall wait for SP's HOLY FAQ!!! :D
 
Nov 20, 2007 at 2:06 PM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
Oi thats spamming! Delete that! D:

(so is this one :D)
 
Nov 20, 2007 at 2:53 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Would you stop spamming and insulting other members please?
Instead learning about hexadecimal and binary would be nice, or atleast the correct concepts for things like scripting and hacking instead of making fun of me and copy it into your signature. :D
 
Nov 20, 2007 at 3:29 PM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
LOL actually i like the sig :D

You should see what we said after that though... >.>
 
Nov 21, 2007 at 12:56 PM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
@S.P. - I wasn't making fun of you. In what way does that seem like making fun? If you are offended, I will remove it.

I would learn, but if I can't even figure out the binary pattern, what are the chances of success?

@Metalogz - Yeah. Too bad there isn't enough space left in my sig to put that in. D:
 
Nov 21, 2007 at 1:29 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
jcys810 said:
@S.P. - I wasn't making fun of you. In what way does that seem like making fun? If you are offended, I will remove it.

Metalogz said:
You should see what we said after that though... >.>

If you want to keep it, keep it.
I just don't think its funny since you want to learn hacking and I try to teaching it (and yeah, learning about "TSC = Scripting" is a base for hacking) but you don't take it serious and making jokes about it :D

If you don't take it serious it's something different still I don't like it too much.
Sometimes its hard to tell whats joking and what not :D

Still I don't like that you call me "ugly" I hear it often enough from people of my school, would be nice if you stop that.
 
Nov 21, 2007 at 1:37 PM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
If you want to keep it, keep it.
I just don't think its funny since you want to learn hacking and I try to teaching it (and yeah, learning about "TSC = Scripting" is a base for hacking) but you don't take it serious and making jokes about it :D
I WILL keep it IF you AREN'T offended. If you ARE offended, I WILL remove it. Which you haven't told me, are you offended by it? I do take it seriously, but I'm more of a trying-to-make-lessons-fun type. Thats why I joke. You probably misunderstood me. Or something. Or my short term memory loss is acting up again.
If you don't take it serious it's something different still I don't like it too much.
Sometimes its hard to tell whats joking and what not :D
Yeah, but if ristos said "lol" and Metalogz said "OMG", I think it is pretty obvious that it IS a joke.
Still I don't like that you call me "ugly" I hear it often enough from people of my school, would be nice if you stop that.
Okay. I will stop. But wasn't it you yourself who told me you were ugly. :/

And kept insisting you were uglier than me even after I said I was ugliest?
 
Nov 21, 2007 at 2:00 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
jcys810 said:
I WILL keep it IF you AREN'T offended. If you ARE offended, I WILL remove it. Which you haven't told me, are you offended by it? I do take it seriously, but I'm more of a trying-to-make-lessons-fun type. Thats why I joke. You probably misunderstood me. Or something. Or my short term memory loss is acting up again.

It's okay, since I know you was joking. It's okay if you do that sometimes but not if you do that all the time :D

jcys810 said:
Yeah, but if ristos said "lol" and Metalogz said "OMG", I think it is pretty obvious that it IS a joke.

Some people also say "lol" or "omg" if something isn't very funny ;P

jcys810 said:
Okay. I will stop. But wasn't it you yourself who told me you were ugly. :/

And kept insisting you were uglier than me even after I said I was ugliest?

lol well, still no reason why to tell me it all the time :x

Allright thanks.
I take things too serious, I guess :D
 
Nov 21, 2007 at 2:32 PM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
OMG I WANNA LEARN JUST THAT YOU DUN WANNA TEACH MEEE!!! D:

TEACH MEEEEE *deperate*

pls? :D
 
Nov 21, 2007 at 3:17 PM
Junior Member
"Wow! The more I drink of this magical beverage, the more games I can play! Wheee!"
Join Date: Oct 10, 2007
Location:
Posts: 20
Still I don't like that you call me "ugly" I hear it often enough from people of my school, would be nice if you stop that.

I call bullshit. :D
 
Back
Top