wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 03-20-2013, 03:50 AM   #1
xintell
User
 
xintell's Avatar
 
Join Date: Mar 2013
Posts: 19

xintell has little to show at this moment (0)

Question shield bar

is it possible to make a hp bar of shield skill? for example abaddon's aphotic shield but you can see a shield bar I need this for my map so that players will know if they can still fight knowing how much shield they have.

my ideas for this one is to use the avatar bar as shield hp bar like the image below well of course the one written on it should be shield :P

xintell is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 03-20-2013, 06:04 AM   #2
Fledermaus
default string
 
Fledermaus's Avatar
 
Join Date: May 2006
Posts: 604

Submissions (1)

Fledermaus has a spectacular aura about (134)

Send a message via MSN to Fledermaus
Default

There's an old system here. I think it'll be quite out of date and might not even compile/run anymore. But you should be able to get a general idea for how you might do it anyway.
Fledermaus is offline   Reply With Quote
Old 03-20-2013, 07:06 AM   #3
xintell
User
 
xintell's Avatar
 
Join Date: Mar 2013
Posts: 19

xintell has little to show at this moment (0)

Default

this is great ^^ thanks a lot

edit: not working though :(

Last edited by xintell : 03-20-2013 at 07:12 AM.
xintell is offline   Reply With Quote
Old 03-20-2013, 05:52 PM   #4
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,083

Submissions (19)

Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Yeah, that resource is rather old, even if it were still working I'd recommend using a more up-to-date approach.

For damage prevention code, I'd use DamageModifiers, a general and robust engine that can also do other damage modification in your map, not just specific shields like that old system.

You'd then need another library that handles floating text bars for displaying the shield life. I did a quick search and found the TTBars library which seems to do exactly that.
__________________
Anitarf is offline   Reply With Quote
Old 03-20-2013, 09:55 PM   #5
xintell
User
 
xintell's Avatar
 
Join Date: Mar 2013
Posts: 19

xintell has little to show at this moment (0)

Default

I see :) well I still think I can learn on that old one but I will use damage modifiers as well since it is awesome and for that TTbars :D that's epic thanks a lot
xintell is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 03:16 PM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2013, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services