Dateien

> > CS2D > Lua Scripts > [CSP] Healthbar [v 1.1] -script-
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch [CSP] Healthbar [v 1.1] -script- >

35 Kommentare3 kb, 876 Downloads

alt [CSP] Healthbar [v 1.1] -script-

Alistaire
User Off Offline

So I've made a healthbar script to beat all the others. It's a pretty easy one but it looks way better than some ugly 'colorjumping' one which changes on damage only, and it's not as CPU-demanding as e.g the ones that use a super complex code with angles and shit.

Enjoy,

~Alistaire

----

There are 3 modes;

HB_mode = 1 ; Healthbar goes from sides to middle
HB_mode = 2 ; Healthbar goes from left to right
HB_mode = 3 ; Healthbar goes from right to left

----

Updates:

[1.1]     Hpbar updates at hit
3× editiert, zuletzt 05.07.12 15:54:26
Zugelassen von Yates

Download Download

3 kb, 876 Downloads

Kommentare

35 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

GeoB99
Moderator Off Offline

@user Yassssuo: All Lua scripts are located in the sys/lua directory path. Once you have extracted the script file to the right path, you must dofile it in order to make it work while you start the server. Copy the following line below and paste it through server.lua.
dofile("sys/lua/Hpbar.lua")

alt

Yassssuo
User Off Offline

were to put this script? autorun? server?
Ich mag es!

alt

KimKart
Idiot Off Offline

Such script.
very code
such doge.
Ich mag es!

alt

Pagyra
User Off Offline

HB_mode = 4 ; Healthbar goes from up to down
plz

Change color and hpbar size for different values
Ich mag es!

alt

okeyman
User Off Offline

yah awesome!
Ich mag es!

alt

Avo
User Off Offline

Yeap it's nice. Best HP bars that I have ever seen.
Ich mag es!

alt

Sniper_x
User Off Offline

Very nice! This is a real healthbar script!
Ich mag es!

alt

J4x
User Off Offline

Maybe i'll test, the one I saw was pretty good.

alt

Yates
Reviewer Off Offline

@user J4x: If it has been done before it does not mean that it is not good or useful. I find this one better than others, so it's an improvement. There is point in making something again to improve it, that's life. Get used to it.
Ich mag es!
1× editiert, zuletzt 29.05.12 13:56:34

alt

maPmaKer
User Off Offline

I don't care how you did the math, I just love the sprite! Nice, I'll use it.
Ich mag es!

alt

Alistaire
User Off Offline

@user J4x

This is better. Also, Mapmaker asked for this so I've made it for that reason, not because I want to get loads of likes on something that's 'Already done before..'.

alt

SkullzOrig
User Off Offline

I thought it was for all servers, I had brain fart.

alt

BlackBelt
User Off Offline

yeah, its good to 4fun, thx you.
Ich mag es!

alt

sheeL
User Off Offline

i like your script ^^'
Ich mag es!

alt

J4x
User Off Offline

Already done before..

alt

Lubo
User Off Offline

your Picture suck!
But the script is fine...

alt

Infinite Rain
Reviewer Off Offline

Nope... lol, you will have lot less mess with sprites and script will be more lower. If you know how to use this method right.
Ich mag es!

alt

Alistaire
User Off Offline

@user Infinite Rain

But that is not my script. Also you'd need a lot more functions and shit to do what you want.

alt

Apache uwu
User Off Offline

yeah most games I've seen go from right to left

centered ftw!
Ich mag es!

alt

Infinite Rain
Reviewer Off Offline

If I will use one pixel image weight then it will be OK.
I using that method.
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang