Jump to content
Sign in to follow this  
CT075

Applying status effects to weaponry

Recommended Posts

you'd better appreciate this, arch

Because I owe Arch a favor for the "vergil" thing, I spent an entire day and a half rewriting the damage routine to make applying status effects to a weapon (ala sleep sword, FE4/FE5-style).

patch is impl.dmp

The patch is meant for use with my Assembly Patcher, but is also compatible with Hextator's (it's in his doc somewhere). I probably won't get around to making a ups but who knows?

use on an fe7 base - it will not work on fe6 or fe8

EDIT:

Corrected link can be found here

also:

[6/13/2012 8:28:12 PM] Cam: I might need until tomorrow to give you the fix

[6/13/2012 8:28:22 PM] Cam: right now i'm like totally stumped

[6/13/2012 8:28:37 PM] Archibald: Mmm'kay

[6/13/2012 8:28:53 PM] Archibald: Might you have messed something up with the "Steal HP" weapon effect itself?

[6/13/2012 8:29:00 PM] Cam: Possibly

[6/13/2012 8:29:08 PM] Cam: That's actually what I was looking into

[6/13/2012 8:29:09 PM] Archibald: If it's not the routine, that'd be the place to look.

[6/13/2012 8:29:13 PM] Cam: but it matches exactly with the original- Oh

[6/13/2012 8:29:18 PM] Cam: the steal hp is written inline

[6/13/2012 8:29:21 PM] Archibald: xD

[6/13/2012 8:29:23 PM] Cam: it's not a separate routine

[6/13/2012 8:29:32 PM] Cam: it might be my check

[6/13/2012 8:29:43 PM] Cam: but then it wouldn't give the glitch i"m seeing

[6/13/2012 8:29:48 PM] Cam: idunnomang

[6/13/2012 8:30:05 PM] Archibald: For RH

[6/13/2012 8:30:12 PM] Archibald: Wrong window

[6/13/2012 8:30:15 PM] Cam: lol

[6:30:08 PM] Cam: https://dl.dropbox.com/u/12592553/FE%20Hacking%20Doc/ASM/Requests/status%20swords/impl.dmp

this one should work

[6:35:21 PM] Archibald: Awesome.

[6:35:27 PM] Archibald: Could you link me to the assembly patcher again?

[6:35:38 PM] Archibald: I have a bad habit of deleting things that sit on my desktop :P

[6:35:43 PM] Cam: https://dl.dropbox.com/u/12592553/FE%20Hacking%20Doc/Applications/Assembly%20Patcher/patcher.py

[6:37:07 PM] Archibald: Not quite

[6:37:29 PM] Archibald: The second attack is always No Damage

[6:37:46 PM] Cam: ...

[6:37:48 PM] Cam: fff-

[6:40:17 PM] Cam: oh shit

[6:40:19 PM] Cam: i see the problem

[6:42:23 PM] Cam: ...or no i don't

[6:42:24 PM] Cam: what the

[6:43:49 PM] Archibald: Also, this is interesting

[6:44:05 PM] Archibald: On the battle preview display, the game won't show damage more than the foe's HP

[6:44:19 PM] Archibald: Lowen's damage shows at 1, because the foe has 1 HP left

[6:44:22 PM] Cam: ...

[6:44:22 PM] Cam: what

[6:44:28 PM] Cam: /what/

[6:44:30 PM] Archibald: THat's not too bad

[6:44:34 PM] Cam: oh i messed up a branch that's why

[6:44:40 PM] Archibald: http://puu.sh/AL1t

[6:44:54 PM] Cam: truthfully i kind of like that

[6:45:00 PM] Archibald: Yeah, keep that

[6:45:02 PM] Cam: okay

[6:45:07 PM] Cam: i dunno what caused that though

[6:45:10 PM] Archibald: But fix the part where attacks after the first one fuck up :P

[6:45:16 PM] Cam: yeah

[6:45:20 PM] Archibald: Second attack is always no damage

[6:45:25 PM] Cam: it's not no damage

[6:45:26 PM] Archibald: And the third attack, if it happens, is weird

[6:45:27 PM] Cam: it just displays like that

[6:45:30 PM] Archibald: No Damage displays

[6:45:31 PM] Cam: the damage is actually done

[6:45:35 PM] Archibald: Yeah

[6:45:37 PM] Cam: so...

[6:45:42 PM] Cam: probably a buffer fuckup on my part

[6:45:47 PM] Archibald: The damage is processed, it just needs to be displayed

[6:45:55 PM] Archibald: The third attack Marcus did on this bandit made his HP go up

[6:46:30 PM] Cam: ...

[6:46:37 PM] Cam: i, uh

[6:46:40 PM] Cam: i'll get back to you on that

[6:46:44 PM] Archibald: xD

[6:47:33 PM] Cam: oh i'm stupid

[6:49:05 PM] Cam: wait no that breaks it again

[6:49:07 PM] Cam: ...huh?

[6:49:34 PM] Archibald: welp. I'm gonna make a fun hackign video with Marcus's bandit troubles

[6:49:38 PM] Cam: XD

[6:50:05 PM] Cam: okay it's the buffer breaking again

[6:50:07 PM] Cam: uhhh

