Users browsing this thread: 1 Guest(s)
Replacing Weapon Animation With a Spell

#1
Posts: 365
Threads: 38
Thanks Received: 149
Thanks Given: 96
Joined: Feb 2017
Reputation: 22
Status
None
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:
Divergent Paths: The 3 Scenarios (Completed) - a redo of the 3 scenarios in the original game that gives equal time to each group. Meant to be a basis for future mods.
FFVI: Divergent Paths (In Progress) - a hack built off of the 3 scenarios that changes other events in the same, such as making Leo permanently recruitable, bringing Banon's story closure, and adding 1 more secret character.
  Find
Quote  

#2
Posts: 132
Threads: 2
Thanks Received: 132
Thanks Given: 14
Joined: Apr 2015
Reputation: 18
Status
None
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...
  Find
Quote  

#3
Posts: 226
Threads: 19
Thanks Received: 96
Thanks Given: 99
Joined: Dec 2018
Reputation: 18
Status
Moog
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.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite