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

Shot Administration (Nomexous)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Zenith77 (33)
Nomexous
Member
Join Date: Oct 2007
Old 01-23-2008 , 13:28   Shot Administration (Nomexous)
Reply With Quote #1

Shot Administration (by Nomexous)

Gives an admin the ability to control what happens when a player shoots. Modes can either be helpful or detrimental to whomever its been set on. To access the menu, enter "amx_shot_admin" in your console.

To see a demonstration, check out this video on YouTube. It's not very clear, but it shows shooter, no damage, and both suicider modes.

Modes
  1. Normal: Player can shoot and hit targets as expected.
  2. Shooter: Any hit this player makes on another player results in a headshot.
  3. Bullet reflector: Anyone who attacks this player has the damage reflected back to them. Makes the player immune to all but grenade damage.
  4. Victim: Any hit on this player results in a headshot.
  5. Bad Aim: When this player attacks someone else, his hits are directed to the legs. Headshots can't be made.
  6. No Damage: Player can't deal damage. Any hits will look and sound like he's hitting a shield.
  7. Suicider: Any hit this player makes on an enemy is redirected back to himself.
  8. Uber Suicider: Any hit to a solid object (player or not) is redirected to the player's head.
This plugin is mainly intended to be a basic study in traceline. Check out my traceline tutorial here.
Attached Files
File Type: sma Get Plugin or Get Source (shotadmin.sma - 26058 views - 5.9 KB)

Last edited by Nomexous; 02-04-2008 at 12:58.
Nomexous is offline
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 01-23-2008 , 13:37   Re: Shot Administration (Nomexous)
Reply With Quote #2

Sounds like a cool plugin, try to make it so you can set also to a whole team as well as a single player like "@all|@t|@ct" kind of option.
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt is offline
Bojangles
Senior Member
Join Date: Sep 2007
Location: Over there
Old 01-24-2008 , 10:59   Re: Shot Administration (Nomexous)
Reply With Quote #3

More explanations in the post such as the commands etc.. would be cool. I like to see what I am installing before I download it.
Bojangles is offline
Send a message via AIM to Bojangles
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 01-24-2008 , 12:19   Re: Shot Administration (Nomexous)
Reply With Quote #4

amx_shot_admin - Open the shot administration menu. :S
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Nomexous
Member
Join Date: Oct 2007
Old 01-24-2008 , 13:46   Re: Shot Administration (Nomexous)
Reply With Quote #5

Quote:
Originally Posted by Bojangles View Post
More explanations in the post such as the commands etc.. would be cool. I like to see what I am installing before I download it.
Quote:
Originally Posted by Nomexous View Post
To access the menu, enter "amx_shot_admin" in your console.
Added link to a demonstrative video.
Nomexous is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 01-24-2008 , 14:20   Re: Shot Administration (Nomexous)
Reply With Quote #6

Nice...
About
Code:
 // I've never used the old menu system, but I feel like I have to complain about the new one. Why can't we detect when the MENU_BACK
 // and MENU_NEXT props are selected? It would make this much easier.
Not true lol, you can do that in menu handler by making
Code:
if(item == MENU_EXIT)
  //exit.
else if(item == MENU_BACK)
  //back
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
fxfighter
Veteran Member
Join Date: Feb 2007
Location: Trollhättan
Old 01-24-2008 , 16:34   Re: Shot Administration (Nomexous)
Reply With Quote #7

shuld be nice if you culd add a cvar or 2 for exampel whare you can or cant hit another player.

like
example cvars
amx_hitonly hit_head = only able to hit head
amx_hitonly hit_leftarm = only able to hit left arm
etc rest of body wont take dmg
________________
and a cvar like above but you can decide whare you cant hit.
amx_donthit hit_leftarm = wont be able to take dmg on left arm but everywhare else works.
__________________
If one of my plugins become broken, contact me by mail. [email protected]
fxfighter is offline
Send a message via MSN to fxfighter
iggy_bus
BANNED
Join Date: Oct 2005
Old 01-24-2008 , 16:45   Re: Shot Administration (Nomexous)
Reply With Quote #8

this looks like a cheat to me ;)
iggy_bus is offline
Nomexous
Member
Join Date: Oct 2007
Old 01-24-2008 , 17:14   Re: Shot Administration (Nomexous)
Reply With Quote #9

Quote:
Originally Posted by Alka View Post
Not true lol, you can do that in menu handler by making
Code:
if(item == MENU_EXIT)
  //exit.
else if(item == MENU_BACK)
  //back
I tried that; it doesn't work. According to this:
Quote:
Note that the only special item that may cause your handler to be called is MENU_EXIT, because MENU_BACK and MENU_MORE items are entirely handled in AMXX core (you can't hook them).
Oh well.
Quote:
Originally Posted by iggy_bus View Post
this looks like a cheat to me ;)
Yeah, I have the feeling this won't be approved. Oh well. It's only supposed to be a working example for my traceline tutorial.

If you guys want any more features or CVARs, you'll have to add them yourself. Sorry!
Nomexous is offline
[kirk]./musick`
Senior Member
Join Date: Jun 2007
Location: Tampa, Florida
Old 01-24-2008 , 19:25   Re: Shot Administration (Nomexous)
Reply With Quote #10

Sounds great, thanks a lot.
__________________
[kirk]./musick` is offline
Send a message via AIM to [kirk]./musick`
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 21:25.


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