Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[New Feature] Allow debris animations not to splash

Open Crimsonum opened this issue 1 year ago • 0 comments

First Check

  • [X] I added a very descriptive title to this issue.
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I have attached as much information as possible (screenshots, videos, links, etc).

Description

When a debris animation (animation type with Bouncer=yes) hits water, the animation is replaced with a splash. This happens even if the animation's warhead should prevent this via Conventional=no. This creates a significant limitation for invisible debris anims, which are commonly used by TS modders as a workaround to deliver damage over area.

Proposed Code (optional)

The metallic debris (DBRIS-) in the vanilla game use the TankOGas warhead, which doesn't have Conventional=yes set. In other words, changing this hardcoded splash-generating behavior would cause such debris to no longer splash in water. Therefore, a new art INI key might be required, which could reuse the name Conventional for simplicity's sake:

[AnimationType]
Conventional=<bool> ;should this animation cause a splash on water? If the animation type also has Bouncer set, defaults to yes, otherwise no.```

### Additional Context

_No response_

Crimsonum avatar May 20 '23 19:05 Crimsonum