Dateien

> > CS2D > Lua Scripts > [MECH] Balanced medic armor
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [MECH] Balanced medic armor >

22 Kommentare394 b, 439 Downloads

alt [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!
Zugelassen von GeoB99

Download Download

394 b, 439 Downloads

Kommentare

22 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

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

alt

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.
Ich mag es!

alt

VADemon
User Off Offline

Yates hat geschrieben
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.

alt

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.

alt

VADemon
User Off Offline

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

@user Yates:
Zitat
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?

alt

mirkocar
User Off Offline

user Yates: True, but why you then start with:''this is your math?''. This is all true.
Ich mag es!

alt

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.

alt

mirkocar
User Off Offline

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

idiots.
Ich mag es!

alt

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 hat geschrieben
= +[number]

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

Ri0T hat geschrieben
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 hat geschrieben
actually you're fuckin' kid.

Ha, says you who cannot even plus and minus.
1× editiert, zuletzt 03.09.12 21:15:29

alt

omg
User Off Offline

good job riot, 10-5=15

alt

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.
Ich mag es!

alt

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.

alt

Raisun
User Off Offline

Then everyone will wear stealth suit and it will sucks.

alt

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.

alt

VADemon
User Off Offline

Zitat
Why brackets?

We're teached this way.

Zitat
Why plus?

Mathematically correct, so why not?

Thanks for trolling and insulting.

alt

Yates
Reviewer Off Offline

@user mirkocar: Oh man, you fail in every aspect possible.

Zitat
10 + (-5) = +5

Zitat
(-5)

Why brackets?
Zitat
+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.

alt

VADemon
User Off Offline

Yates hat geschrieben
This is what you call math?

Ha!

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

alt

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.

alt

mirkocar
User Off Offline

user Yates: you're rly idiot, go learn math...
Ich mag es!

alt

Yates
Reviewer Off Offline

Zitat
10 + (-5) = +5

This is what you call math?

Ha!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang