The Dink Network

New Dev File: Enemy Healthbar

February 17th 2007, 08:24 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Mr. magicman has released Enemy Healthbar v1.00. This super-cool script will add a floating healthbar above enemies, and it is super-easy to use.

February 17th 2007, 10:13 AM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
I have to admit this file is really cool indeed, but I would prefer if they were little smaller and smoth in the corners so that they dont look like solid blocks
February 17th 2007, 02:13 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Good file. I'm don't like the graphics though. I agree they should smaller and rounder. I'd kinda would prefer green with a silver-ish background I think. So, good file, ugly graphics.
February 17th 2007, 02:53 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
So why exactly do you load the health bar 4 times if you only use it 3?
February 17th 2007, 03:28 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Ok, sorry to triple post, but a bug and a question.

First, the tiny little bug. Your health bar is hittable.

Secondly, I edited the health bar graphics to something that I think looks much better. Could I (should I) upload my health bar graphics as a patch or something?
February 17th 2007, 05:12 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
That is a hack to make the default thing working.

&size_seq = 850 + &arg1, but if &arg1 isn't given, it defaults to 0. So that's why I have loaded it in 850 as well. Of course I could have added another default-check, as I did with &arg2 and &current_sprite.

As for your other post: Sure, upload it. This is exactly why I placed instructions for changing graphics in the readme. The current ones were a quick paint-jobby anyway

EDIT: Hittable? Hmm, I must have overlooked that.
To fix, add sp_nohit(&current_sprite, 1); in the main proc. Best place would probably be the very first line in main(), or the line after sp_que.
February 17th 2007, 05:40 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Ok, I think as a patch.. ummm I'll try that and they can deal with it if I'm wrong

About the graphics:
I've fixed the corners so it's not so boxy, there are 4 colors, and 3 sizes (different height) for each color. There is green on gray, green on red, red on gray, and yellow on red. As for the sizes, the first has one pixel of the interior color, second has two pixels, and third has three pixels. I'll add screen shots of the new bars as well.
February 17th 2007, 05:53 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Ok, I can't make a patch for someone else's file. I'll just upload it as a file and maybe someone could make a link in the description of your file or something.
February 17th 2007, 06:00 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
I think that if you leave "special instructions", one of the staffers will figure it out. And they'll read this thread anyway
February 17th 2007, 06:04 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Ok I did that. First time I've looked at the update form since they made all these changes to the site.
February 17th 2007, 07:19 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Haha, this was the first time I ever got something on this site via an upload form. Yeah, I've been quiet for a few years
February 17th 2007, 08:13 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Hmm... instead of having rabidwolf9's 'Health Bars' being dependent upon magicman's 'Enemy Healthbar', wouldn't it be acceptable if 'Enemy Healthbar' was updated with rabidwolf9's spiffy health bars, and 'Enemy Healthbar' was now a collaborative effort between you two?
February 17th 2007, 08:53 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
It's fine by me if it's ok with him.
February 17th 2007, 09:03 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Shur.
February 17th 2007, 09:59 PM
bonca.gif
MichaelV
Peasant He/Him Australia
It's all in the mind, you know 
This is very cool.
I can see every new D-Mod being released from now on having health bars on enemies. It solves the problem "Now how much HP does that darn boss have left!!"
February 18th 2007, 10:29 AM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
Cool stuff, magicman!
February 18th 2007, 03:54 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
Coolness.I think I'm gonna get back to working on my
new dmod pretty soon here and I will be using this nifty
little healthbar.
February 20th 2007, 08:16 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
The health bar is a fantastic file, but I hope people don't just shove them into every d-mod from now on! I think I'll only use them for boss encounters.

Great work.
February 21st 2007, 01:31 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
Yeah, that's a good idea.
February 24th 2007, 02:22 AM
wizardb.gif
Endy
Peasant He/Him United States
 
Could make it distance-to-Dink dependent, so it wouldn't show up for every single creature on the screen.
March 22nd 2007, 03:07 PM
spike.gif
VaultDweller
Peasant He/Him United States
Wanderer of the Wasteland 
That is incredibly awesome. Both in usefulness and inventiveness.

Now all we need to do is make a Dink Smallwood RTS and the healthbar will look completely appropriate too.

Sincerely,
The Vault Dweller