FrameColonyInterface(1).txt

(9 KB) Pobierz
root
{	
	componenttype=panel
	x = 0
	y = 0
	//width = screen.width
	//height = 0
	block = 48
	scale = 1
	state = visible
	marg = 10
	
	////////////////////////////////////////////////////////////////////
	
	frame_colonyview
	{
		componenttype=panel
		picpos = 0,0,0,0
		
		pnl_colonyinterface_bg
		{
			//485
			render = 6
			componenttype = panel
			height = 61
			width = 495
			x = screen.width*0.5 - this.width*0.5
			y = screen.height - 170 - this.height +2
			picfile = Data\GUI\iconset_commanders.dds
			picpos = 0,8,this.width,this.height
		}
		pnl_colony_revolver
		{
			componenttype = panel
			picpos = 0,0,0,0
			width = 40
			height = 61
			x = pnl_colonyinterface_bg.x 
			y = pnl_colonyinterface_bg.y
			render = 1
		
			prev_colony
			{
				componenttype = panel
				x = pnl_colonyinterface_bg.x - this.width - 20
				y = pnl_colonyinterface_bg.y + 23
				height = 40
				width = 48
				picfile = Data\GUI\strategic2.dds
				picpos = 17,20,this.width,this.height		
				render = 2
				arrow
				{
					componenttype = panel
					x = prev_colony.x + 5
					y = prev_colony.y + 12
					width = 20
					height = 23
					picpos = 8,1,this.width,this.height
				}
				mouseover_fx
				{
					componenttype = panel
					x = prev_colony.x + 5
					y = prev_colony.y + 12
					width = 20
					height = 23
					picpos = 9,1,this.width,this.height
					state = hidden
					render = 3
				}
				
			}
			next_colony
			{
				componenttype = panel
				x = pnl_colonyinterface_bg.x + pnl_colonyinterface_bg.width -1
				y = prev_colony.y
				height = 37
				width = 48
				picfile = Data\GUI\strategic2.dds
				picpos = 18,20,this.width,this.height		
				render = 2
				arrow
				{
					componenttype = panel
					x = next_colony.x + 23
					y = next_colony.y + 12
					width = 20
					height = 23
					picpos = 11,1,this.width,this.height
				}
				mouseover_fx
				{
					componenttype = panel
					x = next_colony.x + 23
					y = next_colony.y + 12
					width = 20
					height = 23
					picpos = 12,1,this.width,this.height
					state = hidden
					render = 3
				}
			}
		}
		
		lbl_name
		{		
			render = 8
			font = fnt_cota_fleet_content
			componenttype = label		
			x = pnl_governor_bg.x + pnl_governor_bg.width + 5
			y = pnl_colonyinterface_bg.y + 10
			height = 25
			width = 175
			caption = "Colony name"	
		}
		
		//frame for commander
		pnl_governor_bg
		{
			//state = hidden
			render = 999
			componenttype = panel
			//overlay = 4
			r = 4
			c = 15
			x = pnl_colonyinterface_bg.x - this.width + 23
			y = pnl_colonyinterface_bg.y + pnl_colonyinterface_bg.height/2 - this.height/2
			width = 64 
			height = 84  
			picfile = Data\GUI\strategic.dds
			picpos = pnl_governor_bg.c,pnl_governor_bg.r,this.width,this.height	
			tooltip = str_COLONY_INFO_OPEN_COLONY_INFO
		}
		//commander face
		pnl_governor_ico
		{
			render = 8
			componenttype = panel
			//overlay = 4
			northern_col = 0
			northern_row = 4
			middle_col = 2
			middle_row = 4
			southern_col = 6
			southern_row = 7
			
			x = pnl_governor_bg.x + 3
			y = pnl_governor_bg.y + 6
			width = 56
			height = 70 
			picfile = Data\GUI\iconset48.dds
			picpos = pnl_governor_ico.northern_col,pnl_governor_ico.northern_row,this.width,this.height	
			tooltip = str_COLONY_INFO_OPEN_COLONY_INFO
		}
		
		//buttons:
		btn_command1
		{		
			idx = 0
			render = 7
			font = fnt_default
			componenttype = panel
			x = lbl_name.x
			y = pnl_colonyinterface_bg.y + this.height / 1.2
			height = 34  
			width = 34	 
			picfile = Data\GUI\strategic.dds
			picpos = 18,1,this.width,this.height
			tooltip = str_COLONY_INFO_TRADINGPOST
			mouseover_fx
			{
				componenttype = panel
				state = hidden 
				render = 10
				picpos = 19,1,this.width,this.height
			}
		}
		btn_command3
		{		
			idx = 2
			render = 7
			font = fnt_default
			componenttype = panel
			x = btn_command1.x + btn_command1.width
			y = btn_command1.y
			height = 34 * root.scale
			width = 34	* root.scale
			picfile = Data\GUI\strategic.dds
			picpos = 18,5,this.width,this.height
			tooltip = str_COLONY_INFO_PEOPLE
			mouseover_fx
			{
				componenttype = panel
				state = hidden 
				render = 10
				picpos = 19,5,this.width,this.height
			}
		}
		btn_command4
		{		
			idx = 3
			render = 7
			font = fnt_default
			componenttype = panel
			x = btn_command3.x + btn_command1.width
			y = btn_command1.y
			height = 34 * root.scale
			width = 34	* root.scale
			picfile = Data\GUI\strategic.dds
			picpos = 18,3,this.width,this.height
			tooltip = str_COLONY_INFO_DOCKS	
			mouseover_fx
			{
				componenttype = panel
				state = hidden 
				render = 10
				picpos = 19,3,this.width,this.height
			}
		}
		btn_command5
		{		
			idx = 4
			render = 7
			font = fnt_default
			componenttype = panel
			x = btn_command4.x + btn_command1.width
			y = btn_command1.y
			height = 34 * root.scale
			width = 34	* root.scale
			picfile = Data\GUI\strategic.dds
			picpos = 18,9,this.width,this.height
			tooltip = str_COLONY_INFO_SHIPYARD	
			mouseover_fx
			{
				componenttype = panel
				state = hidden 
				render = 10
				picpos = 19,9,this.width,this.height
			}
			disabled_fx
			{
				componenttype = panel
				state = hidden 
				render = 12
				picpos = 20,9,this.width,this.height
			}
		}
		btn_command2
		{		
			idx = 1
			render = 7
			font = fnt_default
			componenttype = panel
			x = btn_command5.x + btn_command1.width
			y = btn_command1.y
			height = 34 * root.scale
			width = 34	* root.scale
			picfile = Data\GUI\strategic.dds
			picpos = 18,0,this.width,this.height
			tooltip = str_COLONY_INFO_BUILDINGS
			mouseover_fx
			{
				componenttype = panel
				state = hidden 
				render = 10
				picpos = 19,0,this.width,this.height
			}
		}
		
		lbl_morale
		{		
			render = 8
			font = fnt_cota_fleet_content
			componenttype = label		
			x = pnl_colonyinterface_bg.x + 235
			y = pnl_colonyinterface_bg.y + 10
			height = 20
			width = 50
			caption = "0"	
			tailseparator = " / "
			tailcaption = "100"
			aligntext = center
			cliptext = true
			tooltip = str_COLONY_INFO_MORALE
		}
				
		lbl_colonists
		{		
			render = 8
			font = fnt_cota_fleet_content
			componenttype = label		
			x = pnl_colonyinterface_bg.x + 235
			y = pnl_colonyinterface_bg.y + 37
			height = 20
			width = 50
			caption = "0"	
			aligntext = center
			cliptext = true
			tooltip = str_COLONY_INFO_COLONISTS
		}
				
		btn_resource1
		{
			idx = 0
			render = 7
			componenttype = panel
			//overlay = 4
			x =  pnl_colonyinterface_bg.x + 290
			y = pnl_colonyinterface_bg.y + 26
			width = 32
			height = 32
			picfile = Data\GUI\iconset48.dds
			picpos = 8,6,this.width,this.height	
			pnl_disabled
			{		
				render = 6
				state = visible
				x = btn_resource1.x
				y = btn_resource1.y
				componenttype = panel
				width = btn_resource1.width
				height = btn_resource1.height
				picfile = Data\GUI\iconset48.dds	
				picpos = 11,9,this.width,this.height
			}
			
		}
		btn_resource2
		{
			idx = 1
			render = 7
			componenttype = panel
			//overlay = 4
			x = btn_resource1.x + btn_resource1.width
			y = btn_resource1.y 
			width = 32
			height = 32
			picfile = Data\GUI\iconset48.dds
			picpos = 8,6,this.width,this.height	
			pnl_disabled
			{		
				render = 6
				state = visible
				x = btn_resource2.x
				y = btn_resource2.y
				componenttype = panel
				width = btn_resource2.width
				height = btn_resource2.height
				picfile = Data\GUI\iconset48.dds	
				picpos = 11,9,this.width,this.height
			}
		}
		btn_resource3
		{
			idx = 2
			render = 7
			componenttype = panel
			//overlay = 4
			x = btn_resource2.x + btn_resource1.width
			y = btn_resource1.y 
			width = 32
			height = 32
			picfile = Data\GUI\iconset48.dds
			picpos = 8,6,this.width,this.height	
			pnl_disabled
			{		
				render = 6
				state = visible
				x = btn_resource3.x
				y = btn_resource3.y
				componenttype = panel
				width = btn_resource3.width
				height = btn_resource3.height
				picfile = Data\GUI\iconset48.dds	
				picpos = 11,9,this.width,this.height
			}
		}
		btn_resource4
		{
			idx = 3
			render = 7
			componenttype = panel
			//overlay = 4
			x = btn_resource3.x + btn_resource1.width
			y = btn_resource1.y 
			width = 32
			height = 32
			picfile = Data\GUI\iconset48.dds
			picpos = 8,6,this.width,this.height	
			pnl_disabled
			{		
				render = 6
				state = visible
				x = btn_resource4.x
				y = btn_resource4.y
				componenttype = panel
				width = btn_resource4.width
				height = btn_resource4.height
				picfile = Data\GUI\iconset48.dds	
				picpos = 11,9,this.width,this.height
			}
		}
		btn_resource5
		{
			idx = 4
			render = 7
			componenttype = panel
			//overlay = 4
			x = btn_resource4.x + btn_resource1.width
			y = btn_resource1.y 
			width = 32
			height = 32
			picfile = Data\GUI\iconset48.dds
			picpos = 8,6,this.width,this.height	
			pnl_disabled
			{		
				render = 6
				state = visible
				x = btn_resource5.x
				y = btn_resource5.y
				componenttype = panel
				width = btn_resource5.width
				height = btn_resource5.height
				picfile = Data\GUI\iconset48.dds	
				picpos = 11,9,this.width,this.height
			}
		}
		btn_resource6
		{
			idx = 5
			render = 7
			componenttype = panel
			//overlay = 4
			x = btn_resource5.x + btn_resource1.width
			y = btn_resource1.y 
			width = 32
			height = 32
			picfile = Data\GUI\iconset48.dds
			picpos = 8,6,this.width,this.height	
			pnl_disabled
			{		
				...
Zgłoś jeśli naruszono regulamin