Mod help: Unit colors?

Post Reply
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Mod help: Unit colors?

Post by Ardis »

Alright, I have a sprite ready for my mod, but I don't know how to set it up so that it will have different colors based on the owner of the unit yet, anyone here know how to do that?
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8328
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా

Re: Mod help: Unit colors?

Post by IskatuMesk »

Magneta colors on the unit will turn into player colors when the unit is ingame.

Note that the two darkest indexes of magneta will not.
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Re: Mod help: Unit colors?

Post by Ardis »

Okay.
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Re: Mod help: Unit colors?

Post by Ardis »

It worked, thank you very much.

By the way, do you know what the maximum size (in pixels) is that StarCraft will accept as a usable sprite?
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
User avatar
IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8328
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘ జ్ఞ‌ా

Re: Mod help: Unit colors?

Post by IskatuMesk »

In a technical speaking, SC will accept 256x256, but it's unstable. 255x255, however, works well. For an example of how big that is...
You do not have the required permissions to view the files attached to this post.
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Re: Mod help: Unit colors?

Post by Ardis »

Plenty big enough. Doug wanted the Krom to have big ships in the mod, I think that's more than big enough.
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
Post Reply