Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   HP Bar (https://forums.graalonline.com/forums/showthread.php?t=8741)

Link188 08-03-2001 02:21 AM

HP Bar
 
Does anyone know how to make the HP Bar? Please Tell me!:( :eek:

Warcaptain 08-03-2001 06:07 AM

^_^

LiquidIce00 08-03-2001 10:28 AM

I do =)

Poogle 08-03-2001 10:55 AM

Its on one of icepicks old threds

Link188 08-03-2001 12:57 PM

Can someone Post it for me???:D

SkooL 08-03-2001 12:59 PM

I dislike HP bars, stick with hearts. ;)

mystic_pheonix 08-03-2001 01:02 PM

hp bars are cool :D

SkooL 08-03-2001 01:07 PM

Quote:

Originally posted by mystic_pheonix
hp bars are cool :D
No they aren't.

mystic_pheonix 08-03-2001 01:10 PM

they're better than hearts, because hearts are old and boring

Link188 08-03-2001 01:10 PM

HP bars are nice:)

SkooL 08-03-2001 01:13 PM

Quote:

Originally posted by mystic_pheonix
they're better than hearts, because hearts are old and boring
You can change the image by editting your state (for personal use), or for a playerworld, you can change the image for the hearts for everyone on your playerworld. :)

mystic_pheonix 08-03-2001 01:18 PM

Quote:

Originally posted by Link188
HP bars are nice:)
yes they are:)

grim_squeaker_x 08-03-2001 05:18 PM

HP bars are nice as long as they don't just make use of hearts.

Tyhm 08-04-2001 12:29 AM

HP Bars are still vastly unimplemented...Stefan needs to add some new scripting or PW settings for like showinsteadofhearts, so when you enter a level, the Bomy shows the Bomy health icon and "100" instead of the hearts icon and "3", and when you click their profile you see their Bomy health instead of their Hearts...

LiquidIce00 08-04-2001 12:35 AM

Quote:

Originally posted by Tyhm
HP Bars are still vastly unimplemented...Stefan needs to add some new scripting or PW settings for like showinsteadofhearts, so when you enter a level, the Bomy shows the Bomy health icon and "100" instead of the hearts icon and "3", and when you click their profile you see their Bomy health instead of their Hearts...
that would be neat but I think it would be too picky ...

Poogle 08-04-2001 01:20 AM

YAY!!! LuqiudIces ugly sig is gone! IM SOO GLAD AND NOT AFRIAD NO MORES!

wetferret1 08-04-2001 03:08 AM

When will the guild TAGS work again?

LiquidIce00 08-04-2001 03:28 AM

Quote:

