Staredit Network > Forums > SC2 Assistance > Topic: Applying custom colors
Applying custom colors
Nov 27 2012, 11:25 am
By: payne  

Nov 27 2012, 11:25 am payne Post #1

:payne:

Context: There are two teams, each has its color. Each player has a unit which has a certain logo underneath (an attached image). This logo is colored based on the team of the player. The colors are based on Player Colors ("Player 01 (Red)" and "Player 02 (Blue)".

Problem: The color I can set these logo via triggers are not satisfying me. They do not contrast enough. The triggers are currently using the Player 01 Red and Player 02 Blue.

Are there any ways I can change the default color value of Player 01 Red and 02 Blue? Or are there any ways to change the color of these images to values that wouldn't be preset (so basically, where I could set RBG values)?
Or else, I know the "Override Color" data is changeable in the Data Editor, and it represents the colors for when players press ALT+F (changes the colors of units from player-based to alliance-based). While this is great, I would need a way to detect via triggers the state of that option for each player (it is a saved option that perpetrates itself through games, so I believe I cannot use something like a Pressed Key Event).



None.

Nov 27 2012, 11:35 am DevliN Post #2

Woah

You can't change the player colors, but you can change the shade of the tint of those images to something other than the preset colors. When you're setting the color of the tint, you can set the "Hue", "Sat", "Lum", and RGB to whatever you want.



:devlin: Currently Working On: :devlin:
Myself

Nov 27 2012, 11:45 am payne Post #3

:payne:

Quote from DevliN
You can't change the player colors, but you can change the shade of the tint of those images to something other than the preset colors. When you're setting the color of the tint, you can set the "Hue", "Sat", "Lum", and RGB to whatever you want.
How do? What is the action's name?



None.

Nov 27 2012, 11:50 am DevliN Post #4

Woah

"Set Dialog Item Tint Color". Then when selecting a color, instead of choosing from the "Preset" list, go to "Value" and click the colored rectangle next to "Color:".



:devlin: Currently Working On: :devlin:
Myself

Nov 27 2012, 8:10 pm payne Post #5

:payne:

Ah, by "image", I meant that it is an actual image imported in the map. The maker then used Actors to mess with the color (Send Actor Message).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Ultraviolet