Warcraft III resources & community, 2003–2006 · archived

Just need somone simple things answerd

16 posts
#1

Just need somone simple things answerd

i want to know how to change the color of words and how to make a like leader bored that says ur name lvl and amount of kills
#2
1) to change the color of texts use the command |cxxxxxx00 <text>|r and for the x use values from a-f and 0-9. what the single colors are... figure it out :wink: .

2) the multiboard:

TRIGGER 1 CREATE MULTIBOARD

EVENT: 
time - elapsed game time = 0.01 seconds

ACTIONS: 
Multiboard - Create a multiboard with 2 columns and X rows, titled <your text>
For each (Integer A) from 1 to X, do (Actions)
    Loop - Actions
        Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to Name of Player(Integer A)

        Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to string(Player(Integer A)-current lumber **

        Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 10.00% of the total screen width

        Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 10.00% of the total screen width

        Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons

        Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons



** if you have the kills stored in player lumber do so.... if you stored in variable insert your variable here (best is an array variable here btw)

X is the amount of players you have max.



TRIGGER 2 REFRESH MULTIBOARD

EVENT:
time - periodic event check every 5 seconds

ACTIONS:
For each (Integer A) from 1 to X, do (Actions)
    Loop - Actions
        Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to Player(Integer A)-current lumber **



EDITED: oh and i forgot implement levels uhm.... well add a third column like above.
#3

Thanks a bunch

thanks this is going to help alot but ummm lol
i know not one thing about variables except there really complincated... soo yeah a lil more detail or somethign plzzz XD
#4
About the colours. There are already some 'examples' in the gameplay interface (no upkeep, low and high upkeep, artifact (purple) history (orange) noncombat consumeable (light blue))
#5
o kool thanks XD
i know the html way like the 990099 i know the numbers but the letters are confusing
#6
Well i tried the trigger it didnt quit work though
i had to set it to player 1 (red)
and it wouldnt say how much lumber or lvl just Player(interger..etc..
soo yeah could you help me?
my gamne is only going to have 6 players with heros(each player will have 1 hero)
so yes if you could help me
#7
ffs.. find a tutorial... or even download a map that has mutiboards in.

As for the colors.. check the tools section get 'Chaos Spectrum'
bada bing bada boom -- sorted
#8
hahaha thanks....i guess i shoulda done that first xD
#9
Dont use chaos spectrum, Ive read those comments and alot peeps gain viruses after using/dling it
#10
o ok then what should i do?
and can u suggest any maps that are unprotected and have multibords?
#11
well, i think i forgot sth in my trigger showed above: in trigger create multiboard you have to use a command like multiboard - show multiboard to player (integerA).

hm... i dont know the exactly function, because i havent WEU at moment - you have to search a bit :wink: .

another thing: make sure you dont use LEADERBOARDS. what you need is (correct me if im wrong) MULTIBOARDS.

then the above triggers should work correctly.

EDIT: BTW on this link SHOULD be some tutorials for creating multiboards:
http://www.wc3sear.ch/viewforum.php?f=14

EDIT2: well, i correct myself - you dont need multiboard. for that what u need a leaderboard from normal WE is useable.

and i found an unprotected map where u can learn or copy the triggers for leaderboard. there is exactly what u need.
i searched a bit and found it in map section:
http://www.wc3sear.ch/?p=Maps&ID=6420

EDIT 2958348.... : and dont forget to copy the trigger where is detected when a unit is killed >> then give lumber to owner of killer.


this should help ya very well :)
#12
thanks this is going to help out alot
but i cant read german XD
and the leaderbored only shows one thing right
id have to learn how to use a muiltibored if i wanted lvl and kills huh
#14
EmoEnigmaand the leaderbored only shows one thing right id have to learn how to use a muiltibored if i wanted lvl and kills huh


well when you started the topic, you did only say you need name and kills. :wink:
#15
Concerning the colors you might only use a simple painting program, they usually show the color-codes with an # in front. Like this one "#ABBA01" wich makes Greenish Darkblue. :P