Files

> > CS2D > Lua Scripts > [px20] Custom Health Absorption v1.0
Files overviewCS2D overviewLua Scripts overview

English [px20] Custom Health Absorption v1.0 >

5 comments2 kb, 400 Downloads

old [px20] Custom Health Absorption v1.0

Baloon
GAME BANNED Off Offline

Hello us sgn users, today i wanna upload my new script, called "Custom Health Absorption".

> Description <
Bored of default CS2D armor absorption?
Spoiler >
Now, you can set up your health absorption to any value. For example, USP has 24 damage, you have 33% absorption, when someone hits you, your health only lose 16.

> Usage <
Write
setarmor2 <player id> <percentage value>
in console.

illegal Rules illegal
You are allowed to attach or plug into your own script.
You are allowed to play it on your own server.
You are allowed to share it with my permission.
You are allowed to edit the configuration only.
You are allowed to edit all with my permission.
You are not allowed to claim it as yourself.
Please tag me if you attach this in your own script.

spam Change logs spam


spam Known bugs spam
Version 1.0 release >


spam What's new in next version? spam
INFO
Image support.
INFO
Absorb issue.

off-topic Installation off-topic
First step : Download this script.
Second step : Extract .zip file into your CS2D file.
Last step : Play with sv_luaserver
1
cha.lua

P.S.: This file archive will be edited much times.
P.P.S.: If you don't understand, sorry for my English.
P.P.P.S.: If you found any bugs, please report it to me with comment in this file archive, any reports is my pleasure.
edited 4×, last 27.11.16 04:51:27 am
Approved by GeoB99

Download Download

2 kb, 400 Downloads

Comments

5 comments
To the start Previous 1 Next To the start

Log in!

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

old

Baloon
GAME BANNED Off Offline

@user Bowlinghead: added to do list
More >

old

kerker
User Off Offline

Cool! 5/5
I like it!

old

Bowlinghead
User Off Offline

Nice idea but your code is actually wrong.
More >
This hook will kill players when the true damage is enough to kill the opponent even though they would survive with their armor.

I tested it without armor:
Left knife hit reduces 45hp
Test Result: 100hp, 55hp, 10hp, kill

But with 50% armor:
Left knife hit reduces 23hp
Test result: 100hp, 77hp, 54hp, 31hp, kill
So the victim would have survived that shot but it doesnt.

What I dont like that you can´t set the armor to 0 again (only with death)
And the default name should be "Armor" or sth but not "Unknown"
edited 2×, last 28.08.16 03:27:15 pm

old

sonkii
User Off Offline

CS2D has this odd thing but it damages randomly,not depending on it's accuracy.This strange thing happened many times on M249 and M134 (sth like that).

By the way,Its nice through.
I like it!

old

Mami Tomoe
User Off Offline

Sounds cool.
I like it!
To the start Previous 1 Next To the start