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

Projectiles can be destroyed unexpectedly #1754

Open
xezon opened this issue Feb 24, 2023 · 18 comments
Open

Projectiles can be destroyed unexpectedly #1754

xezon opened this issue Feb 24, 2023 · 18 comments
Labels
Bug Something is not working right Controversial Is controversial Major Severity: Minor < Major < Critical < Blocker

Comments

@xezon
Copy link
Collaborator

xezon commented Feb 24, 2023

Projectiles can be destroyed unexpectedly.

In this case Aurora Bomb destroys the Alpha Aurora Bomb. No Gas Explosion triggers.

AUR_SAME.mp4
@xezon xezon added Bug Something is not working right Major Severity: Minor < Major < Critical < Blocker labels Feb 24, 2023
@xezon
Copy link
Collaborator Author

xezon commented Feb 24, 2023

Perhaps can be fixed by adding specific KindOf flags. Or by changing the Body type.

@MTKing4
Copy link
Collaborator

MTKing4 commented Feb 24, 2023

i think it's fine and expected, projectile dies from the other

this also noticeable with artillery shells getting deleted with a nuclear missile

@xezon
Copy link
Collaborator Author

xezon commented Feb 24, 2023

I do wonder, will rockets from rocket men kill nearby rockets? If so, does that mean Infantry and Humvee General kills its own rockets often?

@MTKing4
Copy link
Collaborator

MTKing4 commented Feb 24, 2023

you can test that by having 5 MDs shooting a building from different angles and 5 others shooting another from humvee and see if they do the exact damage or not

@xezon
Copy link
Collaborator Author

xezon commented Feb 24, 2023

Easier test would be to add big particle effect to one missile, and no particle to another and then try to hit target with missiles with one frame apart.

@xezon
Copy link
Collaborator Author

xezon commented Feb 24, 2023

China Nuke Missile deleting bombs I can understand. But in this particular Aurora Bomber sample it makes little sense to me. Because, what exactly is the deletion threshold here? If the bomb hits are 0 or 2 frames apart, will both bombs apply damage? If so, why would it be ok that at 1 frame apart one is deleted? Is that really what most players instinctively expect? Or would they look at this and think, why did the Alpha Gas Bomb not explode?

@Stubbjax
Copy link
Collaborator

This is a pretty commonly observed (and misinterpreted) phenomenon. It is most apparent with rocket spam via garrisons, Humvees, Battle Buses, Helixes, etc. due to the synchronised firing and roughly equivalent travel distance. It is counterintuitive as the explosion effect gives the impression that the rocket force is so strong that it is dealing extra damage (in a firestorm kind of way), while in actual reality it is dealing less damage. It's almost impossible to notice the damage discrepancy due to the high damage output.

Below is an example of the damage discrepancy with 2 × 14 Missile Defenders, with normal behaviour on the left and rockets being destroyed on the right:

DIFF.mp4

Left = 5,040 damage / 18 volleys
Right = 5,040 damage / 21 volleys (two rockets destroyed per volley)


I thought this issue already existed but it was only mentioned in #35.

@xezon xezon added the Controversial Is controversial label Feb 25, 2023
@xezon
Copy link
Collaborator Author

xezon commented Feb 25, 2023

Ok. This is worrying. We need more intel on the Rocket situation, since this is the most common projectile in the game.

At what radius will it effectively kill nearby rockets? And how many frames does this translate to? Do projectiles kill each other when hitting a target on the same frame? Or just at 1 frame? What about 2 or 3 or 4 frames? And what is the chance of getting killed at the respective frame? 100%?

@xezon
Copy link
Collaborator Author

xezon commented Feb 25, 2023

In the video above it also sounds as if killed Projectiles trigger vehicle destruction sound. Or am I wrong?

@Stubbjax
Copy link
Collaborator

At what radius will it effectively kill nearby rockets?

It is determined by the damage radius of the rocket.

Weapon MissileDefenderMissileWeapon
  PrimaryDamageRadius = 5.0     
End

Do projectiles kill each other when hitting a target on the same frame? Or just at 1 frame? What about 2 or 3 or 4 frames? And what is the chance of getting killed at the respective frame? 100%?

The damage is applied on the frame of impact. Damage application seems to be arbitrary from a player's perspective in that it is sometimes applied and sometimes not, which I suspect could be due to the order in which projectile objects / physics calculations are looped / processed.

Notice in the below footage that only one of the left-hand rockets deals damage while both of the the right-hand rockets deal damage. (This is with the rocket's maximum health set to 1 for ease of testing.)

DAMAGE.mp4

In the video above it also sounds as if killed Projectiles trigger vehicle destruction sound. Or am I wrong?

I believe it is the FX_GenericMissileDeath effect.

Object MissileDefenderMissile
  Behavior = InstantDeathBehavior DeathModuleTag_03
    DeathTypes = ALL -LASERED -DETONATED
    FX = FX_GenericMissileDeath
  End
End

@xezon
Copy link
Collaborator Author

xezon commented Feb 25, 2023

A possible fix here could be to set much higher health values to all rockets and bombs, so that they cannot be destroyed by most other missiles, but can still be destroyed by Superweapons and Mega Explosions such as MOAB.

@MTKing4
Copy link
Collaborator

MTKing4 commented Feb 26, 2023

On the Right Example why is it showing the missile death effect if both missiles are dealing damage?

DAMAGE.mp4

@MTKing4
Copy link
Collaborator

MTKing4 commented Feb 26, 2023

A possible fix here could be to set much higher health values to all rockets and bombs, so that they cannot be destroyed by most other missiles, but can still be destroyed by Superweapons and Mega Explosions such as MOAB.

And PDLs

@commy2
Copy link
Collaborator

commy2 commented Feb 26, 2023

Does the Aurora thing happen in 1.04 as well?

@xezon
Copy link
Collaborator Author

xezon commented Jul 9, 2023

Terrorist explosion can also kill rocket projectiles, which leads to unexpected effects:

generals.2023-07-09.10-12-55-32.mp4

@ImTimK
Copy link
Collaborator

ImTimK commented Jul 9, 2023

I thought some ppl here were fan of destructible (genpower) projectiles?

Im not though, cause in 99% of the cases it happens unintentionally and unknowingly.

@commy2
Copy link
Collaborator

commy2 commented Jul 9, 2023

It's ok as long as they don't destroy themselves, like Artillery Barrage. Makes the world feel more interactable if projectiles are real objects with health and all that. Pretty advanced for this engine.

@xezon
Copy link
Collaborator Author

xezon commented Jul 27, 2023

Rockets from 9 or more China Infantry rocket soldiers will also kill missiles near the impact position.

shot_20230727_183713_4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working right Controversial Is controversial Major Severity: Minor < Major < Critical < Blocker
Projects
None yet
Development

No branches or pull requests

5 participants