Files

> > CS2D > Lua Scripts > [MECH] Balanced medic armor
Files overviewCS2D overviewLua Scripts overview

English [MECH] Balanced medic armor >

22 comments394 b, 438 Downloads

old [MECH] Balanced medic armor

VADemon
User Off 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!
Approved by GeoB99

Download Download

394 b, 438 Downloads

Comments

22 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Tobey
User Off 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...

old

mozilla1
User Off 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.
I like it!

old

VADemon
User Off 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.

old

Yates
Reviewer Off 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.

@user VADemon: I didn't even mean that, whatever. It would save use all a lot of hassle then to just drop it anyway.

old

VADemon
User Off Offline

@user omg:
http://www.lua.org/cgi-bin/demo
1
print(10 - (-5))

@user 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?

old

mirkocar
User Off Offline

user Yates: True, but why you then start with:''this is your math?''. This is all true.
I like it!

old

Yates
Reviewer Off Offline

@user mirkocar: You said idiots, so I'm going to think you meant me as well.

Read my last post before the quotes directed to user 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.

old

mirkocar
User Off Offline

user omg: Hahahaha... omfg kid, you goin' in 4. class?
10 - (-5) = +15

idiots.
I like it!

old

Yates
Reviewer Off Offline

@user 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

old

omg
User Off Offline

good job riot, 10-5=15

old

mirkocar
User Off Offline

user Yates: lol
10 + (-5) = +5
10 - (-5) = +15
10 - (+5) = +5
10 + (+5) = +15

don't be smart genius, actually you're fuckin' kid.
I like it!

old

Yates
Reviewer Off Offline

@user 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.

old

Raisun
User Off Offline

Then everyone will wear stealth suit and it will sucks.

old

SkullzOrig
User Off 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.

old

VADemon
User Off Offline

Quote
Why brackets?

We're teached this way.

Quote
Why plus?

Mathematically correct, so why not?

Thanks for trolling and insulting.

old

Yates
Reviewer Off Offline

@user 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.

old

VADemon
User Off Offline

Yates has written
This is what you call math?

Ha!

Congratulations! Now, we know you both aren't 10 years old or younger!

old

Raisun
User Off Offline

@user 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.

old

mirkocar
User Off Offline

user Yates: you're rly idiot, go learn math...
I like it!

old

Yates
Reviewer Off Offline

Quote
10 + (-5) = +5

This is what you call math?

Ha!
To the start Previous 1 2 Next To the start