AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   True Armor (https://forums.alliedmods.net/showthread.php?t=70479)

soccdoodcss 04-25-2008 21:24

True Armor
 
6 Attachment(s)
True Armor
Depletes Armor Before Health

Info:
. Simply buy armor, when damaged your armor will go down.
. When it runs out, your health will go down.

. Percent Armor Protection is how much damage the armor protects.
. If you are damaged with 30 damage, and ta_perc = 0.5 then 60 damage is dealt to the armor.

CVARS:
. ta_on (def: 1) - enables the plugin
. ta_perc (def: 1.0) - percent armor protection

Requires:
. Fun
. Hamsandwich

Changelog:
. 1.1:
- Added percent cvar.

. 1.1a:
- Fixed bug Simon Logic reported.

BOYSplayCS 04-25-2008 21:48

Re: True Armor
 
I was working on this, lol. And your code is so similar to mine.

Good job anyway.

soccdoodcss 04-25-2008 21:52

Re: True Armor
 
Sorry, just made it in a couple minutes. Wanted it for my server, thought I'd post it. Feel free to give me more ideas / code and I can give you credit if you want.

BOYSplayCS 04-25-2008 21:57

Re: True Armor
 
I started it about ten minutes ago. No need for credit, you finished first, not a long code

;)

Emp` 04-25-2008 22:21

Re: True Armor
 
Fail.

soccdoodcss 04-25-2008 22:40

Re: True Armor
 
That one doesn't have a percent cvar like mine.

Edit: Also, in that version you can still die when you aren't supposed to. Mine checks damage, changes it, the removes it from the armor. While his takes the damage, calculates what it should be, then adds the health back and removes it from the armor.

Emp` 04-25-2008 22:59

Re: True Armor
 
Yes it does.

soccdoodcss 04-25-2008 23:30

Re: True Armor
 
I don't know what all that was about, but thank you for the approval.

cs1.6 04-26-2008 00:04

Re: True Armor
 
also there is q3 armor (allready).

Q3 Armour v1.0.1


I think the one of SimonLogic is most versatile though.

soccdoodcss 04-26-2008 00:11

Re: True Armor
 
Yea his is well done, but is a bit more advanced, and still doesn't have the percent like mine. His is more specific, mine is for general use, more or less.


All times are GMT -4. The time now is 19:32.

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