| 07-07-2004, 09:28 AM | #1 |
Hey, I have 3 questions i need answered ASAP! 1) In a multiboard how do you use a player's name and have his name be his color? (I.E. me = Miningjrk(CG) as teal my name would be Miningjrk(CG). 2) Is it possible to use integers in multiboards like for total kills Event- A unit owned by (all players) dies Condition- Killing player = to teal Action- Add 1 to TealKills (integer variable) and have that variable displayed in the Kills column row 2 (teal) If so how? and if not How would you do that? o_O 3) This is not multiboard related i dont think but it is leaderboard. Is it possible to use a hero experiance bar in a leaderboard window? (with diffrent values such as kills till hero upgrade, upgrade occurs when bar fills up 100 kills /100). I dunno if this idea has been used but i havent seen it and it sounds unique in my head so feedback would be appriciated so long as u dont steal the idea for some reason. Also how would you go about doing this? Thanks alot in advance :D -Miningjrk |
| 07-07-2004, 02:55 PM | #2 |
I dont know what you mean with 3, but for 1 and 2: use color codes: they start with |c then 2 alpha characters (you should use FF there always) then 2 red, 2 green, blue characters. So for example, red is: |cFFFF0000. when you want 2do this in a multiboard do this: add to multiboard item row 1 column 1 ("|cFFFF0000" + playernumber of player 1 + "|r") |r closed the color code, always do this at the end of the part you want colored. 2, just have an integer array PlayerKills[8] events: a player 12 brown unit dies conditions none actions set playerkills[playernumber of (owner of unit( killing unit)))] = playerkills[playernumber of (owner of unit( killing unit)))] + 1 add to multiboard |
| 07-08-2004, 01:04 AM | #3 |
Thanks alot for your reply, ill try that ASAP. As for the third question about the experiance bar. I want to put a hero Experiance Bar (image attached) into a multiboard. Is that possible and how do you go about doing it? A detailed explination would be appriciated as im not as experianced with multiboards as I would like to be. If its possible to do it in a leaderboard that would be awesome. Thanks in advance! -Miningjrk |
| 07-08-2004, 04:41 AM | #4 |
You cant put it in a mulitboard, you could however make six models to do the trick. Why six you might ask. One is for the begginning curve, one for the normal part of the bar and one for the end curve. The other three are the same just filled with a different color. An empty hero meter might look this. XYYYYYYYYYYYZ where X is the start curve, Y is the normal part and Z is the end curve. |
| 07-08-2004, 10:05 AM | #5 |
I dont think thats possible, cuz you can only add really small icons to the multiboard... sry |
| 07-08-2004, 11:25 PM | #6 |
You could make something very similar to what you want. Look for a tutorial about multiboard gauges, and just change the pics colour to purple. |
| 07-09-2004, 12:50 AM | #7 |
If you use World Editor Unlimited (WEU), you can add a progress bar to a multiboard. I myself don't know how to use it, but the WEU site has an explanation in the documentation. |
| 07-09-2004, 02:01 AM | #8 |
aiursrage was right. you have 2 end images and 1 small middle image that you repeat over and over. but you also need empty images. you need 2 black end pieces and 1 black middle image. then you have to figure out the exp range. this is where i think you cant do it. There arent many commands at all for exp. all ive seen is you can get the current exp of a hero and change it. for the multiboard to work you would need to know how much exp that level started at, and how much exp it ends at. if you can figure out a way to do that... ill give you the rest :8 |
| 07-09-2004, 03:33 AM | #9 |
-={tWiStÄr}=- Isn't hero exp static. If you level up at 100 for level 2 you will always level at 100 for level 2, so by using the trigger to get the current xp lets say 50 and what you know to be the spot where you level up(100) you can get the percent. All you would have to do is fill an array with the numbers until you reach whatever cap you have set for heros in your map. |
| 07-09-2004, 02:41 PM | #10 |
well that system would get pretty annoying with 30 levels.. but i guess what you could do is.. Code:
loop 1 - 10 set range = xpmax[levelofhero] - xpmin[levelofhero] if range/(xpmax[levelofhero] - xpofhero) => forAindex*10 //this should.. give you what percent of the level is done. then set boardspot[forAindex] = true else set boardspot[forAindex] = false endloop and do know there is a very high chance this wouldnt work cause i got really confused for some reason. |
| 07-10-2004, 03:43 PM | #11 |
can anyone tell me how to make buttons, or just selectable items on a multiboard because im trying to make a turn-based rpg with two or three multiboards and i need some assistance for the menu. if anyone could help it would be greatly appreciated. ![]() |
| 07-10-2004, 06:33 PM | #12 |
wow dude.. way to completely invade his thread.. and i dont think you can make selectable items on a multiboard, use a dialog |
| 07-10-2004, 08:18 PM | #13 |
sorry didnt mean to "invade" his thread...but anyway, yeah ill just try and do it with dialogs and once thats working ill try and incorporate a multiboard, now im going to retreat from this thread |
| 07-12-2004, 01:31 AM | #14 |
Well actually it really dosent have anything to do with a hero. Except having that style bar. I want to have that bar be a kills meter displayed to only 1 person (so there would be 10 of em). It would go from 1 to 100. At 100 the bar would reset. The idea is every 100 kills you get a hero upgrade such as attack or armor. You can see your progress twards then next upgrade via the bar. Could someone please put this in simpler terms. Maybe if one of you would be kind enough to make a demo map? That would be awesome. Thanks -Miningjrk |
| 07-12-2004, 04:17 AM | #15 |
ill try and make a demo map, i get what youre saying and thats a really good idea, and i think i could make it pretty simply. if i run into any problems ill let you know otherwise ill have it done soon i hope, unless someone else gets it faster |
