Raised This Month: $52 Target: $400
 13% 

HitBox Manipulation(Headshot Only, or any other body part)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   GHW_Chronic (70)
FreshlyPikd
Junior Member
Join Date: Feb 2006
Old 10-12-2006 , 14:02   HitBox Manipulation(Headshot Only, or any other body part)
Reply With Quote #1

Alright, I put out v.8, Vittu fixed it and put out v.9, and here is v1, with a complete rewrite of the core. (it's 55 lines shorter!!! wooh!!)

This plugin allows you to turn on and off any hitboxes in any combination.

------------------------------------------
Commands
------------------------------------------
amx_hitbox abcdefg0
This takes any combination of the following flags (except 0 must be alone)
0 - None (GodMode)
A - head
B - chest
C - stomach
D - left arm
E - right arm
F - left leg
G - right leg
example:
amx_hitbox defg
That would only allow arms and legs to be hit
------------------------------------------
CVARS
------------------------------------------
hitbox_bit 0-255
It takes a number, 2^n. Refer to set_user_hitzone in the funcwiki
Don't even bother messing with this cvar, I'm probably going to take it out by the next version
If you want to have it activated automatically, put the amx_hitbox command in your amxx.cfg not your server.cfg


Issues for further releases:

*Do something about sanitation
It's set up to recognize any strange syntax the admins type in, but I'm not sure thats necessary. Perhaps I should take that out and have them deal with it, or perhaps have it notify them of what they did wrong. The comments refer to this
*Do something about confusing-ass cvar
This cvar is currently using a bit number, I want to change it to use flags just like amx_hitbox, but set_pcvar_string doesn't work yet hehe
*Do Something about knife/he
I will make it so you are able to turn knife kills and nade kills on and off, since those aren't affected by hitboxes
*Make a "bit to english" converter
This would be so that you can actually read in English what is enabled and disabled. There is just no elegant way to do this, except case by case, and that annoys me
*Do something about insistence, turning off, etc
I want an option in where you can have it only change the hitboxes for each player either a) when they connect or b) when the admin changes the flags. That way it wont interfere with god modes and the like. Also, when in normal mode, the plugin should just shut up and go away.
*Menu
I'll install a menu because it is functionally proper and an easier-to-understand alternative to flags
Those will add up to V1.6.
V2 and you'll have options for individual players and suc etc. (It'll be a headshot only, godmode, and some extra goodies plugin all in one)
Attached Files
File Type: sma Get Plugin or Get Source (hitbox.sma - 23710 views - 2.9 KB)

Last edited by FreshlyPikd; 04-01-2007 at 02:26. Reason: new version
FreshlyPikd is offline
ThomasNguyen
Senior Member
Join Date: May 2006
Old 10-12-2006 , 16:14   Re: Achilles (Headshot Legshot Only)
Reply With Quote #2

Already been done.... http://forums.alliedmods.net/showthr...light=achilles yours is a little more adjustable but how come it says

register_plugin("Achilles", "0.8", "Migs Davis")
Also.. you posted in the wrong section...
__________________
ThomasNguyen is offline
FreshlyPikd
Junior Member
Join Date: Feb 2006
Old 10-12-2006 , 16:25   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #3

I chose that title because I enjoy mythology, it wasn't meant to make an "achilles" mod, just a reference to the "you can only hit one body part". I apologize to mydas who's title I shamelessly stole because I neglected to check for a plugin of the same name already. It's really an aim practice mod- the reason I made it is because it is customizable. I believe I've updated it accordingly...


If this isn't the section for new plugins, which is? Edit: I get it, my title implied this was for super hero mod, I never intended that, sorry.

Last edited by FreshlyPikd; 10-12-2006 at 16:36.
FreshlyPikd is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-12-2006 , 22:32   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #4

GJ
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
dxteam
Senior Member
Join Date: Dec 2005
Old 10-14-2006 , 07:25   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #5

Can you make the plugin who take percent of damage on head or body?
Example: 50% on head and kill chance on head will be 50 % or damage on head will be 50% lower.
dxteam is offline
Send a message via ICQ to dxteam
ThomasNguyen
Senior Member
Join Date: May 2006
Old 10-14-2006 , 16:19   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #6

So this isnt a superhero is it?
__________________
ThomasNguyen is offline
FreshlyPikd
Junior Member
Join Date: Feb 2006
Old 10-14-2006 , 19:27   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #7

No, its not superhero haha. I don't quite understand, dxteam. The purpose of this plugin is merely to provide target practice on different parts of the body. Perhaps explain your idea more thoroughly?
FreshlyPikd is offline
g3x
Member
Join Date: Sep 2006
Old 10-14-2006 , 20:05   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #8

gj i like it
__________________
g3x is offline
Send a message via AIM to g3x Send a message via MSN to g3x
FreshlyPikd
Junior Member
Join Date: Feb 2006
Old 10-14-2006 , 22:19   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #9

Right now it resets your hitboxes on ever spawn, this week I'll change it so that it only does that if it hasn't already, that way there will be less interference with other hit box eliminating plugins. Also, I think I should change the name to Hitbox Selector, or something, eh?

note: doesn't work with knives or nades, thats just the way hitboxes go.

Last edited by FreshlyPikd; 10-14-2006 at 22:26.
FreshlyPikd is offline
dxteam
Senior Member
Join Date: Dec 2005
Old 10-15-2006 , 03:49   Re: BodyShield (Headshot Only, or any other body part)
Reply With Quote #10

Who help me with my question? for percent of damage?
dxteam is offline
Send a message via ICQ to dxteam
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 05:28.


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