source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[HL2MP] Fix RPG Rocket Damage

Open speedvoltage opened this issue 9 months ago • 2 comments

Issue: Rockets blast radius can affect other players located above a ceiling or on the other side of a wall when they should not be damaged.

Fix: Adjust the origin on the Z axis to prevent unfair damage caused by rockets.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage

why not use WorldSpaceCenter() as the centre of the explosion?

wgetJane avatar Mar 15 '25 04:03 wgetJane

explosionOrigin doesn't seem to be used anywhere in the function. shouldn't it replace GetAbsOrigin() in the explosion function?

Bitl avatar Mar 16 '25 04:03 Bitl