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

EMP Blast #2262

Merged
merged 9 commits into from
Oct 18, 2024
Merged

EMP Blast #2262

merged 9 commits into from
Oct 18, 2024

Conversation

dvir001
Copy link
Contributor

@dvir001 dvir001 commented Oct 16, 2024

About the PR

Edited the EMP animation to have a nice look.

Why / Balance

It looked bad

How to test

Spawn emp tools and have fun

Media

Too large
https://discord.com/channels/1123826877245694004/1123826879892299783/1296215896402165821

Requirements

Breaking changes

N/A

Changelog
🆑

  • tweak: EMP Pulse got a new visual look.

/// Can be overridden by <see cref="Robust.Shared.Spawners.TimedDespawnComponent"/>.
/// </summary>
[DataField, AutoNetworkedField]
public float VisualDuration = 2f;
Copy link
Member

Choose a reason for hiding this comment

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

this feels really long to me. for a 'blast', the effect lasts a bit too long and makes the screen hard to see if there are more than 1 happening at once.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can try it as 1 sec, the animation speed is fully under control.

@GreaseMonk
Copy link
Contributor

do we want to show this blast when graphics is set to low ? just wondering

@dvir001
Copy link
Contributor Author

dvir001 commented Oct 18, 2024

do we want to show this blast when graphics is set to low ? just wondering

Its fine

@dvir001
Copy link
Contributor Author

dvir001 commented Oct 18, 2024

I fixed the code to allow it to be shown with infinite range only when the EMP is 25+ (M_EMP) so you can see EMP coming from outside your PVS range.

Copy link
Contributor

@GreaseMonk GreaseMonk left a comment

Choose a reason for hiding this comment

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

It works

@GreaseMonk GreaseMonk merged commit c692530 into new-frontiers-14:master Oct 18, 2024
14 checks passed
FrontierATC added a commit that referenced this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants