| 04-12-2008, 07:50 PM | #1 |
First i hate DOTA, but it's not the main of this post. when you are an observer you get the first Unused player slot, but in the dota map it seems not. Or at least the units have the right color. i tried to change the colour of the units and the player but it doesn't work. I don't want to lost my time to read the ugly unprotected code of the DOTA map , so plz tell me how he did that if i must, i'm not afraid to edit the war3map.j directly |
| 04-12-2008, 08:20 PM | #2 | |
Quote:
i remember in dota it's weird realised. aka the 2 cpu players are get neutral (some players above 11 player) and observers are 0,6 player. here i found the place xD JASS:if GetPlayerState(III0[0],PLAYER_STATE_OBSERVER)!=0 or GetPlayerState(II10[0],PLAYER_STATE_OBSERVER)!=0 then set I0OI=true set III0[0]=Player(13) set II10[0]=Player(14) set O1O01O=Player(0) set O1OIOO=Player(6) call SetAllyColorFilterState(0) yes the Sentinels and Undead are 13,14 players ... after 5 minutes. yes it's easy. playerslots 0 and 6 are not intialized. so if you turn observers ON war3 automaticaly adds it. after this in the map are some checks to make normal compability etc. so in fact dota easly can be 6 vs 6 players. aka anything needed is allready done. |
| 04-12-2008, 09:13 PM | #3 |
Unused slots dont need to stay after used... |
| 04-12-2008, 11:58 PM | #4 |
You can still create units for players even if they are not designated as player slots (as Toadcop said) |
| 04-16-2008, 05:02 PM | #5 |
thx for answer but who know what is the action(s) that i need to display the player's name when the mouse is above an unit. If you are a player (not an observer), in the dota map you can see the name of the Player(13) and the player(14). SetPlayerName works well but when the mouse is above any unit of these neutral players, i don't see their name, even if i'm a player |
| 04-16-2008, 09:09 PM | #6 |
Neutrals do not display its name also they always black on minimap if second(?) minimap filtering is set. |
| 04-17-2008, 04:58 PM | #7 |
| 04-17-2008, 05:06 PM | #8 |
So what's the problem? You can already see the player name when you're the player. And DioD, they aren't black on the minimap as far as I know. |
| 04-17-2008, 05:15 PM | #9 | |
Quote:
the problem is that i can't make that !!! (read the post before this one). |
| 04-26-2008, 01:39 PM | #10 |
up |
| 04-27-2008, 10:23 PM | #11 |
Did you try changing the player names locally? |
| 04-27-2008, 10:31 PM | #12 | |
Quote:
Um.. change the classification of the unit to what a neutral item shop has or in other words change the classification on the unit to Mechanical, Neutral it should display names like you want then.(You might not even need the Mechanical part i'm almost sure it's the neutral part of classification that shows names like that with mouse over units.) |
| 04-29-2008, 05:28 PM | #13 | ||
Quote:
Quote:
Indeed neutral classification is important but it is not so easy. For the neutral hostile player, the name appears whatever the unit, even without attribute neutral. for the passive neutral player, the name is displayed if the unit has the neutral classification and it is a building. for the other neutral players it just doesn't work ... Maybe there is an other tip |
