Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [EE2] How to Change PColor and Unit Color
[EE2] How to Change PColor and Unit Color
Aug 7 2021, 10:36 pm
By: Ultraviolet  

Aug 7 2021, 10:36 pm Ultraviolet Post #1



Renato requested I make a picture tutorial of how to change player colors and unit colors in EUD Editor 2. I figured it was worth sharing here as well since I don't remember seeing a tutorial that worked for changing these values. Thanks to everyone in the SEN EUD Discussion Discord group for answering all my questions and showing me how to do this :)

Enter Advance View in Trigger Editor:



Player Color and Basic Unit Color Changes:



Color Changes for Units with Subunits (Tank, Gol, etc):



https://cafe.naver.com/edac/73202 is an excellent resource for seeing what all the different player color values look like in jungle tileset. Keep in mind some of these colors may vary by tileset. PColor value can be anything between 0-255, running this function will update all of that player's units to be the new color selected. UnitColor value can be anything between 0-11, running this function will set the selected unitPTR to be the selected player color P1=0, P2=1, etc.. What I do for custom colors that don't belong to any given player is set one of the players 9-11 to the desired color and then set the unit to be whichever player 9-11 I have selected to have the desired color. I believe this can be done infinite times to create whatever array of colored units you desire. This is an extremely handy trick for doing a variety of things, one of the primary things I use it for is to give enemy heroes a different color than standard enemy units, allowing them to be owned by the same player while being visually distinct.

Post has been edited 2 time(s), last time on Aug 8 2021, 1:18 am by Ultraviolet.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: reaganelynn