Skip to content

Some necessary functions & fix for AttackOverlay#21411

Merged
PunkPun merged 5 commits into
OpenRA:bleedfrom
dnqbob:attackoverlay
Apr 30, 2024
Merged

Some necessary functions & fix for AttackOverlay#21411
PunkPun merged 5 commits into
OpenRA:bleedfrom
dnqbob:attackoverlay

Conversation

@dnqbob

@dnqbob dnqbob commented Apr 27, 2024

Copy link
Copy Markdown
Contributor

showcase-2

@dnqbob dnqbob changed the title Some necessary functions for AttackOverlay Some necessary functions & fix for AttackOverlay Apr 27, 2024
PunkPun
PunkPun previously approved these changes Apr 30, 2024

@PunkPun PunkPun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, untested

Could a testcase of sorts be added?

@dnqbob

dnqbob commented Apr 30, 2024

Copy link
Copy Markdown
Contributor Author

Sure, wait for me

@dnqbob

dnqbob commented Apr 30, 2024

Copy link
Copy Markdown
Contributor Author

testcase
I pushed a code simlifying and a test case here.

@dnqbob

dnqbob commented Apr 30, 2024

Copy link
Copy Markdown
Contributor Author

The code simplify itself proves
WithAttackOverlay: fix ZOffset not related to actor.
WithAttackOverlay: now support facing correctly with BodyOrientation
works as promise.

While test case proves
WithAttackOverlay: support decoration animation.
works as promise.

As for
WithAttackOverlay: support specifc Armament to play animation.
You can change the Armament name to see if it can trigger on different names.

@PunkPun PunkPun merged commit c63be29 into OpenRA:bleed Apr 30, 2024
@PunkPun

PunkPun commented Apr 30, 2024

Copy link
Copy Markdown
Member

changelog

@dnqbob dnqbob deleted the attackoverlay branch May 1, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants