Left 4 Dead 2

Left 4 Dead 2

108 ratings
Tonfa Script - Two-Hands Punches
   
Award
Favorite
Favorited
Unfavorite
Game Content: Weapons, Scripts
Weapons: Melee
File Size
Posted
Updated
4.686 KB
25 Apr, 2022 @ 10:36pm
27 Oct, 2022 @ 9:27am
3 Change Notes ( view )

Subscribe to download
Tonfa Script - Two-Hands Punches

In 1 collection by Henrietta
Scripts
14 items
Description
For use with this addon

Melee weapon animations are handled by the server's weapon script, so this works only locally.

Tonfa uses frying pan animation by default.

Right side swing is left as is.
Left side swing uses the secondary attack, AKA bash, animation.
Secondary attack, the bash, uses the guitar's bash animation.

You'll probably get kicked by any server enforcing consistency.
Friends/randoms joining your server will probably also see the animation changes.

Because this is a script addon, you must wait for it to download ingame then restart the game because scripts are read at the startup of the game.
23 Comments
Igori 30 May @ 12:08pm 
hi there i finally have time to try this "force_dir" i will tell you if it worked.
something something house 17 Nov, 2024 @ 5:09am 
Fuuka disturbing the peaceeeee
Henrietta  [author] 27 Oct, 2024 @ 6:19pm 
Weapon scripts are pretty simple text files. No programming knowledge needed. When you lok at the game's base archive, you can search for the directory "scripts/melee/frying_pan.txt" In the part where each attack is defined, there is the line "force_dir" "50 -30 0". The second part is the force vector per axis. You'd have to figure out which axis is which direction in relation to the weapon wielder, but once you figure it out it shouldn't be too hard.
Igori 27 Oct, 2024 @ 5:31pm 
ty for not saying "i don't care" or something
i still need to learn how to do i dunno nothing about progaming but maybe i will do it after some stuff here i need to do
Henrietta  [author] 27 Oct, 2024 @ 5:47am 
Yes, be the change you want to see in the world. It should have applied force as a part of the script near the bottom.
Igori 27 Oct, 2024 @ 2:35am 
Fine i will do it myself
maćkek 2 Sep, 2024 @ 9:57am 
good to know. thanks!
Henrietta  [author] 2 Sep, 2024 @ 9:12am 
all of the melee weapons do the same damage. editing the damage value in each melee weapon only affects the damage for friendly fire.
maćkek 2 Sep, 2024 @ 5:27am 
is there a way to edit the damage values of this script? like i already know how 2 open the addon file but dont know what to do. theres already a damage per hit thing but it does nothing.
carpczar 20 Aug, 2024 @ 8:19pm 
wicked