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

Added DAMAGE.FLASH_COLOUR field for custom flash colors #576

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

akaAgar
Copy link
Contributor

@akaAgar akaAgar commented Oct 5, 2023

By using the field DAMAGE.FLASH_COLOUR (RGB value) in ATTACKS.DDF, it is now possible to specify a custom damage flash colour to display when the player is hit by an attack. Can be used to emulate Hexen's cold/poison color flashes.

@akaAgar akaAgar changed the title Custom damage color for attacks Added DAMAGE.FLASH_COLOUR field for custom flash colors Oct 5, 2023
@dashodanger dashodanger added needs testing Changes that are large in nature or could affect compatibility implementation Change or improvement to how an existing feature is implemented labels Oct 5, 2023
@LoboEire
Copy link
Collaborator

LoboEire commented Oct 6, 2023

We need to test this to make sure it plays nice when there are other effects in action etc.

Great idea by the way!

@dashodanger dashodanger removed the needs testing Changes that are large in nature or could affect compatibility label Oct 6, 2023
@dashodanger
Copy link
Member

Looks good; tested with various effects (invuln, berserk, rad suit) and it looks like it respects the custom color in all cases.

@dashodanger dashodanger merged commit e334bbc into edge-classic:master Oct 6, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
implementation Change or improvement to how an existing feature is implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants