View Single Post
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin D.
Old 04-23-2022 , 04:27   Re: [L4D2] Spiderman Smoker
Reply With Quote #2

Not sure if I understood you correctly.
You want the smoker to "punch" survivors with the tongue but not pull them back and deal damage with only the tongue punch?

I made a plugin behaving like this:

Setting down tongue delay on miss to 0
Then cut tongue on grab and add 10 hp damage.

With the cooldown being 0 you can attack right away.

cvar for delay between punches
cvar for punchdamage

If you make this plugin act random per smoker spawn you could even create a second type of smoker along with the normal with this.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_smoker_tonguepunch.sp - 79 views - 7.8 KB)
__________________

Last edited by finishlast; 04-23-2022 at 11:25.
finishlast is offline