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
Ash  
#1 Posted : Friday, July 28, 2017 2:57:54 AM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Hi

I have been asked to share Ozy Rules Scoreboard, so here it is.

You will need the Pro/4k Version of vMix

Another alternative if you don't have Pro is to use the excellent UTC application. All that's lacking there is a spinner to change the +3 to +6 or any other values you want. I am sure Elgarf can do this if asked.

There is also a ZIP file attached here as a demo to build on. The graphics are from a game streamed here in Tasmania a month or so ago. Feel free to change it.

Could not find a method to recognise a key input from vMix at the time and don't suppose there is a solution now, but maybe vMix 20 will improve scripting, if there is a method then it's possible to cut the code down a bit.

Scripts

Code:


'---Footy_Home_Goal-----

dim fa = input.find("Footy_Full.xaml")
dim fs = input.find("Footy_Pts_Only.xaml")
dim fq = input.find("Footy_Quarter.xaml")

dim HG = cint(fa.text("HG") + 1 )

fa.text("HG") = HG
fq.text("HQG") = HG

dim HGP = cint(fa.text("HG") * 6)
dim HP = cint(fa.text("HP"))
dim HQP = HP

fa.text("HTP") = HGP + HP
fs.text("HP") = HGP + HP
fq.text("HTP") = HGP + HP
'fq.text("HQP") = HGP + HP


'----Footy_Away_Goal-----

dim fa = input.find("Footy_Full.xaml")
dim fs = input.find("Footy_Pts_Only.xaml")
dim fq = input.find("Footy_Quarter.xaml")

dim AG = cint(fa.text("AG") + 1)


fa.text("AG") = AG
fq.text("AQG") = AG

dim AGP = cint(fa.text("AG") * 6)
dim AP = cint(fa.text("AP"))

fa.text("ATP") = AGP + AP
fs.text("AP") = AGP + AP
fq.text("AQT") = AGP + AP
'fq.text("AQP") = AGP + AP


'-----Footy_Home_Point
dim fa = input.find("Footy_Full.xaml")
dim fs = input.find("Footy_Pts_Only.xaml")
dim fq = input.find("Footy_Quarter.xaml")

dim HP = cint(fa.text("HP") + 1)

fa.text("HP") = HP
fq.text("HQP") = HP

dim HGtoP = cint(fa.text("HG") * 6)

fa.text("HTP") = HGtoP + HP
fs.text("HP") = HGtoP + HP
fq.text("HTP") = HGtoP + HP

'----Footy_Away_Point
dim fa = input.find("Footy_Full.xaml")
dim fs = input.find("Footy_Pts_Only.xaml")
dim fq = input.find("Footy_Quarter.xaml")

dim AP = cint(fa.text("AP") + 1)

fa.text("AP") = AP
fq.text("AQP") = AP

dim AGtoP = cint(fa.text("AG") * 6)

fa.text("ATP") = AGtoP + AP
fs.text("AP") = AGtoP + AP
fq.text("AQT") = AGtoP + AP

'---- Home_Reset
dim fa = input.find("Footy_Full.xaml")
dim fs = input.find("Footy_Pts_Only.xaml")
dim fq = input.find("Footy_Quarter.xaml")

fa.text("HG") = 0
fq.text("HQG") = 0

fa.text("HP") = 0
fa.text("HTP") = 0

fs.text("HP") = 0

fq.text("HQP") = 0
fq.text("HTP") = 0

'---Away_Reset

dim fa = input.find("Footy_Full.xaml")
dim fs = input.find("Footy_Pts_Only.xaml")
dim fq = input.find("Footy_Quarter.xaml")

fa.text("AG") = 0
fq.text("AQG") = 0

fa.text("AP") = 0
fa.text("ATP") = 0

fs.text("AP") = 0

fq.text("AQP") = 0
fq.text("AQT") = 0

'----- Footy_Clocks_Start
API.Function("StartCountDown","Footy_Full.xaml")
API.Function("StartCountDown","Footy_Pts_Only.xaml")
API.Function("StartCountDown","Footy_Quarter.xaml")

'----- Footy_Clocks_Pause
API.Function("SuspendCountDown","Footy_Full.xaml")
API.Function("SuspendCountDown","Footy_Pts_Only.xaml")
API.Function("SuspendCountDown","Footy_Quarter.xaml")


'----- Footy_Clocks_Zero
API.Function("ChangeCountDown","Footy_Full.xaml","00:00")
API.Function("ChangeCountDown","Footy_Pts_Only.xaml","00:00")
API.Function("ChangeCountDown","Footy_Quarter.xaml","00:00")



File Attachment(s):
OzFooty.zip (138kb) downloaded 66 time(s).

You cannot view/download attachments. Try to login or register.
thanks 2 users thanked Ash for this useful post.
gez737 on 7/28/2017(UTC), Gooey on 10/8/2017(UTC)
Gooey  
#2 Posted : Sunday, October 8, 2017 8:51:18 AM(UTC)
Gooey

Rank: Newbie

Groups: Registered
Joined: 10/8/2017(UTC)
Posts: 1

Thanks: 2 times
Great work with the demo Ash.

I've been trying to do a version, where I blank out where you have TSL and NEAFL and the logos, so there's just a grey background.

I'm hoping that there's a way via vMix to add to fields over the top where I can change the home team and away team (like the other scoreboard graphics).

Any idea on how to do that?
Ash  
#3 Posted : Thursday, November 23, 2017 1:42:00 PM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Hi Gooey

The background is just a png file, so import into graphic editor and blank out the area.

Cheers

[Edit]

Think I mis-read your post Goeey

Please find attached updated Quarter Graphic with the left hand home pic and away pics added as xaml images.

As long as you use images of similar size (142x78) then there should not be a problem to replace them with wahtever team is playing.

Ash

Gooey wrote:
Great work with the demo Ash.

I've been trying to do a version, where I blank out where you have TSL and NEAFL and the logos, so there's just a grey background.

I'm hoping that there's a way via vMix to add to fields over the top where I can change the home team and away team (like the other scoreboard graphics).

Any idea on how to do that?

File Attachment(s):
Footy_Quarter_V2_XAML.zip (50kb) downloaded 40 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked Ash for this useful post.
Gooey on 7/25/2018(UTC)
Users browsing this topic
Guest
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.