[6:51:20 PM] Cam: okay i'm stupid again

[6:51:35 PM] Archibald: make up your mind

[6:51:45 PM] Archibald: it goes from 'stupid' to 'buffer' and back and forth :P

[6:52:17 PM] Cam: the two aren't mutually exclusive

[6:52:27 PM] Cam: seeing as it's my stupidness that's making the buffer break

[6:53:03 PM] Cam: AHA!

[6:53:32 PM] Cam: https://dl.dropbox.com/u/12592553/FE%20Hacking%20Doc/ASM/Requests/status%20swords/impl.dmp

[6:53:34 PM] Cam: This should work

[6:53:37 PM] Cam: (for the thir dtime)

[6:54:54 PM] Archibald: Ohp.

[6:55:06 PM] Archibald: the 1HP thing went away

[6:55:11 PM] Cam: yeah

[6:55:13 PM] Archibald: But other than that, it seems to be functioning perfectly

[6:55:15 PM] Cam: unfortunately

[6:56:08 PM] Archibald: Cam, I think we're back to one of the earlier issues

[6:56:12 PM] Cam: I know how the 1hp thing happene- what

[6:56:13 PM] Archibald: Status effects not being applied

[6:56:17 PM] Cam: ...

[6:56:21 PM] Cam: .....

[6:56:23 PM] Cam: whyyy

[6:56:37 PM] Cam: if regular poison works though then i know what went wrong

[6:56:42 PM] Cam: (it also means you have to put up with purple flashes)

[6:56:55 PM] Archibald: Wait.

[6:57:09 PM] Cam: ?

[6:57:14 PM] Archibald: Well, the purple flashes are there.

[6:57:21 PM] Cam: it's... just not being applied

[6:57:22 PM] Cam: ?

[6:57:23 PM] Archibald: But I simply took away my test item's thing

[6:57:27 PM] Archibald: And didn't remember doing so

[6:57:29 PM] Cam: ...

[6:57:33 PM] Archibald: Steel Axes applied silence for testing

[6:57:33 PM] Cam: so it's not my fault?

[6:57:35 PM] Archibald: I took it away

[6:57:37 PM] Archibald: Not your fault :P

[6:57:40 PM] Cam: yessss

[6:57:57 PM] Cam: I can try to bring back the 1 hp if you want

[6:58:10 PM] Archibald: That'd be kinda cool, if you want to put the effort in.

[6:58:13 PM] Cam: i'm not 100% sure about it's effects (does 16x2 vs. 28 damage display as 14x2 or what)

[6:58:22 PM] Cam: I'll just give you the patch and let you decide

[6:58:37 PM] Cam: it's just commenting out two lines anyway

Edited by CT075

Share this post


Link to post
Share on other sites

Just apply the patch, and replace your 'Weapon Effect.txt' file's contents with this:

13
0x00 Nothing
0x01 Poison
0x02 Sleep
0x03 Silence
0x04 Berserk
0x05 Filla's Might
0x06 Ninis' Grace
0x07 Thor's Ire
0x08 Set's Litany
0x09 Nothing
0x0A Steals HP
0x0B Halves HP
0x0C Devil Reversal

Then, you're good to go. Awesome work, Cam!

Edited by Arch

Share this post


Link to post
Share on other sites

UNINTENDED SIDE EFFECT

[7:59:06 PM] Cam: oh lawd

[7:59:09 PM] Cam: using value 0x9

[7:59:11 PM] Cam: does a ton of shit

[7:59:50 PM] Astra: ?

[8:00:01 PM] Cam: using 0x9

[8:00:05 PM] Cam: makes it do half HP

[8:00:07 PM] Cam: devil

[8:00:08 PM] Cam: AND steal HP

Share this post


Link to post
Share on other sites

Where would the HP go if devil effect occurs :o

dagger of sacrifice

I wonder if this is an unused effect or a garbage effect...

Edited by Celice

Share this post


Link to post
Share on other sites

It's a garbage side effect of how I implemented the routine (IE i fucked up some math and I can't be bothered to fix it)

Share this post


Link to post
Share on other sites

Where would the HP go if devil effect occurs :o

Fuck yes. Devil? nothing happens. it just goes straight back :D

Share this post


Link to post
Share on other sites

(so THIS is what you were working on for Arch yesterday...)

This is pretty cool, Cam. Now FE7 users can enjoy the wrath of FE5 Blizzard. 8)

Share this post


Link to post
Share on other sites

(so THIS is what you were working on for Arch yesterday...)

This is pretty cool, Cam. Now FE7 users can enjoy the wrath of FE5 Blizzard. 8)

I shall now use your idea, Ray.

Share this post


Link to post
Share on other sites

(so THIS is what you were working on for Arch yesterday...)

i'll get to your thing like tomorrow when i have more motivation

right now i'm glued to srw

Share this post


Link to post
Share on other sites

OKAY I FIXED THE ECLIPSE PROBLEM

[10:02:46 PM] Cam: at 0x028f3e

[10:02:48 PM] Cam: you should see

[10:02:55 PM] Cam: 03 28

[10:03:40 PM] Cam: change the 03 to whatever half hp is supposed to be

[10:03:46 PM] Cam: like 0B or something

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...