[MECH] Balanced medic armor

22 comments
03.09.12 07:24:44 pm
2 like it!
394 b, 109 Downloads
VADemon
User
Offline
[Mechanics] Balanced medic armor

I don't know how I got the idea... but I thought that medic armor is a bit imba: it gives you 10HP every second! In my opinion it's a lot for an armor - you heal yourself anywhere! That's why there's that small solution.

Feature:
Control how many HP a player gets when wearing medic armor!

You can even let a player lose HP by using the incredible power of math!

How to:
Install the script by dropping balanced_medic_armor.lua into /sys/lua/autorun

Now you would want to change the value, that decides about how many HP a player gets (by default 5HP/sec).
Just change the medic_armor_health variable!

Examples:
There's an easy formula to calculate how much a player will get:
10 + %your_value%

That means if medic_armor_health equals -5, a player gets just 5HP/sec because 10 + (-5) = +5

medic_armor_health = 5 (15HP/sec in total)

medic_armor_health = -11 (-1HP/sec in total)

PS: Do with that script whatever you want.

Enjoy!
This file has been reviewed and approved by Fraizeraust (13.03.16 07:11:50 pm)

Comments

22 comments
Goto Page
1 2

Log in!

You need to log in to be able to write comments!Log in
08.09.12 05:09:52 pm
Tobey
User
Offline
I would like a system that is based on how much health you already have, if that is possible, because right now it looks like an all players value... whatever, I like the idea. Also, riot is right with his mathematical shit. your shitstormery is over 9000...
07.09.12 01:41:27 pm
I like it!
M_
User
Offline
*avoiding from this discussion*

That is a nice idea, I agree that Medic Armor healing 10 HP/S is a lot, but this script is to simple and everyone can do it.

I know you can improve it, puting an advanced mechanic, like bleeding, injuries, etc. I can help you.

Keep your way in Lua Scripting.
04.09.12 02:34:25 pm
VADemon
User
Offline
Yates has written:
And why not just do 10 - 5 = 5? I have always learned to use the quicker and easier way. It's easier to understand and write down of course.

I wrote the + to make it clearer for uber-idiots who may read it.

Will I am. For dumbs I wrote.
03.09.12 09:24:46 pm
Yates
Reviewer
Offline
@Ri0T: The +[outcome] makes no sense.

That is my point.

And why not just do 10 - 5 = 5? I have always learned to use the quicker and easier way. It's easier to understand and write down of course.

@ VADemon: I didn't even mean that, whatever. It would save use all a lot of hassle then to just drop it anyway.
03.09.12 09:23:55 pm
VADemon
User
Offline
@ omg:
http://www.lua.org/cgi-bin/demo
Code:
1
print(10 - (-5))

@ Yates:
Quote:
So, next time Ri0T, just go fuck yourself. We would all be better off without you annoying the shit out of everyone with your stupidity.

And, yes, I exaggerated with "incredible power of math". What now? The 3rd World War?
03.09.12 09:17:58 pm
I like it!
mirkocar
User
Offline
Yates: True, but why you then start with:''this is your math?''. This is all true.
03.09.12 09:14:47 pm
Yates
Reviewer
Offline
@ mirkocar: You said idiots, so I'm going to think you meant me as well.

Read my last post before the quotes directed to VADemon, I just explained why not to use + with an outcome. Makes no sense.

There, I edited my first quote so you might understand now.
03.09.12 09:07:33 pm
I like it!
mirkocar
User
Offline
omg: Hahahaha... omfg kid, you goin' in 4. class?
10 - (-5) = +15

idiots.
03.09.12 09:04:15 pm
Yates
Reviewer
Offline
@ mirkocar: You really are a dumb child aren't you.

I will not explain any more, you are just useless. No need to waste my time on someone that doesn't even get the point in such a simple explanation.

Ri0T has written:
= +[number]

Oh are you fucking serious? Shit. This proves my point even more..

Ri0T has written:
don't be smart genius

As I genius I will try not to act smart. Or is this you not understanding what you even type?

Ri0T has written:
actually you're fuckin' kid.

Ha, says you who cannot even plus and minus.
edited 1×, last 03.09.12 09:15:29 pm
03.09.12 09:03:30 pm
omg
User
Offline
good job riot, 10-5=15
03.09.12 09:01:36 pm
I like it!
mirkocar
User
Offline
Yates: lol
10 + (-5) = +5
10 - (-5) = +15
10 - (+5) = +5
10 + (+5) = +15

don't be smart genius, actually you're fuckin' kid.
03.09.12 09:01:27 pm
Yates
Reviewer
Offline
@ VADemon: Did not insult you. If you felt that way then sorry, I decided to put Ri0T in his small little corner where no one gives a fuck what he says.

I do not get why you would be teached to use brackets on plus or minus. It is only required with -[number]^[number] sometimes or when you want to do something first, like (1 + 1) / 2.

And the plus thing is not mathematically correct. It would be terrible to even do it with every number above zero. It's useless and your teacher (If you still go to school) would probably not even mark it as correct.

And would you please google the word trolling. I find it annoying when someone comments on everything I do as trolling.
03.09.12 08:59:30 pm
Raisun
User
Offline
Then everyone will wear stealth suit and it will sucks.
03.09.12 08:45:39 pm
SkullzOrig
User
Offline
You want to make something more useful. Make a balanced version of the armors.
Light armor
Speed = 0% or 0/100
Protection = 25% or 25/100          -- 25% of 100hp = 125hp

Armor
Speed = -3% or -3/100
Protection = 50% or 50/100          -- 50% of 100hp = 150hp

Heavy armor
Speed = -5% or -5/100
Protection = 75% or 75/100          -- 75% of 100hp = 175hp

So armors are not so unevenly powered, and armor with more protection slows you down more.
03.09.12 08:44:36 pm
VADemon
User
Offline
Quote:
Why brackets?

We're teached this way.

Quote:
Why plus?

Mathematically correct, so why not?

Thanks for trolling and insulting.
03.09.12 08:18:46 pm
Yates
Reviewer
Offline
@ mirkocar: Oh man, you fail in every aspect possible.

Quote:
10 + (-5) = +5

Quote:
(-5)

Why brackets?
Quote:
+5

Why plus?

So, next time Ri0T, just go fuck yourself. We would all be better off without you annoying the shit out of everyone with your stupidity.

Thanks.
03.09.12 08:04:19 pm
VADemon
User
Offline
Yates has written:
This is what you call math?

Ha!

Congratulations! Now, we know you both aren't 10 years old or younger!
03.09.12 07:59:23 pm
Raisun
User
Offline
@ mirkocar: You are tottal moron.

On file: Idea is nice, but there isn't some special math. But since I didn't see any more scripts like this, you deserve a like.
03.09.12 07:56:51 pm
I like it!
mirkocar
User
Offline
Yates: you're rly idiot, go learn math...
03.09.12 07:53:10 pm
Yates
Reviewer
Offline
Quote:
10 + (-5) = +5

This is what you call math?

Ha!
1 2
﻿