Hopefully possible... help?

TomTTT

New Member
Yeah title's a bit confusing, but the truth is, i have no idea how to title this. I've seen it already in an ORPG i once played, and it's some sort of bars you can see that feel in with blue, the map i found this at is at
Warcraft III > Maps > The Frozen Throne > Scenario > BomberCommand.w3x
But I also added a picture... :p
I looked at the triggers, but there are so many, and some are in JASS, so i pretty much have no idea.
So can anyone tell me how do you do this?
 

Attachments

luorax

Invasion in Duskwood
I don't know what do you want exactly (I know that you need those bars, but I don't know what do you want to do with them), but there's a cool casting bar.
I don't have its link, but I'll upload it for you. Also, I'm sorry, but it's vJASS... (my friend sent me a map which contained it)
 

TomTTT

New Member
I don't know what do you want exactly (I know that you need those bars, but I don't know what do you want to do with them), but there's a cool casting bar.
I don't have its link, but I'll upload it for you. Also, I'm sorry, but it's vJASS... (my friend sent me a map which contained it)
Yeah it's exactly what i need, but the problem is i pretty much need it in GUI, even just to figure out WHAT are they. Floating text? How do you set it to such a figure? how do you change it? even just the concept of it...
 

skyblader

You're living only because it's illegal killing.
Hmmmm. Maybe floating text... and just a bar of llllllllllllllll that is coloured. For example half would be |cff0000fflllll|rlllll it would become something like
llllllllll
And you can change it by triggers. Let's say building time is 10, so you set something like unit begins construction, unit type of constructing unit is your building, then add unit to unit group.

Every 1 second

set buildingtime = buildingtime + 1

set stringvar = |cffffffff

for loop integer A from 1 to buildingtime
set stringvar = stringvar + l

set stringvar = stringvar + |r

set buildingtimeleft = 10 - buildingtime

for loop integer from 1 to buildingtimeleft
set stringvar = stringvar + l

Change floating text to string var.

Just a rough idea :p
 

luorax

Invasion in Duskwood
test the map, and take a look at it's code. They're floating texts, and the used character is " ' " (apostrophe). I don't know why, but if you check the test map: just like a real casting bar.
 

TomTTT

New Member
test the map, and take a look at it's code. They're floating texts, and the used character is " ' " (apostrophe). I don't know why, but if you check the test map: just like a real casting bar.
Lol i replied after testing. I noticed it, and it's very nice, but how did he color that apostrophe?
 

luorax

Invasion in Duskwood
JASS:
constant string CastingBar__Colorcode="|cff33ccff"
constant string CastingBar__ColorcodeCh="|cff00ff00"
constant string CastingBar__ColorcodeBG="|cff000033"
constant string CastingBar__ColorcodeBGCh="|cff003300"


JASS:
if Channeled==false then
call SetTextTagText(FloatingText,CastingBar__Colorcode+CastingBar__CommaMultiplier(CastingBar__NumberOfBarBits)+"|r",(CastingBar__CastingBarSize*0.023/10))
else
call SetTextTagText(FloatingText,CastingBar__ColorcodeCh+CastingBar__CommaMultiplier(CastingBar__NumberOfBarBits)+"|r",(CastingBar__CastingBarSize*0.023/10))
endif


Starts the "text" (an apostrophe-link) with the colorcode, adds a lot of apostrophe, and finishes it with "|r". That's how it works.
(Maybe I'll create a new OO Casting Bar system using J4L's Timer32... that would be better and more efficient in my opinion.. and I need more options + ARGB compatiblity for the best efficiency)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    they did not winterize any of the plants and they froze
  • The Helper The Helper:
    it is not that power consumption went up it was available capacity went down with power plants freezing
  • Varine Varine:
    What a fucking disaster. Are all of the Texas people okay? I see TH is, are we the only two?
  • Varine Varine:
    How have the other states held up? I just got power back so I have no idea what's going on, we didn't get warning
  • Varine Varine:
    Why the fuck didn't they fix this ten years ago when it happened?
  • Blackveiled Blackveiled:
    I'm in it with you and TH as well. My power has been in and out, and I have a ruptured pipe that I need to fix, shouldn't be too bad to fix myself.
  • Varine Varine:
    I hope you're staying warm! Apparently the supply is coming up so hopefully we can get back to normal power soon, mine has been on for six hours now.
  • M Mulciberxp:
    My power has been off most of the last 2 days. We had a generator installed 3 years ago though, so we're staying warm. Water is another issue...
  • The Helper The Helper:
    Where I live has a pool so we are using that to get water to flush the toilets. We have enough bottled water to drink and brush teeth and stuff but it has been a few days and no shower though....
  • Varine Varine:
    I had some water in gallon jugs, and got our water back on yesterday. We don't seem to have any leaks, but I haven't crawled down there to look yet.
  • The Helper The Helper:
    still no water I cannot remember when I last showered now I know how they felt in the old west lol
  • Varine Varine:
    My poor plants are happy, they aren
  • Varine Varine:
    aren't used to going this long without water or lights or normal heat. I think a couple of them froze, but they look like they'll make it
  • Varine Varine:
    Well one of them is pretty rough but I think it was sick to begin with, that one always had some problems.
  • jonas jonas:
  • jonas jonas:
    ???
  • Ghan Ghan:
    That is such a Texas thing to say lol
  • midnight8 midnight8:
    a positive could come out of this. So many people trapped at home could put a dent in the covid numbers in Texas
  • Varine Varine:
    That dude, Tom Boyd, is really upset about the backlash from his "it's your fault you're freezing" thing because he claims he resigned before saying it, so it wasn't like he said it in his official capacity or anything.
  • jonas jonas:
    Almost as if he was saying "screw you guys, I'm going home"
  • Varine Varine:
    I'm fairly new here still but that seems to be the analogous message by several of our politicians.
  • vypur85 vypur85:
    Nobody?
  • jonas jonas:
    Hi vypur85, long time no see
  • tom_mai78101 tom_mai78101:
    Hi vypur85, long time no see.
  • The Helper The Helper:
    We are all somebody

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top