CLASSIC BUG - Magic Axes have wrong attacks [RESOLVED]

Bug topics that have been resolved.
User avatar
King of Worms
Posts: 2337
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

CLASSIC BUG - Magic Axes have wrong attacks [RESOLVED]

Post by King of Worms » Mon Aug 12, 2019 5:01 pm

Hi,

after some testing it all boils down to this:

Magic axes (WEAPO108.CIF) are bugged in vanilla.

Get any magic axe, use vanila files, and its attacks are bugged...

The attacks are named wrong in the game.

Upon further investigation its like this:

NON MAGIC axe attack frames according to DFImaging
1st - static
2nd - top to bottom
3rd - top right to bottom left
4th - right to left
5th - left to right
6th - top left to bottom right
7th - direct

MAGIC axe
1st - static
2nd - top to bottom
3rd - top right to bottom left
4rd - top left to bottom right (should be right to left)
5th - right to left (should be left to right)
6th - left to right (should be top left to bottom right)
7th - direct

So yes, these 3 attack in red are wrong in the magic weapons!

And indeed, in vanilla, this daedric MAGIC axe is having very confused attacks!

PS: Ive checked the rest of the magic weapons and the axe is THE ONLY ONE having this issue
Last edited by King of Worms on Mon Sep 02, 2019 8:04 pm, edited 4 times in total.

User avatar
TheLacus
Posts: 955
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Modded handheld weapons bug

Post by TheLacus » Mon Aug 12, 2019 5:24 pm

Thank you, you can track this bug as issue #1419.
King of Worms wrote:
Mon Aug 12, 2019 5:01 pm
What is the recomended setting for this type of asset in Unity inspector?
I use "texture type: default"
It's fine, you can also try UI.
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
TheLacus
Posts: 955
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Modded handheld weapons bug

Post by TheLacus » Fri Aug 30, 2019 12:06 pm

Which frame is the one visible in the screenshot? I can't find anything like that, unless the texture is also cut...
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
King of Worms
Posts: 2337
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Modded handheld weapons bug

Post by King of Worms » Fri Aug 30, 2019 2:49 pm

I guess this attack type is created by "mouse to the left" movement.
The frame is most likely
WEAPO108.CIF_3-4_Daedric.png

Yes its cut. But the left cut should fit to the left border of the monitor.
It should look like the axe is out of field of view of the monitor.

What is happening here is the aspect ratio of this frame is not the same as monitor.
Seems like its 5:4 for this frame.

User avatar
King of Worms
Posts: 2337
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Modded handheld weapons bug

Post by King of Worms » Sat Aug 31, 2019 8:45 am

is this clarification sufficient?

User avatar
Interkarma
Posts: 4863
Joined: Sun Mar 22, 2015 1:51 am

Re: Modded handheld weapons bug

Post by Interkarma » Sat Aug 31, 2019 6:22 pm

Just adding for TheLacus that some weapon images need to be stretched across the screen, while others don't. The WeaponBasics array has the scaling requirements for weapon animations per frame.

Just a guess, but it seems possible the modded image isn't observing the scaling requirement for some reason.

User avatar
TheLacus
Posts: 955
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Modded handheld weapons bug

Post by TheLacus » Sun Sep 01, 2019 3:08 pm

King of Worms wrote:
Fri Aug 30, 2019 2:49 pm
I guess this attack type is created by "mouse to the left" movement.
The frame is most likely
WEAPO108.CIF_3-4_Daedric.png

Yes its cut. But the left cut should fit to the left border of the monitor.
It should look like the axe is out of field of view of the monitor.

What is happening here is the aspect ratio of this frame is not the same as monitor.
Seems like its 5:4 for this frame.
It seems there is actually a texture mismatch.
This is record 3 frame 4:
3-4.PNG
3-4.PNG (3.26 KiB) Viewed 338 times
and this is what you sent me:
WEAPO108.CIF_3-4_Daedric.png
WEAPO108.CIF_3-4_Daedric.png (228.94 KiB) Viewed 338 times
Can you check if this is the issue? Thank you!
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
King of Worms
Posts: 2337
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Modded handheld weapons bug

Post by King of Worms » Mon Sep 02, 2019 9:18 am

You are right :( I have no idea how to correct that
Seems like the whole set of attack is named in a wrong manner.

Beyond frustrating. Thanks for finding the cause tho!!

But what now...

User avatar
King of Worms
Posts: 2337
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Modded handheld weapons bug

Post by King of Worms » Mon Sep 02, 2019 9:40 am

ye it seems I need to change archive

5 > 3
3 > 4
4 > 5

PS: nah, this is wrong as well :X eventho it matches vanilla 100%

BREAKTRU!!

THIS IS A VANILLA BUG ACTUALLY! Get this axe, use vanila files, and its attacks are bugged as well


Now what?

The attacks are named wrong. it seems its ONLY the magic version of the axe..

Upon further investigation its like this:

NON MAGIC axe attack frames according to DFImaging
1st - static
2nd - top to bottom
3rd - top right to bottom left
4th - right to left
5th - left to right
6th - top left to bottom right
7th - direct

MAGIC axe

1st - static
2nd - top to bottom
3rd - top right to bottom left
4rd - top left to bottom right (should be right to left)
5th - right to left (should be left to right)
6th - left to right (should be top left to bottom right)
7th - direct

So yes, these 3 attack in red are wrong in the magic weapons!

And indeed, in vanilla, this daedric MAGIC axe is having very confused attacks!
So this is the reason I believe :)

PS: Ive checked the rest of the magic weapons and the axe is THE ONLY ONE having this issue. Thanks god..
This is the bug I believe nobody really noticed until now? Good job to both of us Id say...

User avatar
TheLacus
Posts: 955
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Modded handheld weapons bug

Post by TheLacus » Mon Sep 02, 2019 11:35 am

Glad the cause was found. If you are still confident there is an issue with classic animation, i can change title of this topic (unless you prefer to make a new one) so someone more involved with weapons can give a look. :)
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

Locked