studio-minus / ppg-bugs-and-requests

Bug report issue tracker
21 stars 26 forks source link

Option to see explosive shrapnel #362

Open Jandro22 opened 3 years ago

Jandro22 commented 3 years ago

Feature description I think it would be cool if we can see the shrapnel actually hit the people, since sometimes I will set off an explosion, but the person right next to it lives, while the person 20m away gets their head blown off. It would help see how the explosions work as well. If these explosions do not actually use shrapnel, and I am mistaken, I apologize in advance.

Feature purpose Let us see the "shrapnel" of an explosive. Only of the small scale explosives though (Tnt, grenades, general purpose bomb, maybe red barrel)

Additional context Maybe just show a line, like a bullet, or maybe have a little sprite of a chunk of metal followed by a line to signify it's direction?

ghost commented 3 years ago

I think when i explodes, it casts rays and the damage is determined by the ray distance and bomb force so no sharapnels (I'm not sure)

Afavertov commented 3 years ago

Sounds fun.

Jandro22 commented 3 years ago

I think when i explodes, it casts rays and the damage is determined by the ray distance and bomb force so no sharapnels (I'm not sure)

If this is the case, it would be a bit confusing as to why in a situation like this, image The end result is this, image Notice how the person on the right was saved, even though he was the same distance as the guy on the left, because someone else took the blunt of the force for him. This implies that there is some sort of calculation that determines who is "in line" to the explosive, that almost acts like "shrapnel"

mestiez commented 3 years ago

image Most explosives work like this. Internally they're called "fragmentation explosions" and they cast rays that cheaply simulate shrapnel.

Jandro22 commented 3 years ago

In that case, it would be cool to have a setting that would visualize that somehow

Afavertov commented 3 years ago

GPB and grenades shrapnel should work different then dynamite explosion.

atwal6400 commented 3 years ago

ye thats exactly what i suggested i think that only grenade and barell should get shrapnel just like 2 or 3 pieces https://github.com/studio-minus/ppg-bugs-and-requests/issues/308

Eukalp commented 3 years ago

Or just make the invisible rays have tracers symbolising hot shrapnels.

unknown-4o4 commented 3 years ago

Seems a bit much to ask for but you could use the same system as bullets (tracers) but modify it accordingly for grenade shrapnel. I think it would save time rather than completely reworking due to raycast