Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] Iron Bomber projectiles have a 3x-4x larger hitbox compared to other Grenade Launchers

Open AzureWoof opened this issue 4 years ago • 8 comments

The Iron Bomber has a more generous area of where you can aim that allows your projectiles to hit enemies compared to all other Grenade Launchers. The gif below shows that the Iron Bomber can hit shots that other Grenade Launchers cannot without moving at all. This isn't stated in it's stats, so it's most likely a bug.

bomberissue

Update (9/5/20)

Upon further investigation, it seems as if the issue resides in the size of the Iron Bomber projectile's hitbox. (Left: Grenade Launcher/Loch-n-Load) (Middle: Loose Cannon) (Right: Iron Bomber) size

AzureWoof avatar Sep 01 '20 15:09 AzureWoof

Edited the post with new information regarding the issue.

AzureWoof avatar Sep 05 '20 18:09 AzureWoof

Could you include instructions on how you recreated this?

sapphonie avatar Sep 13 '20 05:09 sapphonie

wgetJane avatar Sep 16 '20 07:09 wgetJane

I still think that the programmers messed up and mixed the hitboxes of the Loose Cannon and Iron Bomber. Like seriously how does a big-ass cannonball have such a small box?

Transmuntana avatar Nov 12 '20 12:11 Transmuntana

I still think that the programmers messed up and mixed the hitboxes of the Loose Cannon and Iron Bomber. Like seriously how does a big-ass cannonball have such a small box?

they were not mismatched, all of the grenades are supposed to have the same 4x4x4 size of bounding box

the iron bomber's bounding box is larger than it should be because its custom_projectile_model item attribute causes its model to be changed after its bounding box size has been set to 4x4x4, overwriting it

changing an entity's model also changes its bounding box size because the UTIL_SetModel calls SetCollisionBoundsFromModel

https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/server/util.cpp#L1330

wgetJane avatar Nov 14 '20 05:11 wgetJane

I still think that the programmers messed up and mixed the hitboxes of the Loose Cannon and Iron Bomber. Like seriously how does a big-ass cannonball have such a small box?

they were not mismatched, all of the grenades are supposed to have the same 4x4x4 size of bounding box

the iron bomber's bounding box is larger than it should be because its custom_projectile_model item attribute causes its model to be changed after its bounding box size has been set to 4x4x4, overwriting it

changing an entity's model also changes its bounding box size because the UTIL_SetModel calls SetCollisionBoundsFromModel

https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/server/util.cpp#L1330

That sounds a little stupid, honestly. Different projectiles should have different hitboxes that match their size and shape. At the very least the Loose Cannon should get it's model reduced to more closely match the hitbox. Otherwise it throws off people that attempt to aim with it.

Transmuntana avatar Nov 19 '20 19:11 Transmuntana

Hello, per "Fixed the Iron Bomber's projectile collision size not matching other projectile collision sizes" in the 2022-07-07 Team Fortress 2 update, please retest this issue.

kisak-valve avatar Jul 07 '22 23:07 kisak-valve

I've retested it, has been fixed. @AzureAzel thoughts?

agrastiOs avatar Jul 31 '22 22:07 agrastiOs

Thanks for retesting @agrastiOs. Closing as fixed.

kisak-valve avatar Sep 09 '22 19:09 kisak-valve