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.
[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
[10:12 pm]
RdeRenato -- a
[09:59 pm]
m.0.n.3.y -- Mini Game Party was featured on Artosis's channel recently! Pretty cool win for UMS: https://www.youtube.com/watch?v=gSydfyOfOpI
[2021-1-17. : 3:47 pm]
C(a)HeK -- greetings all, friends, can you check my new post? :) http://www.staredit.net/topic/18183/
[2021-1-17. : 3:17 pm]
IlyaSnopchenko -- Neiv
Neiv shouted: Depending on your situation you may be able to use 18/19/20/21 to select all players in a force?
thanks! Will use the force # instead most likely, if they're in the same one
[2021-1-17. : 2:26 pm]
Neiv -- Depending on your situation you may be able to use 18/19/20/21 to select all players in a force?
[2021-1-17. : 2:25 pm]
Neiv -- IlyaSnopchenko
IlyaSnopchenko shouted: Anyone knows whether current player (13) is counted among allied (15) when specifying targeting flags for idle_orders in AISE?
It is not counted; the dll seems to accept a combination of multiple players there like most other extended commands, but pyai doesn't seem to allow specifying them in targeting flags
Please log in to shout.


Members Online: Roy