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.
[02:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[02:47 am]
Symmetry -- I'll check it out this weekend!
[02:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[02:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[01:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[01:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[01:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
[01:31 am]
Ultraviolet -- Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
[12:20 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: https://staredit.net/profile/133367/ dude's avatar is massive
Is it forbidden to have a large avatar?
[12:04 am]
Ultraviolet -- https://staredit.net/profile/133367/ dude's avatar is massive
Please log in to shout.


Members Online: City, sarahtaylor