Raised This Month: $ Target: $400
 0% 

Real Armor


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-01-2006 , 18:17   Real Armor
Reply With Quote #1

Real Armor
This plugin first takes your armor down, then takes away health. No longer will you have 88 armor left when you are dead.

Cvars
mp_realarmor <1|0> - 1 = on, 0 = off
mp_armorperc - percent of damage armor takes [ default 1.0 ]

Required Modules
Engine, Fun
Attached Files
File Type: sma Get Plugin or Get Source (realarmor.sma - 1330 views - 993 Bytes)
__________________
More updates for Matrix Mod!

Last edited by Emp`; 04-25-2008 at 22:59. Reason: Updated to v0.2
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-01-2006 , 18:28  
Reply With Quote #2

Nice, I love the idea of this.

Do you think that it'd affect a Warcraft3 mod server?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 03-01-2006 , 18:42  
Reply With Quote #3

while "real"ly you could die and have all of your armor (or nearly all) intact, i think this plugin is a great idea! it brings back the old school gaming feeling.
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 03-01-2006 , 18:51  
Reply With Quote #4

Nice, will install.
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-01-2006 , 20:20  
Reply With Quote #5

Quote:
Originally Posted by v3x
Nice, I love the idea of this.

Do you think that it'd affect a Warcraft3 mod server?
Not really sure, I don't have War3 installed so I won't be able to test.
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-01-2006 , 22:36  
Reply With Quote #6

Oh okay. I would guess so since War3 messes with your health a lot.

Suggestion: Tell people about the cvar in the original post.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-01-2006 , 23:01  
Reply With Quote #7

Quote:
Originally Posted by v3x
Oh okay. I would guess so since War3 messes with your health a lot.

Suggestion: Tell people about the cvar in the original post.
Post updated, thanks!
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
VEN
Veteran Member
Join Date: Jan 2005
Old 03-02-2006 , 04:14  
Reply With Quote #8

I think you should do a note that this plugin wouldn't work all the time as intended since Damage event sended after actual damage. So if player "should" be dead it would dead anyway.
VEN is offline
NeverDie
Junior Member
Join Date: Mar 2006
Old 03-02-2006 , 08:16  
Reply With Quote #9

for this plugin to work wouldnt you have to add the hp taken of back on because this plugin does not block damage done to your hp so if u get 20 hp of it still come of it just comes of your armour aswell
Code:
new health = get_user_health(id) set_user_health(id, health + take)
or something like that might fix it.
NeverDie is offline
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 03-02-2006 , 08:46  
Reply With Quote #10

Quote:
Originally Posted by NeverDie
for this plugin to work wouldnt you have to add the hp taken of back on because this plugin does not block damage done to your hp so if u get 20 hp of it still come of it just comes of your armour aswell
Code:
new health = get_user_health(id) set_user_health(id, health + take)
or something like that might fix it.
I think you might be right, brb for a quick test!
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
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 19:32.


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