Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Problem with color
Problem with color
Aug 26 2020, 3:25 pm
By: C(a)HeK  

Aug 26 2020, 3:25 pm C(a)HeK Post #1



Hello folks, I has a question about color in mission.
Look at screenshots:
1) Original text
2) Rus text in 1.16
3) Rus text in Remastered

Phrase construction:
<08><08>AGROVAK
You imbecile! Have you forgotten your position?!

Why is only the name red? (1.16), but in Remastered all text is red?
Because of it I fixed phrase construction in Remastered:
<08><08>AGROVAK
<02>You imbecile! Have you forgotten your position?!

Attachments:
agro original.png
Hits: 7 Size: 104.15kb
agro 1.16.png
Hits: 5 Size: 106.03kb
agro remastered.jpg
Hits: 5 Size: 235.91kb



Hello everyone, friends. I'm translate custom campaigns from English into Russian.
You can call me Alexander.
My YouTube profile - https://www.youtube.com/channel/UC3AKk_GJGHuPgVzw48WN25g?view_as=subscriber
My Campaign Creations profile - https://www.campaigncreations.org/forum/memberlist.php?mode=viewprofile&u=21052&sid=3f543feff02a313d55c77854536b3bce

Aug 27 2020, 4:26 am DarkenedFantasies Post #2

Roy's Secret Service

In 1.16.1 (and earlier), the game has 11 different memory addresses for each line of display text. When <OD><0A> (line break) or <0C> (page break) are reached in the string, or it gets truncated from running out of screen space, the following text continues on the next memory address.

The subsequent line of text loses the previous color because it inherits the <02> tag given by default to all display text lines.

Remastered presumably handles display texts and newlines differently, in a way that allows new lines of text to retain the last color tag from the string. I don't know how Remastered handles it.




Aug 27 2020, 5:07 am C(a)HeK Post #3



Remastered presumably handles display texts and newlines differently, in a way that allows new lines of text to retain the last color tag from the string. I don't know how Remastered handles it.

Is there anything I can do to make the colors in the Remastered work like in 1.16?



Hello everyone, friends. I'm translate custom campaigns from English into Russian.
You can call me Alexander.
My YouTube profile - https://www.youtube.com/channel/UC3AKk_GJGHuPgVzw48WN25g?view_as=subscriber
My Campaign Creations profile - https://www.campaigncreations.org/forum/memberlist.php?mode=viewprofile&u=21052&sid=3f543feff02a313d55c77854536b3bce

Aug 27 2020, 7:29 am DarkenedFantasies Post #4

Roy's Secret Service

Manually writing <02> like you did is probably the best, if not the only thing to do. Also for the name you don't need double <08>, only one tag is sufficient.




Aug 27 2020, 7:42 am C(a)HeK Post #5



Manually writing <02> like you did is probably the best, if not the only thing to do
So I do.

Also for the name you don't need double <08>, only one tag is sufficient.
So the author wrote, not me.

Thank you for help!



Hello everyone, friends. I'm translate custom campaigns from English into Russian.
You can call me Alexander.
My YouTube profile - https://www.youtube.com/channel/UC3AKk_GJGHuPgVzw48WN25g?view_as=subscriber
My Campaign Creations profile - https://www.campaigncreations.org/forum/memberlist.php?mode=viewprofile&u=21052&sid=3f543feff02a313d55c77854536b3bce

Aug 27 2020, 10:21 pm DaMnUFo0 Post #6



I knew you'd eventually encounter this problem. I had that same problem, too, when I first started working on my current project via remastered. You just need to add a new color text tag for remastered if you want to differentiate the color. I think I addressed this in the 1.16 version of Unorthodox Training map that I sent you.




Aug 28 2020, 11:24 am C(a)HeK Post #7



Quote from DaMnUFo0
I knew you'd eventually encounter this problem. I had that same problem, too, when I first started working on my current project via remastered. You just need to add a new color text tag for remastered if you want to differentiate the color. I think I addressed this in the 1.16 version of Unorthodox Training map that I sent you.

I made just like you. :)

Attachments:
UT.png
Hits: 2 Size: 104.31kb

Post has been edited 1 time(s), last time on Aug 28 2020, 12:28 pm by C(a)HeK.



Hello everyone, friends. I'm translate custom campaigns from English into Russian.
You can call me Alexander.
My YouTube profile - https://www.youtube.com/channel/UC3AKk_GJGHuPgVzw48WN25g?view_as=subscriber
My Campaign Creations profile - https://www.campaigncreations.org/forum/memberlist.php?mode=viewprofile&u=21052&sid=3f543feff02a313d55c77854536b3bce

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:39 pm]
Dem0n -- also looks like he sucks at melee lmao
[05:39 pm]
Dem0n -- yeah he sounds like the most annoying douche ever. I don't know why so many people like him
[05:16 pm]
Vrael -- just completely retarded opinions that he cobbled together from watching people who presumably knew what they were talking about, but he doesn't, so he just tries to sound like them
[05:14 pm]
Vrael -- or shit like "One wraith makes zerg obsolete. Fact."
[05:13 pm]
Vrael -- and his professional casting is garbage too, he's constantly saying stuff like "Wow ask any pro, you should always. ALWAYS. always. have 17 zealots out by the 2 minute mark as zerg. ALWAYS."
[05:13 pm]
Vrael -- m.0.n.3.y
m.0.n.3.y shouted: Vrael why do you say that?
watch any of his stream, he is the whiniest little bitch on the planet
[02:29 pm]
MTiger156 -- u
[06:58 am]
NudeRaider -- m.0.n.3.y
m.0.n.3.y shouted: Mini Game Party was featured on Artosis's channel recently! Pretty cool win for UMS: https://www.youtube.com/watch?v=gSydfyOfOpI
"xKrayZee sux"
[04:36 am]
m.0.n.3.y -- Vrael why do you say that?
[12:03 am]
Vrael -- thats awesome money, for you, but artosis is a giant turd of a human being
Please log in to shout.


Members Online: Dem0n, RdeRenato