![]() |
Health Bar Changing
Okay, if you read my post, "Fortara Update"
in the PW Forum, you will know that I am going to start working on a AP Bar/Type Health thing. I am wondering if someone could help me on how to make it to where the Ying-Yang Health Icons are a different image. Like the Bomies health. It is like an AP bar. |
hide the original hearts with showstats
and add a new one with showimg |
How do I make it to where the new image will do the Health Job. I mean like, it will do the Bomy-Type thing. Add and remove health from the new image.
|
Argh, How can I make it to where it dont show the Hearts, but, shows everything else. When I put showstats 32; it shoes it and not everythign else.
|
if the hearts = 32 for showstats
do everything else like showstats 1+2+etc for example. |
Okay, it works now. Thanks Merlin. All I need now is how to put the image I want for the health bar in the place of the hearts
|
here is an example spanky made this don't use it, just look at it:cool:
showimg 352,@Courier New@bc@#v(playerhearts),570,34; showimg 351,merlinh.gif,550,45; changeimgcolors 352,0,0,0,0; changeimgzoom 352,0; changeimgvis 352,4; changeimgvis 351,4; timeout=.05; |
what does @courier@new stuff do?
|
Quote:
@fontname@text @fontname@things like bold, underline, ect@text that is how it can be formated it will put text on the screen |
alright, i redid the state.png but now i realize i cant just make it replace like addtileder. I am going to try and script it. I will prolly be able to do the bombs arrows money hearts ap bar and so on but im a little worried about the a s and d things.
What commands should I use for scripting this |
Quote:
|
You can use changeimgzoom for changing the size of the text. -Yin
|
this wont work .....
why wont this work ?
NPC Code: |
It's meant to be used with showimg (ie. showimg 0,@text,x,y). -Yin
|
yeah i see now but now how would i make a line break so text would appear under it ?
would i have to just use showimg again ? |
You'd probably have to use some string parsing techniques. Or, you could use the say2 command with #b. I believe Lady Midnight posted a string parsing script a while back, search through either the NPC Scripting or NPCServer forums. -Yin
|
thanx anyway
i figured it out thanx anyway ........
|
someone really should make a tutuorial on this, its been asked a lot
|
Tutorial
Go read newfeatures2001.txt :D
|
| All times are GMT +2. The time now is 05:32 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.