Raised This Month: $51 Target: $400
 12% 

[CS:S] Only Headshot (Updated Version 1.4 - 2011-06-29)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SpirAngel
Junior Member
Join Date: Jun 2011
Location: Paris, France
Plugin ID:
2380
Plugin Version:
1.4
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Plugin that allows only headshots. Also, ability to allow HE and knife killings and to disable world damages !
    Old 06-13-2011 , 20:45   [CS:S] Only Headshot (Updated Version 1.4 - 2011-06-29)
    Reply With Quote #1

    Only Headshot Plugin


    General:

    I was using previously the "headshot only" plugin by XARIUS but I was not totally satisfied because of several reasons :

    - Blood Projections even if the shoot doesn't cause damages (if not headshots)
    - Inability to use the knife and HE grenades.

    So I decided to develop a plugin myself fixing thoses "issues" Hope you'll enjoy it !

    Info:

    This plugin will allow only kills by headshots. Also, you have the choice to enable/disable knifing, HE Grenade Killing and world damages.

    Installation:

    Just unzip the archive in the "sourcemod" folder

    Configuration:
    • sm_onlyhs_version => Displays the version of the plugin
    • sm_onlyhs_enable => (Default : "1") Enables the plugin. 0 = Disabled.
    • sm_onlyhs_knife => (Default : "1") Enables knifing. 0 = Disabled.
    • sm_onlyhs_he => (Default : "1") Enables HE Killing. 0 = Disabled.
    • sm_onlyhs_world => (Default : "1") Enables World Damages. 0 = Disabled.
    • sm_onlyhs_squishysound => (Default : "0") Disables Squishy sounds. 1 = Enabled.
    • sm_onlyhs_soundtoall => (Default : "0") 1 = Everybody can hear the squishy sounds. 0 = Only the attacker and the victim can hear the custom sound.

    Requirements:

    Changelog:

    Quote:
    2011-06-29 (version 1.4)

    * Implemented the custom squishy sounds (Thanks to XARiUS)

    2011-06-21 (version 1.3)

    * Implemented the ability to disable damages caused by world

    2011-06-16 (version 1.2)

    * Fixed a bug with HE grenades when targeted to the head

    2011-06-15 (version 1.1)

    * Implemented HE Killing

    2011-06-13 (version 1.0)

    * Public Release.
    Known Issues:

    None that I'm aware of !
    Attached Files
    File Type: zip Only Headshot_1.4.zip (9.5 KB, 5955 views)
    File Type: sp Get Plugin or Get Source (Only Headshot.sp - 1580 views - 7.6 KB)
    __________________

    Last edited by SpirAngel; 06-28-2011 at 22:12.
    SpirAngel is offline
    Snake60
    Senior Member
    Join Date: Jul 2008
    Location: Russia, Pskov
    Old 06-14-2011 , 17:05   Re: [CS:S] Only Headshot (Version 1.0 - 2011-06-13)
    Reply With Quote #2

    What about HE kills? Can you add he_kill cvar like for knife? Thanks for plugin Went to test it.
    __________________
    Snake60 is offline
    Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
    SpirAngel
    Junior Member
    Join Date: Jun 2011
    Location: Paris, France
    Old 06-14-2011 , 17:23   Re: [CS:S] Only Headshot (Version 1.0 - 2011-06-13)
    Reply With Quote #3

    Yes, I'm working on it right now. If you have any suggestions, please post it and I'll do my best to implement it
    __________________
    SpirAngel is offline
    Snake60
    Senior Member
    Join Date: Jul 2008
    Location: Russia, Pskov
    Old 06-14-2011 , 18:32   Re: [CS:S] Only Headshot (Version 1.0 - 2011-06-13)
    Reply With Quote #4

    OK. He_kill works now without cvar This is good for me. But if you make cvar for switch on/off HE - your plugin will be more flexible
    __________________
    Snake60 is offline
    Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
    SpirAngel
    Junior Member
    Join Date: Jun 2011
    Location: Paris, France
    Old 06-14-2011 , 18:43   Re: [CS:S] Only Headshot (Version 1.0 - 2011-06-13)
    Reply With Quote #5

    Really ? I didn't modify anything yet. That's weird.
    __________________
    SpirAngel is offline
    Snake60
    Senior Member
    Join Date: Jul 2008
    Location: Russia, Pskov
    Old 06-15-2011 , 10:01   Re: [CS:S] Only Headshot (Version 1.0 - 2011-06-13)
    Reply With Quote #6

    Yep You can check it on our DM server: connect best.game-host.org:27018
    I don't modify your code. It seems that then HE blows up it make fragments which hit in the head.
    __________________
    Snake60 is offline
    Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
    SpirAngel
    Junior Member
    Join Date: Jun 2011
    Location: Paris, France
    Old 06-15-2011 , 11:07   Re: [CS:S] Only Headshot (Updated Version 1.1 - 2011-06-15)
    Reply With Quote #7

    Version updated : Implementation of HE Killing.

    Notes :

    There's still an issue with HE Killing. Even if it disabled, if the HE is targeted to the head, then the HE will cause damages.

    So I'm still working on it.
    __________________
    SpirAngel is offline
    SpirAngel
    Junior Member
    Join Date: Jun 2011
    Location: Paris, France
    Old 06-16-2011 , 11:45   Re: [CS:S] Only Headshot (Updated Version 1.2 - 2011-06-16)
    Reply With Quote #8

    The option with HE grenades should now work properly with the latest version (1.2). Please let me know if you still encounter some bugs or if you have any suggestions !
    __________________

    Last edited by SpirAngel; 06-16-2011 at 11:48.
    SpirAngel is offline
    SpirAngel
    Junior Member
    Join Date: Jun 2011
    Location: Paris, France
    Old 06-21-2011 , 14:26   Re: [CS:S] Only Headshot (Updated Version 1.3 - 2011-06-21)
    Reply With Quote #9

    Updated Version 1.3 : Ability to enable/disable the damages caused by the world as it was requested (https://forums.alliedmods.net/showthread.php?t=131529).
    __________________
    SpirAngel is offline
    pandaking
    Senior Member
    Join Date: Jun 2006
    Old 06-24-2011 , 14:34   Re: [CS:S] Only Headshot (Updated Version 1.3 - 2011-06-21)
    Reply With Quote #10

    I love the extra features you've added here, but I would really like to have that same "squishy" sound that everyone hears in XARIUS's version.
    Could you add this as an option please? Thanks!
    __________________
    pandaking is offline
    Reply



    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 16:20.


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