Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 112 Location: Germany
Thanks: 27 times Was thanked: 8 time(s) in 8 post(s)
|
Hey Folks,
i need to build a scoreboard for basketball in the gt title designer and need to know if several things are possible:
1. when the time is running the color of the numbers has to be green and when it stops it has to be red
2. in the last minute of a quarter the time has to changed from minutes and seconds to seconds and tens of a seconds
Thank you so much
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Quote: need to know if several things are possible: GT Titling does not handle logic itself but other than that for displaying (same as with XAML titles) : 1. YES (what is controlling the change run/pause ?) 2. YES (better have scripting capabilities)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 112 Location: Germany
Thanks: 27 times Was thanked: 8 time(s) in 8 post(s)
|
Thanks @doggy
1. Its controlled by a start/stop shortcut (PauseCountdown).
2. Can you give me a hint where the scripting has to be made?
Thank you!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Slaver 1. Its controlled by a start/stop shortcut (PauseCountdown).
Use same shortcut to change color of text in the title Quote: 2. Can you give me a hint where the scripting has to be made?
In the scripting section (settings) Check out "scripting for dummies "post The "problem" with your goal is that the clock display formatting will have to be handled by the script. Basically a hidden clock in your title read by the script and reformatted for display in the visual location
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 112 Location: Germany
Thanks: 27 times Was thanked: 8 time(s) in 8 post(s)
|
okay, my challenge just changed a lot.
I get the scoreboard data by vMix API. So there is no shortcut to change the color of the time.
Shotclock, Gametime, ScoreHome and ScoreAway are running well. But i also get the period and the Teamfouls. Problem is that the Period is coming in 1,2,3,4 and i need it in 1/4, 2/4, 3/4, 4/4. Also the teamfouls has to show as a graphic and not just the number (1,2,3,4,5....)
Thanks in advance.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Slaver I get the scoreboard data by vMix API.
I assume through a DataSource instead Quote: So there is no shortcut to change the color of the time.
Scripting (check out scripting for Dummies post ) Quote: Problem is that the Period is coming in 1,2,3,4 and i need it in 1/4, 2/4, 3/4, 4/4.
Add /4 to the Datasource format in Title editor ( {0}/4 ) Quote: Also the teamfouls has to show as a graphic and not just the number (1,2,3,4,5....)
Again scripting to check the value and based on that replace the image or maybe change title page or similar
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 112 Location: Germany
Thanks: 27 times Was thanked: 8 time(s) in 8 post(s)
|
@doggy
First of all, thank you for your help and all the hints in 2020.
I don´t get the data by data sources. It is sending directly in to the input because of the delay of the clocks which shows also the tenth of a second. The scoreboard data is sent by a raspberry pi into the network to my vmix pc address 192.168.1.10:8099/1 It is running perfectly instead of the problem not to be able to edit the data.
You know what i mean?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Slaver @doggy
First of all, thank you for your help and all the hints in 2020.
I don´t get the data by data sources. It is sending directly in to the input because of the delay of the clocks which shows also the tenth of a second. The scoreboard data is sent by a raspberry pi into the network to my vmix pc address 192.168.1.10:8099/1 It is running perfectly instead of the problem not to be able to edit the data.
You know what i mean? Not really , what type of input is the data being displayed in ?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/31/2020(UTC) Posts: 144 Thanks: 2 times Was thanked: 28 time(s) in 28 post(s)
|
Originally Posted by: Slaver I get the scoreboard data by vMix API. So there is no shortcut to change the color of the time. If you're using the SetText API shortcut to set the text, there's also a SetTextColor API shortcut as well. Won't that do what you want?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 112 Location: Germany
Thanks: 27 times Was thanked: 8 time(s) in 8 post(s)
|
@doggy I don´t know how to explain it in a better way that you can understand. Facts: The scoreboard data is sent by a raspberry pi into the network to my vmix pc to address port and input number in vMix by 192.168.1.10:8099/1 (Thats the IP address of my vMix computer.) It send the data into the input and it is getting into it when i have a XAML oder GZIP where the fields have the same name like the data inputs i send by network. Here is a good explaination of what i mean: https://scoreboard-ocr.com/vmixThanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Slaver @doggy I don´t know how to explain it in a better way that you can understand. Facts: The scoreboard data is sent by a raspberry pi into the network to my vmix pc to address port and input number in vMix by 192.168.1.10:8099/1 (Thats the IP address of my vMix computer.) It send the data into the input and it is getting into it when i have a XAML oder GZIP where the fields have the same name like the data inputs i send by network. Here is a good explaination of what i mean: https://scoreboard-ocr.com/vmixThanks! ok, basically datasource similar check out "scripting for dummies" post as there are a few ways described there to how to retrieve the values from your title and make decisions on what to do with them. thats the easiest and flexible way of making decisions based on data in a title ( might have to add a few dummy textblocks in your title depending if the content itself has to change or not ) Quote:1. when the time is running the color of the numbers has to be green and when it stops it has to be red
2. in the last minute of a quarter the time has to changed from minutes and seconds to seconds and tens of a seconds 1. the script check to see if the time is changing ( still running ) if not set the textcolor to red else to green 2. check if the time is less then a minute, if so change the display formatting of the time string
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/27/2014(UTC) Posts: 112 Location: Germany
Thanks: 27 times Was thanked: 8 time(s) in 8 post(s)
|
I will check that. Thank you doggy.
|
|
|
|
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close