For team colour you will need to modify the Selection actors used. Either validate the creation or try a Set Tint Colour action. There is a term that allows selection of a specific player slot.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Sorry, I don't understand [Either validate the creation or try a Set Tint Colour action. There is a term that allows selection of a specific player slot.].
This for a selected team colour or predefined one? If it is a selected one then you need triggers to do the tinting. Even still that would be an iterative process of selected team colour is this set tint colour of selection to that for index player blah.
Hi, all.
I want to Changing Color of Selection Circle and Pre Selection Circle.
These circle's color are fixed.
Player = green
Ally and Neutral = Yellow
Enemy = Red
I want to change these fixed color to Team Color.
I hope someone has solution.
Thanks.
You want to change them on all units or just some?
Under the Game UI Data data type there is the UI: Selection Colors field.
Else you will need to make custom Selection type actors and tint them using the events.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Thank you for reply!
I want to change all units.
I found Game UI Data data type there is the UI: Selection Colors field.
It's Possible to set selection color what I selected.
How can I set Team Color?
I tried [making new Selection Actor -> Inherits -> Check "Team color"] But It's not working.
It always show UI: Selection Colors.
For team colour you will need to modify the Selection actors used. Either validate the creation or try a Set Tint Colour action. There is a term that allows selection of a specific player slot.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Sorry, I don't understand [Either validate the creation or try a Set Tint Colour action. There is a term that allows selection of a specific player slot.].
Event -> Add event : ActorCreation -> Set TintColor -> ???
How do I set team color?
It's impossible to set team color in "set TintColor" Action.
In "set TintColor" I can set color which I specific picked.
This for a selected team colour or predefined one? If it is a selected one then you need triggers to do the tinting. Even still that would be an iterative process of selected team colour is this set tint colour of selection to that for index player blah.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I got it. Thanks
I have to use trigger.
[Solution]
Create Actor
-Name : Selection Actor
-Actor Scope : Unit
-Content1,2,3 :null
Send Actor Message
-Message : Set Tine Color
-Color : Convert Player Color to Color
-HDR : 1.0
-Duration : 0.0
-Actor : Last Created Actor