Raised This Month: $ Target: $400
 0% 

[TF2] All Weapons Headshot


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TinyDeskEngineer
Junior Member
Join Date: May 2023
Location: Inside your walls
Plugin ID:
8479
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Makes all bullet weapons in TF2 deal critical damage on headshots
    Old 06-03-2023 , 18:02   [TF2] All Weapons Headshot
    Reply With Quote #1

    I was looking for a plugin that does this a few months back. I couldn't find any, but I did manage to find a response to a forum post which included a code snippet that did exactly that, so I turned it into a fully-functioning plugin. I can't find the original code snippet though. I've finally decided to upload it here for people who either can't find the code I made it from, or just don't know how to turn it into a plugin.
    Attached Files
    File Type: sp Get Plugin or Get Source (allheadshot.sp - 37 views - 1.1 KB)

    Last edited by TinyDeskEngineer; 10-02-2023 at 15:00. Reason: Upload optimized(?) version
    TinyDeskEngineer is offline
    AKIStheProtogen
    New Member
    Join Date: Aug 2023
    Old 08-19-2023 , 11:31   Re: [TF2] All Weapons Headshot
    Reply With Quote #2

    Unsure what causes it but all miniguns repeat endlessly and get very loud. Is there a possible fix for this?
    AKIStheProtogen is offline
    howtoplaymeow
    Junior Member
    Join Date: Feb 2023
    Old 08-29-2023 , 00:59   Re: [TF2] All Weapons Headshot
    Reply With Quote #3

    Quote:
    Originally Posted by AKIStheProtogen View Post
    Unsure what causes it but all miniguns repeat endlessly and get very loud. Is there a possible fix for this?
    I have the same problem as you. So I went looking for new plugins and I found this plugins.
    https://github.com/TitanTF/Any-Headshot/tree/master
    howtoplaymeow is offline
    TinyDeskEngineer
    Junior Member
    Join Date: May 2023
    Location: Inside your walls
    Old 09-05-2023 , 16:50   Re: [TF2] All Weapons Headshot
    Reply With Quote #4

    Quote:
    Originally Posted by AKIStheProtogen View Post
    Unsure what causes it but all miniguns repeat endlessly and get very loud. Is there a possible fix for this?
    I've been experiencing this exact same problem on my private server for months now, but I never considered the problem could be this plugin because it's so small and simple. I'll see if I can figure out what's going wrong

    Last edited by TinyDeskEngineer; 09-05-2023 at 16:52.
    TinyDeskEngineer is offline
    TinyDeskEngineer
    Junior Member
    Join Date: May 2023
    Location: Inside your walls
    Old 09-05-2023 , 16:56   Re: [TF2] All Weapons Headshot
    Reply With Quote #5

    Yeah, I have no clue what's going wrong in my code.
    TinyDeskEngineer is offline
    TinyDeskEngineer
    Junior Member
    Join Date: May 2023
    Location: Inside your walls
    Old 09-05-2023 , 17:10   Re: [TF2] All Weapons Headshot
    Reply With Quote #6

    Quote:
    Originally Posted by howtoplaymeow View Post
    I have the same problem as you. So I went looking for new plugins and I found this plugins.
    https://github.com/TitanTF/Any-Headshot/tree/master
    Huh, I looked at that plugins source code and I can't even spot any important differences between it and my own version. The code is pretty much structured the exact same way as the code snippet I used. What in the world did I do wrong?
    TinyDeskEngineer is offline
    TinyDeskEngineer
    Junior Member
    Join Date: May 2023
    Location: Inside your walls
    Old 09-05-2023 , 17:14   Re: [TF2] All Weapons Headshot
    Reply With Quote #7

    I disabled the plugin and the problem stopped, so it's definitely caused by it.
    TinyDeskEngineer is offline
    q1085909155
    Member
    Join Date: Oct 2021
    Old 10-02-2023 , 04:58   Re: [TF2] All Weapons Headshot
    Reply With Quote #8

    I think the plugin needs to be optimized, for example: unhook the player after quitting the game, and unhook the plugin after unload. Prevents memory leaks and optimizes performance.
    q1085909155 is offline
    TinyDeskEngineer
    Junior Member
    Join Date: May 2023
    Location: Inside your walls
    Old 10-02-2023 , 15:02   Re: [TF2] All Weapons Headshot
    Reply With Quote #9

    Ok, I updated the plugin with some optimizations. I don't know if it made anything better, but it doesn't seem to have made anything worse. It also, of course, did not fix the problem of the neverending minigun sounds. I still have no idea what's going on there.
    TinyDeskEngineer is offline
    TheDarkStar
    Junior Member
    Join Date: Aug 2020
    Old 11-18-2023 , 15:18   Re: [TF2] All Weapons Headshot
    Reply With Quote #10

    How would you continue this to projectiles?
    TheDarkStar is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 10:58.


    Powered by vBulletin®
    Copyright ©2000 - 2023, vBulletin Solutions, Inc.
    Theme made by Freecode