Replacing Weapon Animation With a Spell
#1
In my hack, Gau eventually learns the "Fight" command.  Hmm

When he learns Fight, I want to give him an equipable weapon, like General Leo Edition did with the Wild Heart. However, I'd like the weapon animation to be that of Pummel or Moogle Rush, both of which have been cut from my hack. Pummel  Does anyone have any ideas of how I would intercept an attack animation for a single item and replace it instead with a spell animation?
Projects:
FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character
Reply
#2
This might be difficult with the vanilla Fight command. Weapon animations are a little more limited than spells and other attacks, so I don't think it would be as simple as changing the animation properties of a weapon. You could try modifying the Shock command at C1/BB49 and C2/171A. There is also a pointer at C2/B4CC that you would need to modify. You could also try writing a new weapon animation script, maybe a combination of the unarmed script at D0/7EF9 and the pummel script at D0/6EE0. Or maybe there's an easier way to do it that I'm not thinking of...
Reply
#3
Might be moot. If Gau still has Rage as a command, it'll overwrite his weapon animation each time he uses it each battle, changing it to whatever weapon the monster attack is set to look like.

...Which is honestly cool because you can set enemy attacks to a bunch of random weapons and Gau will pull them out of hammer space, but it will pose a problem if you're setting up your pummel animation by weapon ID.

Everything's approach is probably best; give Gau a new command that is titled 'Fight' but works like Shock, triggering a custom spell/move with an animation of your choice. There might be trouble with damage scaling, though, if you call a spell that isn't the 'battle' spell. You'll also have to include said new command as an exception in the Magitek and Fanatics Tower command overrides, starting at C2/532C [though the special case skips you want to add to start at C2/535E].

...Though...
You're probably low on available commands, so perhaps a subroutine special case for Gau in the existing fight command is called for. It'd be similar to Umaro's, except instead of a variable branch you'd run one subroutine for Gau that functions similarly to Storm, but with damage calculated from his weapons like Charge.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Weapon Animation Database DrakeyC 10 6,276 04-21-2024, 09:49 PM
Last Post: Kusanagi_999
  Replacing Runic with Shock Jeff 3 3,409 06-09-2021, 09:15 PM
Last Post: PowerPanda
  Replacing Gogo with Daryl Jeff 11 9,463 06-11-2019, 04:52 PM
Last Post: Jeff
  Changing and Replacing Combat Functions via Special Effects ReturnerScum 5 6,409 07-30-2018, 04:05 AM
Last Post: HatZen08
  Spell animation event document (incomplete) 13375K37CH3R 2 4,208 03-08-2016, 03:46 AM
Last Post: 13375K37CH3R
  Giving a weapon the Shuriken animation Kugawattan 6 7,432 11-30-2015, 09:51 PM
Last Post: Fenrir
  Weapon / Spell Palette Locations sleepydude 0 2,014 09-11-2015, 12:35 PM
Last Post: sleepydude
  Replacing Crusader's sprite? Tenkarider 7 6,459 02-25-2015, 12:59 PM
Last Post: Tenkarider
  Character Replacing RaikouGilgamesh 10 10,662 04-03-2014, 11:27 AM
Last Post: madsiur
  Changing weapon animation? xeblon 6 5,888 06-25-2013, 09:58 PM
Last Post: SSJ Rick

Forum Jump:


Users browsing this thread: 1 Guest(s)