Raised This Month: $32 Target: $400
 8% 

[ANY]Head Shot Modes


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Plugin ID:
2147
Plugin Version:
0.0.5
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Allows you to change the hit grops available to all players as well as bots
    Old 12-30-2010 , 04:20   [ANY]Head Shot Modes
    Reply With Quote #1

    Hs Modes
    Version 0.0.4


    Description:
    This plugin allows you to change the hit groups available to all players to set up 3 different types of game play.
    1. No head Shots for bots
    2. No head shots at all
    3. Only head shots
    Required:
    SDKHooks: Must be compiled Locally

    Cvars:
    • hs_mode - Changes the mode of the plugin
    • 0 = Plugin disabled
    • 1 = No head shot for bots
    • 2 = No head shots for anyone
    • 3 = Only head shots (all other hit zones blocked)
    • hs_knife - Allows Normal Knife Damage
    • 0 = Blocks all weapons
    • 1 = Allows Normal Knife Damage
    Server(s):
    Change log:


    0.0.1
    Initial Release

    0.0.2
    Added a new Cvar

    0.0.3
    Fixed Run Time Error

    0.0.4
    Fixed Logic Error....(I feel dumber)


    0.0.5
    Changed what KyleS said
    Changed using the string to compare the weapons using weapon id.

    [/SIZE]
    Attached Files
    File Type: smx headshotmodes.smx (4.3 KB, 525 views)
    File Type: sp Get Plugin or Get Source (headshotmodes.sp - 636 views - 2.1 KB)
    File Type: inc weaponsystem.inc (7.8 KB, 564 views)

    Last edited by Doc-Holiday; 10-06-2012 at 19:09.
    Doc-Holiday is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 01-17-2011 , 11:45   Re: Head Shot Modes
    Reply With Quote #2

    Any one think of anything else maybe to add to this?
    Doc-Holiday is offline
    micazoid
    Veteran Member
    Join Date: Oct 2010
    Location: Munich - Germany
    Old 01-18-2011 , 06:11   Re: Head Shot Modes
    Reply With Quote #3

    Maybe you can add support for Day of Defeat Source. Maybe an entry for the Admin Menu would be nice too
    micazoid is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 01-24-2011 , 00:12   Re: Head Shot Modes
    Reply With Quote #4

    Quote:
    Originally Posted by micazoid View Post
    Maybe you can add support for Day of Defeat Source. Maybe an entry for the Admin Menu would be nice too
    Don't think i have anything specifically for any mod. As for admin menu. What would you like added in ill have to look into how todo it but just to change the cvar on the fly?

    Unless SDKhooks dosen't work in DOD
    Doc-Holiday is offline
    micazoid
    Veteran Member
    Join Date: Oct 2010
    Location: Munich - Germany
    Old 01-24-2011 , 03:17   Re: Head Shot Modes
    Reply With Quote #5

    Quote:
    Don't think i have anything specifically for any mod.
    k, will test it later for Day of Defeat Source. I think hs_mode 1 will not be supported because there are no bots in DODS. I tried another HSonly Plugin a few months ago for DODS and it didn't work

    Quote:
    What would you like added in ill have to look into how todo it but just to change the cvar on the fly?
    Thats right. A simple point in the adminmenu, where u can change the cvar hs_mode. So no one needs to write it himself into adminmenu_custom.txt

    I think it will be cool for Admins, if they can turn it on/off via vote.

    EDIT
    tested your Plugin and it work also in dayofdefeatsource. Maybe add this to ur release post.

    Another suggestion:
    can u make an sm_hs_mode convar, so I can use !hs_mode 3 in chat??
    __________________

    Last edited by micazoid; 01-24-2011 at 11:00.
    micazoid is offline
    coach
    SourceMod Donor
    Join Date: Jun 2008
    Old 01-25-2011 , 04:15   Re: Head Shot Modes
    Reply With Quote #6

    Quote:
    Originally Posted by micazoid View Post
    k, will test it later for Day of Defeat Source. I think hs_mode 1 will not be supported because there are no bots in DODS. I tried another HSonly Plugin a few months ago for DODS and it didn't work
    There are now BOTS for DODS, just not from Valve but via a plugin. rather good actually.
    coach is offline
    micazoid
    Veteran Member
    Join Date: Oct 2010
    Location: Munich - Germany
    Old 01-25-2011 , 06:54   Re: Head Shot Modes
    Reply With Quote #7

    Quote:
    There are now BOTS for DODS, just not from Valve but via a plugin. rather good actually.
    WTF? Oki THX *google*
    __________________
    micazoid is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 01-29-2011 , 12:59   Re: Head Shot Modes
    Reply With Quote #8

    I have been swamped with school but i will start looking into this soon lol..

    I have a meeting with a Army recruiter on Tuesday. But i should have some free time on Sunday to work on this.
    Doc-Holiday is offline
    Snake60
    Senior Member
    Join Date: Jul 2008
    Location: Russia, Pskov
    Old 02-14-2011 , 05:47   Re: Head Shot Modes
    Reply With Quote #9

    In Only head shots mode can you add ability kill by knife and HE?
    __________________
    Snake60 is offline
    Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
    gtamike
    Member
    Join Date: Aug 2009
    Location: UK
    Old 02-19-2011 , 08:25   Re: Head Shot Modes
    Reply With Quote #10

    Quote:
    Originally Posted by Doc-Holiday View Post
    Any one think of anything else maybe to add to this?
    Display headshot text and sound on headshot kill.
    __________________
    gtamike 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 18:32.


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