View Single Post
Plugin Info:     Modification:          Category:          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 - 6575 views - 4.4 KB)
__________________

Last edited by Hawk552; 03-24-2007 at 11:25.
Hawk552 is offline
Send a message via AIM to Hawk552