TV Graphics tutorial by Voldemort

voldemort

International Coach
Joined
Aug 9, 2004
Online Cricket Games Owned
So after making 6 TV Graphics

ESPN v1.0
ESPN v1.1
ESPN v2.0
ICC Champions Trophy
World Cup 2003 TV Graphics (I made a Beta and then forgot about it)
Indo - Pak TV Graphics (Partially)

and noticing that no one had made a tutorial to make TV Graphics, I have decided to make one and made it as well. It aint that informative but it should get you started
 
Last edited:

bharat

Panel of Selectors
Joined
Jun 20, 2001
Profile Flag
India
mmm...not bad.The first part seems to be very simple & well known.Let me see the hard part.

TV graphics editing is similar to Menu Editing.
 

bharat

Panel of Selectors
Joined
Jun 20, 2001
Profile Flag
India
voldermot u must explain in detail about XML editing otherwise TV editing is not complete.
i.e what evry line in the config editor means.

I haven't made TV graphics but made menus which is similar to TV graphics editing.
I can explain but I'm to lazy to write a tutorial.

Expecting a good one from you. :cheers
 

barmyarmy

Retired Administrator
Joined
Mar 12, 2003
Location
Edinburgh
I guess we could all add bits into this thread but one tutorial would be easier. Here's my contribution:

TV Graphics editing is like web page design used to be before everyone stopped using notepad. Essentially the overlay is made up of windows and buttons and you can choose what they look like, where they go, what happens when you click on them etc.
On the basic TV Overlay numerous items are overlayed at some point e.g:
Batsman confidence metre
This is made up of two textures "batset" and "gradent3"
"batset" is the metre itself and "gradent3" is the orange confidence you will see filling up as confidence rises.
Below is the code for the confidence metre:
Code:
<Window ID = "34"
		BgColor = "ffffff00"
		Color = "ffffffff"
		BorderWidth = "0"
		FillType = "3"
		Depth = "5"
		Width = "640"
		Height = "460"
		xPos = "-5"
		yPos = "19"
		State = "3"
		>
	<TextButton ID = "1"
			BgColor = "ffffffff"
			Color = "ffffffff"
			Font = "font6"
			FontSize = "00000000000000000000000000000"
			xPos = "20"
			yPos = "396"
			Width = "128"
			Height = "64"
			Depth = "2"
			Text = ""
			Texture = "batset"
			UpID = "0"
			DownID = "000000"
			RightID = "00000"
			LeftID = "00"
			Justify = "0"
			>
		</TextButton >
	<Slider ID = "0"
			CurVal = "0"
			MaxVal = "100"
			MinVal = "0"
			UpID = "0"
			DownID = "0"
			xPos = "75"
			yPos = "421"
			Height = "9"
			Width = "85"
			CaretColor = "ffffffff"
			SliderColor = "ffffff00"
			Texture = "gradent3"
			Style = "0"
			>
		</Slider >	
</Window >

Colours are in hex form. Xpos and Ypos determines where the object will be. Width and height determine, wait for it, width and height. Depth determines the layer order. Texture is the graphic you will see, so batset is currently the confidence metre graphic but you could make your own instead by placing a file inside the data/bats folder and naming it batset.tga. Alternatively you could call it newbatset.tga and change the text of the texture in the XML as well.
Best thing to do is simply look through the file and post any queries you have about what certain bits mean.

FYI the TV Overlay XML contains the following overlays: (main ones in order)

Batsman confidence metre ("batset" and "gradent3" window ID 34)
New Batsman info (window ID 105)
Batsman/bowler/match info bars (not top left) + what goes on the bars (window ID 106 - 119)
Clock ("clckface" "bhand" "shand" window ID 805)
3rd Umpire ("3ump" "3umpG" "3umpR" window ID 2)
Top left Info bar (window ID 100)
Bowling metre ("bowl" "dot2" "bowlTNO1" window ID 101)
Field Radar ("fldrdr" "ball" "dot" window ID 103)
Run Radar ("runrdr" "dot" "0" "1" "2" "3" window ID 108)
Ball speed (window ID 150 - 151)
Duck ("duck1" window ID 152)

I haven't done all of them as I don't have time and I'm not 100% sure what they all are. I reckon this is a start though.
 

barmyarmy

Retired Administrator
Joined
Mar 12, 2003
Location
Edinburgh
...edit textures "3ump" "3umpG" and "3umpR" and place them in the bats folder. Default size is 128*64 and 64*64 for the lights themselves. This can be changed though.

Edit: wow that was the 30,000th post in the main Cricket2004 forum!
 

boss

Club Cricketer
Joined
Aug 11, 2001
Location
INDIA
Online Cricket Games Owned
Thanks for the nice tutorial on TV Graphics- (long awaiting for me!) from both Voldemort and Colin!, nice job!.

Boss
 

boss

Club Cricketer
Joined
Aug 11, 2001
Location
INDIA
Online Cricket Games Owned
I've never actually made any TV graphics. Perhaps Ste could add to this as he is the expert.
by barmyarmy

Ya!, that will be a grt help for the TV graphics patch maker!!!

Boss
 

Ste

Executive member
Joined
Jun 27, 2002
Location
Southport, England
Online Cricket Games Owned
Well I think most things have been covered by Voldemort and Colin. However I should point out that when setting the Xpos and Ypos, they are based on 0,0 values from the bottom left of the screen and going up to 640 across and 480 up. However a complication is that for textbuttons inside a window, 0,0 is based on the bottom left corner of that Window.

Ste
 

waraa

County Cricketer
Joined
Oct 5, 2004
Location
Seattle, USA
Online Cricket Games Owned
Well it would be really nice if someone like Sam makes a config editor which will directly show how the graphics would look ingame and edit according to that.

This isnt a request, just a far- fetched dream.
 

sunsamrat1980

Club Captain
Joined
Aug 15, 2004
Location
Phoenix, AZ
Online Cricket Games Owned
Let me add one more bit to it... Justify means where the content will be in the window. The values imply:

0 : Left Justify
1 : Center
2 : Right Justify
 

sid098in

Club Cricketer
Joined
Oct 20, 2004
Online Cricket Games Owned
voldemort said:
So after making 6 TV Graphics

ESPN v1.0
ESPN v1.1
ESPN v2.0
ICC Champions Trophy
World Cup 2003 TV Graphics (I made a Beta and then forgot about it)
Indo - Pak TV Graphics (Partially)

and noticing that no one had made a tutorial to make TV Graphics, I have decided to make one and made it as well. It aint that informative but it should get you started

mate can u gimme u'r icc champions trophy patch
 

Users who are viewing this thread

Top