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

Black Hydra can sometimes shoot not where its cannons point #4372

Open
Brian-Catcow-B opened this issue Feb 20, 2025 · 3 comments
Open

Black Hydra can sometimes shoot not where its cannons point #4372

Brian-Catcow-B opened this issue Feb 20, 2025 · 3 comments
Labels
Bug Something isn't working Complicated Sophisticated issue requiring multidisciplinary skills or unclear how to proceed Script / Animation Units scripts, both BOS and LUS Unit Def Issues with unit definition files

Comments

@Brian-Catcow-B
Copy link

Description

In this clip we see that the Black Hydra ship fires 2 plasma shots one direction follows by 2 in a completely different direction without its cannon turning all the way
https://youtu.be/EeFB9Qp3cso?t=24m12s (at 24m 12s)

Expected Behaviour

When retargeted, either it saves those 2 plasma shots until the gun is aligned, or those 2 in the volley are wasted and it must wait for another volley to charge up

Actual Behaviour

It just fires the shots without turning the cannons lol

Reproduction steps

I'm not exactly sure how to reproduced, but I'm guessing that having a Black Hydra shoot a volley at one location and changing its target partway through the volley would initiate this behavior

Other

No response

@Brian-Catcow-B Brian-Catcow-B added the Bug Something isn't working label Feb 20, 2025
@WatchTheFort WatchTheFort added the Script / Animation Units scripts, both BOS and LUS label Feb 20, 2025
@sprunk
Copy link
Collaborator

sprunk commented Feb 21, 2025

Apply the burst interruption weapondef tags?

@SethDGamre SethDGamre added Unit Def Issues with unit definition files Script / Animation Units scripts, both BOS and LUS and removed Script / Animation Units scripts, both BOS and LUS labels Feb 26, 2025
@SethDGamre
Copy link
Collaborator

https://beyond-all-reason.github.io/spring/changelogs/changelog-105-2511#bursts-and-firing-angles
the hydra already has burstcontrolwhenoutofarc = 1, which means it's supposed to stop firing.

Unless there's something really silly like rotating flares ( don't think so) then this is straight up an engine problem where sometimes the cone check described in the link I provided is returning a faulty true result. At least, that's my thought at a glance.

I don't think this can be fixed in a sane way with animations and the weapondef appears to be setup correctly.

@SethDGamre
Copy link
Collaborator

I was able to somewhat reproduce the issue, but not as drastic in the video. Happens when the target dies before the burst completes and a new target is acquired.

@SethDGamre SethDGamre added the Complicated Sophisticated issue requiring multidisciplinary skills or unclear how to proceed label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Complicated Sophisticated issue requiring multidisciplinary skills or unclear how to proceed Script / Animation Units scripts, both BOS and LUS Unit Def Issues with unit definition files
Projects
None yet
Development

No branches or pull requests

4 participants