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

Penetrable Shield v1.5


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Exolent[jNr] (178)
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-16-2009 , 09:41   Penetrable Shield v1.5
Reply With Quote #1

Description:
This plugin makes the shield of counter strike penetrable.

Modules:
Fakemeta
Hamsandwich


Cvars:
Code:
// How the cvars work:
// 1.0 means that we don't have shield anymore
// 0.0 shield will never be penetrated
// 0.5 - 50% chance the shield will be penetrated
// 0.05 - 5% chance the shield will be penetrated

ps_ch_knife 0.05 // Chance for knife
ps_ch_pistols 0.05 // Chance for pistols
ps_ch_shotguns 0.1 // Chance for shotguns
ps_ch_submachine 0.2 // Chance for sub-machine guns
ps_ch_rifles 0.25 // Chance for rifles
ps_ch_snipers 0.5 // Chance for snipers
Useful Links:
Servers using this plugin

Changelog
PHP Code:
v1.5  changed cvar systemadded Arkshines/SnoWs suggestions
v1.0  
initial release 
Attached Files
File Type: sma Get Plugin or Get Source (penetrable_shield.sma - 2644 views - 4.7 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 10-12-2009 at 19:23. Reason: Readded it.
ot_207 is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 09-16-2009 , 09:43   Re: Penetrable Shield
Reply With Quote #2

:O
BOYSplayCS is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 09-16-2009 , 09:46   Re: Penetrable Shield
Reply With Quote #3

Quote:
Originally Posted by BOYSplayCS View Post
:O
why do you write today all what i think or want to write oO

i wanted to write the same now i have to write anything else

i must try this plugin
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-16-2009 , 09:48   Re: Penetrable Shield
Reply With Quote #4

Quote:
Originally Posted by One View Post
why do you write today all what i think or want to write oO

i wanted to write the same now i have to write anything else

i must try this plugin
Ok.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 09-16-2009 , 09:49   Re: Penetrable Shield
Reply With Quote #5

Very nice ideea, gj for it.
__________________

anakin_cstrike is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 09-16-2009 , 09:52   Re: Penetrable Shield
Reply With Quote #6

yea the idea is very very nice. & no problems. works perfect. AWESOME. +k
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-16-2009 , 09:53   Re: Penetrable Shield
Reply With Quote #7

Quote:
Originally Posted by anakin_cstrike View Post
Very nice ideea, gj for it.
Quote:
Originally Posted by One View Post
yea the idea is very very nice. & no problems. works perfect. AWESOME. +k
Thanks!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-16-2009 , 11:53   Re: Penetrable Shield
Reply With Quote #8

Nice. I don't have much things to say ( ) but you could cache is_user_alive because the forward is called very often and I think it's worth to do it, and for the BONE_* you create as var when just as define would be enough ( just 'const' ).
__________________
Arkshine is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 09-16-2009 , 11:58   Re: Penetrable Shield
Reply With Quote #9

I dont know why this plugins isn't made it? o.O

Rly good, nice idea.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 09-16-2009 , 12:20   Re: Penetrable Shield
Reply With Quote #10

Ottyyy.
PHP Code:
if (number == HEAD_NECK)
  return 
HIT_HEAD
 
 
if (number == BONE_R_BUTT)
  return 
HIT_RIGHTLEG
 
 
if (number == BONE_L_BUTT)
  return 
HIT_LEFTLEG 
These are yelling "switch us!".
SnoW is offline
Send a message via MSN to SnoW
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 05:09.


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