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

Support area effect damage #367

Open
sfiera opened this issue Nov 5, 2020 · 1 comment
Open

Support area effect damage #367

sfiera opened this issue Nov 5, 2020 · 1 comment

Comments

@sfiera
Copy link
Member

sfiera commented Nov 5, 2020

Antares does not natively support any kind of “area effect damage”. Generally, damage is applied only as a result of a collision between two objects. There are workarounds, but it would be nice to have a good way to make an weapon that damages everything within a radius.

I’m not sure exactly how I’d implement it.

As a plugin developer, I think that it would be natural as part of a big explosion’s create action (like, {type: "blast", radius: 100, damage: 1000}), dealing damage to all nearby objects that collide.as.object. However, that doesn’t fit well into the current definition of “action”, which normally is an interaction between a subject and direct object.

@sfiera
Copy link
Member Author

sfiera commented Jul 20, 2021

Might also be sensible to add a radius parameter to heal, and maybe split it into heal/harm.
Should there be some ability for the damage to fall off with decreasing radius?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

1 participant