Originally posted by Poogle
YAY!!! LuqiudIces ugly sig is gone! IM SOO GLAD AND NOT AFRIAD NO MORES!
too bad yours isnt =(
and why npc forum with a stupid subject?
and why cant you spell =( i mean i dont worry about punctuation and capital letters but you cant spell =(

wetferret1 08-04-2001 03:39 AM

BURN!! But I like his lil signature! It's funny! (WILL HE SURVIVE!?!??! TELL ME?!?!?!)

08-04-2001 05:25 AM

Here, If you dont know where to place the images ect, then you shouldnt use this script.

NPC Code:

// NPC made by Ice Pick
timereverywhere;
timeout=.05;
if (playerenters) {
toweapons -System Status-;
}
if (timeout) {
if (isweapon) {
showstats 1+2+4+8+16+256+512+1024;
this.pos = {screenwidth-180,30};
this.hpdisplay = ((playerhearts/playerfullhearts)*100);
this.mpdisplay = ((playermp/100)*100);
this.apdisplay = ((playerap/100)*100);
if (good) {
showimg 1,bargif.gif,this.pos[0],this.pos[1];
}
else if (evil) {
showimg 1,bargif.gif,this.pos[0],this.pos[1];
}
else {
showimg 1,bargif.gif,this.pos[0],this.pos[1];
}
changeimgvis 1, 4;
if (this.hpdisplay>0) {
showimg 3,bargif.gif,this.pos[0]+15,this.pos[1]+33;
changeimgpart 3,0,0,this.hpdisplay,6;
changeimgvis 3,4;
}
else {
hideimg 3;
}
if (this.apdisplay>0) {
showimg 4,bargif.gif,this.pos[0]+15,this.pos[1]+50;
changeimgpart 4,0,0,this.apdisplay,6;
changeimgvis 4,4;
}
else {
hideimg 4;
}
if (this.mpdisplay>0) {
showimg 5,bargif.gif,this.pos[0]+17,this.pos[1]+66;
changeimgpart 5,0,0,this.mpdisplay,6;
changeimgvis 5,4;
}
else {
hideimg=0.5;
}
}
}
if (playerdies) {playerap=playerap;playermp=playermp;}


08-04-2001 05:27 AM

Also If you use it on your playerworld send me a email at [email protected] telling me. Also give me credit for the stats system to!!

SkooL 08-04-2001 05:43 AM

Quote:

Originally posted by wetferret1
BURN!! But I like his lil signature! It's funny! (WILL HE SURVIVE!?!??! TELL ME?!?!?!)
Please do not encourage him. It is not even remotely funny and I have lost all respect for you for saying that.

wetferret1 08-04-2001 06:16 AM

UMM!! I was just kidding lol!!

SkooL 08-04-2001 06:19 AM

Quote:

Originally posted by wetferret1
UMM!! I was just kidding lol!!
It was a little hard to decipher whether that was sarcasm or not.

wetferret1 08-04-2001 06:20 AM

I know..But I was j/k

Enigma_GP6 09-03-2001 06:19 AM

Rebel95
Quote:

"Throught the greatest difficulty, there comes an oppritunity.-Albert Einstien "
GASP!
Ya know, if you could figure out how he did that, I would be a monkey's uncle, wait, nevermind, I am one.
-Rebel95:megaeek: :megaeek: :megaeek:

Merlin 09-03-2001 06:28 AM

umm icepick that script looks remotly like the one falados made for enigma...

SSj_Link 09-04-2001 07:38 AM

Quote:

Originally posted by IcePick_2001
Also If you use it on your playerworld send me a email at [email protected] telling me. Also give me credit for the stats system to!!
hmmm what if I put it in my system gwhahahaha * falls over from lack of sanity pills * GWHAHAHHAHAHHA BABY LEGS PAY THE MORGAGE!!!!!!!! GHWHAHAHHAHAHAHA * gets shot *:spam:


FrEaKy CaRnIe

ArmadeusWarlock 09-04-2001 07:47 AM

ummmm
 
Ice Picks script isnt anything special, it just puts everything where the hearts should be :( .
HP isnt hard to script either.

SSj_Link 09-04-2001 08:43 AM

i just like the old fashioned hearts....

ArmadeusWarlock 09-04-2001 09:50 AM

hmmmm
 
I am now stealing icepicks script for my own =)
Im gonna change it around andmess around with it to add my time stuff, plus change gfx and stuff

SSj_Link 09-08-2001 08:04 PM

Retarded
 
Just to be all anal and such

Will anyone post bargif.gif I wanna mess with it and I r sux0r at gfx:D :) :cool:


-FrEaKy CaRnIe-

ArmadeusWarlock 09-09-2001 01:36 AM

...
 
...
:spam:
Why not just make your own image?

SSj_Link 09-09-2001 02:00 AM

I tried
but I dont know how to make GFX like that
or how to do transparency
cna someone send them over AIM to enmasstrikeback or over MSN [email protected]

-FrEaKy CaRnIe-

SSj_Link 09-10-2001 12:05 PM

Re: ...
 
Quote:

Originally posted by ArmadeusWarlock
...
:spam:
Why not just make your own image?

i have seen his gfx. they are horrible !
- boozy

Sep3kP2P 09-10-2001 11:03 PM

question
 
i have a question about an exp script. so far, the only way we would be able to do this, is check where the sword hit, and if whatever there is dead, how else would i be able to do this? any ideas?

Sep3kP2P 09-11-2001 01:47 AM

.....
 
that is being mean =(

Falcor 09-11-2001 02:18 AM

EXP is never perfect when killingpklayers / baddies. and it you can get it perfect its really long. I made one semi-perfect but i really didnt put any effort at all into it. The EZest way is for stefan just to add the flags i asked. playerkillsplayer and playerkills[baddiename]

Sep3kP2P 09-11-2001 07:10 AM

...
 
but will he? ...NAH!!!

SSj_Link 09-22-2001 03:35 AM

Re: Re: question
 
Quote:

Originally posted by Kaimetsu


I have some, but I'm not going to tell you because I'm mean.

MEAN SCRIPT MONKEY! * beats him with a bannana * DIE DIE DIE
:D

-Freaky Carnie-


All times are GMT +2. The time now is 01:36 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.