Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [EUD] Change player color
[EUD] Change player color
Jan 4 2018, 1:06 am
By: Wormer  

Jan 4 2018, 1:06 am Wormer Post #1



A quick question here. I can't understand if it is now possible to change player's color on the fly using EUDs?



Some.

Jan 4 2018, 9:52 pm Pauper Post #2



I tried to play around with it last night without success (I really had no clue what I was doing, I probably was doing it wrong). I got the error message that the map has an invalid EUD in it and the game closed.



Alias: Oo.Pauper.oO - Mp)Madness - Bitz - p00pyjoel

Jan 4 2018, 10:17 pm T-warp Post #3

Unlimited N-word pass winner

Try messing with it in 1.16.1 with a memory editor (i.e. cheat engine). If you succeed, try making EUD triggers for your changes.




Jan 4 2018, 11:10 pm Suicidal Insanity Post #4

I see you !

Even if you change the player's color on the fly, it will not update the graphics. You will also need to update the sprites color setting. I vaguely remember an example where somebody was doing that here a few weeks ago.




Jan 4 2018, 11:32 pm Wormer Post #5



That's interesting! seems doable if all I need is to change color of 1-2 units.



Some.

Jan 5 2018, 5:41 am safhfh Post #6



Quote from Wormer
That's interesting! seems doable if all I need is to change color of 1-2 units.

You can do it easily by using euddraft



Or you can change all of the unit




Post has been edited 1 time(s), last time on Jan 5 2018, 6:04 am by safhfh.



None.

Jan 5 2018, 6:23 pm Gambler Post #7



Address "0x581D74 + 8 * player" holds the value of player`s color in 3-4th byte.
Address "0x581DD0" holds the value of minimap color.



None.

Jan 5 2018, 7:49 pm O)FaRTy1billion[MM] Post #8

👻 👾 👽 💪

Even if you change the player's color on the fly, it will not update the graphics. You will also need to update the sprites color setting. I vaguely remember an example where somebody was doing that here a few weeks ago.
That only stores which player's color to use. If you edit a particular player's color, all of the units with their color will change accordingly.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Jan 5 2018, 8:07 pm Suicidal Insanity Post #9

I see you !

Quote from O)FaRTy1billion[MM]
Even if you change the player's color on the fly, it will not update the graphics. You will also need to update the sprites color setting. I vaguely remember an example where somebody was doing that here a few weeks ago.
That only stores which player's color to use. If you edit a particular player's color, all of the units with their color will change accordingly.

Oh ok. That's actually what I do in scmdraft, but I thought starcraft stored the color directly.




Jan 5 2018, 8:45 pm MTiger156 Post #10

Veteran Mapper

Quote from Gambler
Address "0x581D74 + 8 * player" holds the value of player`s color in 3-4th byte.
Address "0x581DD0" holds the value of minimap color.
I've played around with those addresses, made some really distorted colors. I need some hints for making the P1-P12 colors.
Edit: This might be a silly question...




Jan 6 2018, 4:23 am Gambler Post #11



Quote from MTiger156
Quote from Gambler
Address "0x581D74 + 8 * player" holds the value of player`s color in 3-4th byte.
Address "0x581DD0" holds the value of minimap color.
I've played around with those addresses, made some really distorted colors. I need some hints for making the P1-P12 colors.
Edit: This might be a silly question...

P1-P12`s color codes => 111, 165, 159, 164, 156, 19, 84, 135, 185, 136, 134, 51
EPD(0x581D74 + 8 * player) = -8572 + 2*player

SetDeaths(-8572 + 2*player, SetTo, color code * 65536, 0) <- Use this action

If you want to change P1`s color to blue(P2`s), you can add the action SetDeaths(-8572, SetTo, 10813440, 0) in your map.



None.

Jan 12 2018, 1:51 pm T-warp Post #12

Unlimited N-word pass winner

It's now fully supported in my editor :P




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[04:31 pm]
Zoan -- where's the option to delete my account
[04:30 pm]
Zoan -- goodbye forever
[04:30 pm]
Zoan -- it's over, I've misclicked my top right magic box spot
[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.
Please log in to shout.


Members Online: jjf28, Roy