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

Titanium Armor v1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   VEN (29)
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-09-2007 , 17:17   Titanium Armor v1.1
Reply With Quote #1

Titanium Armor

Description
This plugin allows players to buy bullet-proof armor. This is similar to other bullet-proof armor plugins, but much more flexible, more user friendly and has more features.

Installation
Install like any other plugin. Cvars:
  • amx_titanium (default: 1) - turns titanium kevlar on or off
  • amx_titanium_cost (default: 2000) - how much the kevlar costs
  • amx_titanium_helmcost (default: 600) - how much the helmet costs
  • amx_titanium_penetration (default: 0) - how much bullets penetrate titanium, as a percentage (i.e. if amx_titanium_penetration is at 50 and a bullet would normally do 70 damage, it instead does 35)
Usage
Whenever a user either picks up or buys any sort of armor, a menu will be displayed asking them if they would like to upgrade it to titanium armor (see screenshot #2). If they picked up normal kevlar, the menu will ask them if they want to upgrade it to a titanium kevlar. On the other hand, if they picked up a kevlar and helmet, they will be asked if they want to upgrade it to a titanium kevlar and helmet. If they already have titanium armor, this message will not be displayed.

The stomach (HIT_STOMACH) and chest (HIT_CHEST) will be blocked by titanium kevlar, while the head (HIT_HEAD) will be blocked by titanium helmets. Any place that is blocked will produce a spark to help users realize that the person they are shooting at has titanium armor (see screenshot #1).

Screenshots


Attached Files
File Type: sma Get Plugin or Get Source (titanium_kevlar.sma - 6566 views - 4.4 KB)
__________________

Last edited by Hawk552; 03-24-2007 at 11:25.
Hawk552 is offline
Send a message via AIM to Hawk552
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 03-09-2007 , 17:29   Re: Titanium Armor v1.0
Reply With Quote #2

O.o This is really c00L! Gj man...... +karma
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 03-09-2007 at 17:35.
Alka is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 03-09-2007 , 20:08   Re: Titanium Armor v1.0
Reply With Quote #3

great, trying....
__________________
Voi is offline
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 03-09-2007 , 22:02   Re: Titanium Armor v1.0
Reply With Quote #4

nice, +karma im testing on my condition zero server right now.
datwinkle is offline
Send a message via AIM to datwinkle
Przemo
BANNED
Join Date: Mar 2007
Location: HLDS.pl
Old 03-10-2007 , 02:17   Re: Titanium Armor v1.0
Reply With Quote #5

Hawk it's working on linux server??
Przemo is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-10-2007 , 08:03   Re: Titanium Armor v1.0
Reply With Quote #6

You could have a command to buy it for players who don't usually buy throught menus, but with binds.
You should add the possibility via a cvar to make players run slower when they have a titanium armor.
ConnorMcLeod is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 03-10-2007 , 08:06   Re: Titanium Armor v1.0
Reply With Quote #7

and mb ability to drop this armor ? when die or something
__________________
Voi is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-10-2007 , 09:42   Re: Titanium Armor v1.0
Reply With Quote #8

Quote:
Originally Posted by Przemo View Post
Hawk it's working on linux server??
Uhh, does it? If you want to test it, by all means, go ahead.

Quote:
Originally Posted by connorr View Post
You could have a command to buy it for players who don't usually buy throught menus, but with binds.
You should add the possibility via a cvar to make players run slower when they have a titanium armor.
It detects when a person actually picks up the armor, not when they use a menu or anything similar.

I might make people run slower and have less gravity (or something similar to that).

Quote:
Originally Posted by Voi View Post
and mb ability to drop this armor ? when die or something
Probably not, but I'll consider it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 03-10-2007 , 09:46   Re: Titanium Armor v1.0
Reply With Quote #9

i could do a reskin of default kevlar for you
__________________
Voi is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-10-2007 , 09:48   Re: Titanium Armor v1.0
Reply With Quote #10

Quote:
Originally Posted by Voi View Post
i could do a reskin of default kevlar for you
Would you have to do it for every model? If you do, you can make it bigger and maybe we can attach it to the bone position of the player?

I don't know, if it's too much work it's probably not worth it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 15:11.


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