HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How Do I Make All Players the Same Color?

06-09-2003, 02:34 PM#1
Cog
I've tried looking in player properties and triggers but I can't figure it out, if anyone can post what I need to do, it would be much appreciated. Thanks,
06-09-2003, 02:55 PM#2
Panto
I'm not a trigger god but I know enough to set you on your way.

Create a trigger with an event for "whenever a unit enters the entire map".

A condition should be that the unit entering is neither neutral passive nor neutral hostile.

The action should be to change the unit color to whatever color you want. You could even change it to the color of Player 1, for example, so that the host could inadvertantly decide on the color for all the players.

What is this for, out of curiousity?
06-09-2003, 03:02 PM#3
Cog
Well it's for a midieval map I'm making, I wanted to make all the characters brown and grey so that we don't have pink knights running around. I wasn't sure if I could do this, but I played the first "Hold the Line" game and the guy made all characters brown and light blue, so I've been trying to figure it out since then.
06-09-2003, 03:18 PM#4
Dead-Inside
Set unit color = X, there are presets.

Regards
Dead-Inside
06-09-2003, 03:46 PM#5
Earth-Fury
to change a untis color, di is correct. to change all the untis owned by a player and theplayers coulor:

player - change coulor

easy as that. now, pie.
06-09-2003, 04:33 PM#6
XVoltaireX
And if you want to choose all the players go

Pick Player Group(All Players) and Change Player(Picked Player) color to(Color) changing (exisiting units)

and you can do this on the map initialization.
06-09-2003, 06:46 PM#7
Dead-Inside
Sweet, you got your best answer, last.
Goody...
06-10-2003, 12:20 PM#8
Cog
Thanks for all the replies, I've been trying to get this to work forever and it finally did :ggani:
06-12-2003, 05:56 AM#9
Panto
What about changing units to black? It seems like it'd be doable, but black isn't on the color list.

It's what's used for neutral units, though, so it should be something a person could achieve.
06-12-2003, 08:40 AM#10
Raleign
It's possible, I've done it before, all you need to do is set the player the color of a neutral player that you haven't changed the color of, so you CAN have a black player.
06-12-2003, 03:59 PM#11
Panto
I have no neutral players. And at any rate, those players are automatically assigned a color when you enable them in Player Properties anyway, are they not?