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

We do a little trolling

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.



My Projects:

Impossible Ultraviolet | Impossible UV 2 | Impossible UV 3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:25 pm]
Zakerozi -- HI
[10:29 pm]
Symmetry -- handledeez nuts
[07:42 pm]
Excalibur -- Its handled.
[06:50 pm]
Praetor -- yo nude or another mod, anyone around rn?
[07:30 am]
NudeRaider -- ultraviolet
[04:42 am]
LoveLess -- ultragod
[04:07 am]
Symmetry -- I'm trying to figure out an end goal for my map. So far the best I've got is "destroy the AI data centers to summon god then kill god"
[2026-8-21. : 2:46 pm]
DarkenedFantasies -- if you're hyped for something and end up disappointed by it, do you call that a hypo?
[2026-8-20. : 10:25 pm]
Moose -- ya, he hyped as hell, I can tell
[2026-8-20. : 2:28 am]
Symmetry -- Ultraviolet
Ultraviolet shouted: skibidi
are you excited for the movie tho
Please log in to shout.


Members Online: Symmetry, RIVE