Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render Cloak Traits #21329

Open
wants to merge 2 commits into
base: bleed
Choose a base branch
from
Open

Conversation

atlimit8
Copy link
Member

@atlimit8 atlimit8 commented Feb 4, 2024

This PR adds plumbing for separating cloak rendering from the Cloak trait itself and includes cloak rendering traits as well as upgrade rule updates. It is designed to address the architectural mentioned in the discussion for #21294. The second commit ports dnqbob's additions in #21294 to a new trait called RenderCloakShiftingAlpha. As such, this PR should supersede #21294.

Copy link
Member

@PunkPun PunkPun left a comment

Choose a reason for hiding this comment

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

A future issue with cloak is cloak transition effects #12195. The unit needs to remain visible during transitions otherwise the opponent won't see the effects. I recon we should bake this in into the architecture from the very start

this was the original transition commit https://github.com/OpenRA/OpenRA/commit//f44819c92ac67b8b9db0ba67e1cc7bde97a57e41

Another issue with transitions is deciding when to play the sound. For base mods it should be at the start of transition

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.

None yet

2 participants