WatchNon-threaded

Forums » Advanced Editor Forum » Read Thread

Talk about it. Ask for help on it. Compliment it.

Highlighting and Health Bars

8 months ago

I had an idea that if you make a pattern like this |__|__|__|__| and then used the code (shout out to BerkaZerka for making the artical with how to do this part) that changes what the screen says based on a variable ((EXAMPLE: %%STRENGTH%<%3%Weak%%%%STRENGTH%=%3%Below Average%%)) Then I could make a health BAR by doing somthing like this %%HEALTH%=%QHEALTH%3%|__|__|__|__|%%%%HEALTH%=%HALFHEALTH%|__|__|__|__|%%%%HEALTH%=%3QHEALTH%|__|__|__|__|%%%%HEALTH%=%MAX%|__|__|__|__|%% but in each one a different amount would be highlighted.

 

EXAMPLE

You are a Newbie fighter that is very weak so you only have 4 hit points. When at full Health the bar |__|__|__|__| would be completly highlighted green. You get stabbed in the foot when someone throws a spear so now the bar |__|__|__|__| would be 3/4 highlighted in yellow.

Does anyone have a code for highlighting?

Highlighting and Health Bars

8 months ago
You have to use HTML. Just do a Google search for HTML highlighting.

Highlighting and Health Bars

8 months ago

Highlighting and Health Bars

8 months ago
<font color="red" size="1">%%ZPERCENT%<%96%~%%%%ZPERCENT%<%91%~%%%%ZPERCENT%<%86%~%%%%ZPERCENT%<%81%~%%%%ZPERCENT%<%76%~%%%%ZPERCENT%<%71%~%%%%ZPERCENT%<%66%~%%%%ZPERCENT%<%61%~%%%%ZPERCENT%<%56%~%%%%ZPERCENT%<%51%~%%%%ZPERCENT%<%46%~%%%%ZPERCENT%<%41%~%%%%ZPERCENT%<%36%~%%%%ZPERCENT%<%31%~%%%%ZPERCENT%<%26%~%%%%ZPERCENT%<%21%~%%%%ZPERCENT%<%16%~%%%%ZPERCENT%<%11%~%%%%ZPERCENT%<%6%~%%%%ZPERCENT%<%1%~%%</font><font size="1">%%ZPERCENT%>%95%~%%%%ZPERCENT%>%90%~%%%%ZPERCENT%>%85%~%%%%ZPERCENT%>%80%~%%%%ZPERCENT%>%75%~%%%%ZPERCENT%>%70%~%%%%ZPERCENT%>%65%~%%%%ZPERCENT%>%60%~%%%%ZPERCENT%>%55%~%%%%ZPERCENT%>%50%~%%%%ZPERCENT%>%45%~%%%%ZPERCENT%>%40%~%%%%ZPERCENT%>%35%~%%%%ZPERCENT%>%30%~%%%%ZPERCENT%>%25%~%%%%ZPERCENT%>%20%~%%%%ZPERCENT%>%15%~%%%%ZPERCENT%>%10%~%%%%ZPERCENT%>%5%~%%%%ZPERCENT%>%0%~%%</font>

Highlighting and Health Bars

8 months ago
Brad gets upset about font tags.

Highlighting and Health Bars

8 months ago
One of the few "features" CYS still has over the competition though lol!