View Issue Details

IDProjectCategoryLast Update
0027333AI War 2Bug - GameplayMay 19, 2022 8:15 am
ReporterDismiss Assigned To 
Status newResolutionopen 
Product Version5.008 Xenophiles And Outguard 
Summary0027333: beam attack has wrong center
DescriptionThis reproduced when i closed app and reloaded it. The Jormugandr's multi-beam attack should be centered on itself yet when you unpause you see it repeatedly centered on its target. This bug is not unique to this ship, i've seen it affect many.
TagsNo tags attached.

Activities

Dismiss

May 12, 2022 12:05 pm

developer  

image.png (3,923,476 bytes)
bug.save (559,793 bytes)

BadgerBadger

May 12, 2022 12:29 pm

manager   ~0066720

Is this a visuals-only bug?

RocketAssistedPuffin

May 12, 2022 3:49 pm

reporter   ~0066724

This isn't a bug, it's an actual feature that beam weapons can use. The commit where this thing appears, has the Jormungandr using the Devourer Golems model temporarily. The weapon seems to also be taken from the Devourer. The weapon system has this:

distance_from_center_for_beam_emission="150"

Commit note:

"* Added a new distance_from_center_for_beam_emission for beam weapons, as an optional feature.
** This basically makes multiple beams turn into something that are emitted in a radial offset around the center of the ship, rather than coming out of the center of the ship.
** This is best for things that are large, like golems, and a good amount might be something that is 80% of the radius of the ship itself.
** By itself, this will lead to a bunch of beams that are coming out from a ring and focusing on a center point (like a death star), but if you combine this with degrees_offset_per_beam... it's still going to do that, because the alternative was almost impossible to code. You get to choose if it strikes all targets or just one target, though.
"

Basically it's a remnant, something intended for the old temporary model the unit had, that doesn't make sense on it now visually.

Dismiss

May 19, 2022 8:14 am

developer   ~0066806

But the beams on jormungander do come out in a circle around it, like devourer golem, and it looks fine like that. The issue is when its sometimes for unknown reasons centered on its target unit.

Dismiss

May 19, 2022 8:15 am

developer   ~0066807

I can't tell if its visual only, or it impacts the units the beams perceive as hit. I'm not sure it reproduces reliably, did it with this save?

Issue History

Date Modified Username Field Change
May 12, 2022 12:05 pm Dismiss New Issue
May 12, 2022 12:05 pm Dismiss File Added: image.png
May 12, 2022 12:05 pm Dismiss File Added: bug.save
May 12, 2022 12:29 pm BadgerBadger Note Added: 0066720
May 12, 2022 3:49 pm RocketAssistedPuffin Note Added: 0066724
May 19, 2022 8:14 am Dismiss Note Added: 0066806
May 19, 2022 8:15 am Dismiss Note Added: 0066807