![]() |
Bug with new weapon - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html) +--- Forum: Narshe School (https://www.ff6hacking.com/forums/forum-14.html) +--- Thread: Bug with new weapon (/thread-4444.html) |
Bug with new weapon - Lepicé - 09-27-2024 Hello, I have a problem with a new weapon with FF3useme, when a replace an relic by a weapon, when I play game and use it as an attack in a battle it creat a glitch and when I win the battle the game freeze. Somebody have a solution ? Thank in advance. RE: Bug with new weapon - C-Dude - 09-30-2024 The game only has weapon animation data for the first 93 items, and the last two of those are actually coded to draw the Atma Weapon at different lengths depending on its damage calculation. As such, if you try to use an item slot beyond 93 (the second shield) as a weapon, it will instead be reading monster attack data or coliseum placement data, both of which risk having unstable pointers when interpreted as animation data. https://www.ff6hacking.com/wiki/doku.php?id=ff3:ff3us:doc:asm:fmt:weapon_animation_data If working only with an editor, you won't be able to add any new weapons... you'll only be able to replace existing ones. If you're using assembly or a hex editor, though, you can relocate and expand the weapon animation data table... Code: C1/9DB8: BF 00 E4 EC LDA $ECE400,X ; weapon animation data Such a table wouldn't address jump and throw animations either, which are handled by a different table at D10400. Luckily, that table has enough entries for every item slot, so you need only update the values in a hex editor to adjust your new weapon's animation. https://www.ff6hacking.com/wiki/doku.php?id=ff3:ff3us:doc:asm:fmt:jump_and_throw_data RE: Bug with new weapon - Lepicé - 09-30-2024 Thanks, will try to put it on offset FF0000 (FF0200 with header) I make a try, in fact it work very well if the weapon is like an Atma wepon, the problem is when the monster (Ninja for exemple) become invisible, when we touch him it glitch and when you win the combat it freeze. RE: Bug with new weapon - C-Dude - 10-02-2024 Would you please share the data you put at FF0000, so we can see what might be wrong with the animation? What you're describing sounds like a sketch-glitch-esque situation, and perhaps the weapon animation data you're using is still invalid. |