Left 4 Dead 2

Left 4 Dead 2

Your own custom apocalypse
Discover and download new maps, Add-ons, Mutations and more! Want to try your hand at modding or want to upload your mod to Steam?
了解更多
RICH 8 月 13 日 上午 10:49
Grenade launcher projectile should go through commons
I've always wondered if the grenade launcher could be more viable if it's projectile can go through enemies, specifically the common infected. I've done some testing with other projectiles, and I found out that pipe bombs and molotovs can go through enemies. This makes sense since they are meant to clear out hordes/ crowd control. For grenade launcher, you have to aim over the first common if you want to clear out hordes effectively.

I'm not sure if something like this is possible, like, is the grenade launcher's projectile collision hard coded or do all enemies share the same collision for projectiles? Does changing the projectile of the grenade launcher also effect other weapons?
< >
正在显示第 1 - 2 条,共 2 条留言
kurochama 179 8 月 13 日 下午 7:50 
I'm not sure if the grenade launcher projectile can be modified like that, as the normal settings of grenade launcher projectile will work like that & it will stop when hitting a common. Even spawning it manually via "SpawnEntityFromTable" will also work that way. The only way to make it pass through common that I ever made was by warping the grenade launcher projectile to the location where crosshair is pointing at, but this will make the projectile as fast as bullet, & it's no longer grenade launcher but a rocket launcher instead when the projectile go straight that fast.
mαʀV¡N 3 8 月 15 日 上午 11:20 
CBaseGrenade (which is what the grenade launcher and pipebomb uses as a baseclass) has a m_fFlags netprop, maybe you can investigate if that's what controls whether or not the actual projectile can collide with commons
最后由 mαʀV¡N 编辑于; 8 月 15 日 上午 11:20
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50