logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
bain1320  
#1 Posted : Saturday, September 19, 2020 4:26:22 PM(UTC)
bain1320

Rank: Member

Groups: Registered
Joined: 10/12/2017(UTC)
Posts: 13
Man
Russian Federation
Location: Astrakhan

Was thanked: 1 time(s) in 1 post(s)
Hello!
I have such a situation, I created a title in GT. This title has a Rectangle that should represent the color of the team's uniform.
The color of the jersey is stored and updated in Data Sources.
Tell me how to automate this process so that the color of the rectangle takes the value from the Data Sources cell.

"ColorPlayers1": {
"BaseColorId": "red",
"Name": "Красный",
"RValue": 255,
"GValue": 0,
"BValue": 0
},
doggy  
#2 Posted : Saturday, September 19, 2020 5:34:06 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,219
Belgium
Location: Belgium

Thanks: 292 times
Was thanked: 955 time(s) in 790 post(s)
One can currently not change the color of a rectangle in a GT title via data source directly.

There are workaround varying from changing colored images to using Text Characters color changes.

Has been addressed multiple times in this forum. suggest for a search in this forum and pick the one that suits you best
r@wisla  
#3 Posted : Saturday, December 12, 2020 5:49:35 AM(UTC)
r@wisla

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2013(UTC)
Posts: 280
Man
Location: Poland

Thanks: 29 times
Was thanked: 40 time(s) in 37 post(s)
+1

I remember it was possible with an old xaml title.

There's Title with two fields: rectangle and text. The text is not visible.

Rectangle's colour is set with variable attached to text field value.

For example, when I type #ff0000 to text field my rectangle is red. When I type "yellow" the rectangle becames yellow etc...

Is it possible to "hack" GT title saved in gtxml to behave like this?
doggy  
#4 Posted : Saturday, December 12, 2020 9:14:40 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,219
Belgium
Location: Belgium

Thanks: 292 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: r@wisla Go to Quoted Post

Is it possible to "hack" GT title saved in gtxml to behave like this?


Sure if you are abel to edit the file with scripting ( its just xml type text) and then reload it ;-)

But if you really want to have that possibility for now i would revert to using xaml titles unless the few workarounds (in this forum)are suited for your design
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.