HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding more colors to the Color List

01-20-2006, 01:55 PM#1
Jazradel
I'm making an AOS, and because I've decided to have 6 players on each team I've been having to use Neutral Extra and Neutral Victim as my spawners. The problem is both the colors are black, making it hard to differentiate between them.

So I wanted to add some more colors. I looked in the standard places and found a couple of entries, TriggerData.txt which lead to WorldEditStrings.txt. Suprisingly enough WorldEditStings.txt has a whole heap of extra colors already in:
So I added a field to TriggerData.txt, loaded World Edit up and tried it out. Not suprisingly it gave me an error, so I went to look in the .j files.

In common.j it has a list of colors, but they're just ConvertPlayerColor().
Right then I gave up. Is there any way to add aditional colors to the player color menu?

Oh is there anyway to change the font size that a multiboard uses?
01-20-2006, 02:58 PM#2
qwertyui
I have never actually seen it done :o
If i were you, i would just change the color of all spawned units to something different, and be done with it. Noone cares about NPC colors on loading screen much anyway.
By the way, is it possible to change unit color to anything outside the 13 normal colors? (12 player + black)
01-20-2006, 03:13 PM#3
AnarkiNet
you can force a unit to always use a certain team color, but i dont think you can make "your own" colors like the way you can color text or tint models.
01-20-2006, 03:30 PM#4
Whitehorn
Aye, tavern is forced to red team colour - so just make your neutral side A use a colour (possibly swap with a player, because black TC rocks for heroes).
01-20-2006, 03:51 PM#5
Chuckle_Brother
Or you could use custom imported colour images, never tried it but it should work.


Oh and to whoever said it, Neutrals don't show on load or score screens.
01-20-2006, 03:53 PM#6
Whitehorn
Import what?
01-20-2006, 04:00 PM#7
Anitarf
Also, don't use neutral hostile, it has some quirks in unit behaviour, use neutral passive instead.
01-20-2006, 04:23 PM#8
Jazradel
Oh right, I meant Neutral Victim and Neutral Extra. What quirks are you talking about though?

I thought about swapping a color, but I still need an extra one.

Doesn't Neutral Player shows if you enable it with triggers?

And what do you mean importing files?
01-20-2006, 04:34 PM#9
Tim.
Import textures with the right paths to replace the colors you want to change, is what he is getting at I believe.
01-20-2006, 04:50 PM#10
Jazradel
Ah ha. I has no idea it had the textures like that. I thought they were color codes built into the game or something. Well thanks guys I now have several extra color sets to screw with.

Edit: Well, I imported my custom color into my map as ReplaceableTextures\TeamColor\TeamColor15.blp. But I can't do anything with that because ConvertPlayerColor still returns the standard black. Any ideas?
01-20-2006, 05:38 PM#11
qwertyui
I think its hardcoded :/
You, of course, know that you can change color of units without changing their ownership? So you can set one of the nations to the same color as one of its players.
01-21-2006, 12:07 AM#12
Jazradel
I just realised that the color were working, at least partly.

I imported a white image to the ReplaceableTextures\TeamColor\TeamColor15.blp and when I reloaded my map, all neutral units I place have white team color. There units I create show white in team game, but any I spawn with triggers after are black.

Edit: Okay, I just tried importing them into the War3.mpq. It works fine but I can't do that if my maps going on battle.net. Anyone know how to stop Warcraft III loading those files from the .mpq?
01-21-2006, 08:12 PM#13
Jazradel
Bump.
01-21-2006, 08:31 PM#14
Taur
I don't think you actually added a new colour, you see including neutral extra and neutral victim there are 16 players and the textures start at 00, so I suppose war 3 allows for up to 16 textures I"m not sure. Try doing #16

anyways I believe it works if you just import blizzard.j or whatever u edited into your map.
01-22-2006, 02:37 AM#15
Jazradel
I customised the ReplaceableTextures\TeamColor\TeamColor##.blp files. I extracted 13/14/15 which are neutral extra, neutral victim and neutral passive. I then changed the colors and imported them into my map. It showed the color changed on units placed in WE but when I created the units with trigger it didn't work. I then imported the files into the .mpq and the colors changed for everything. Does anyone know how to get around this?