lfnetwork.com mark read register faq members calendar

Thread: Vanishing Text (Menus)
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 08-12-2005, 03:10 AM   #1
GangsterAngel
Rookie
 
GangsterAngel's Avatar
 
Join Date: May 2004
Posts: 139
Vanishing Text (Menus)

my long , long ,long ,long long journy to making a ingame menu.
which was halted for around 40 hours because raven cant release un bugged source (Thanx ensiform & stubert).

im done with the menu activation

but now about creating the menu. once a text button has had the mouse over it. it vanishes. and dose not come back ???.

i cant see the diffrance from my button. and other buttons in menus such as voice chat.

if anyone knows whats making it vanish , or not making it stay. plz reply.

Code:
//----------------------------------------------------------------------------------------------
//	ingame_home
//----------------------------------------------------------------------------------------------			   
	menuDef 
	{
		name					"ingame_home"
		fullScreen				0
		outOfBoundsClick		
		rect					45 30 200 240
		descX					320
		descY					312
		visible					0
		onOpen 
		{
show background
show opendoor
		}
//----------------------------------------------------------------------------------------------
//	MENU BACKGROUND
//----------------------------------------------------------------------------------------------
		itemDef 
		{
			name				background
			group				none
			style				WINDOW_STYLE_SHADER
			rect				45 30 200 240
			background			"gfx/menus/JKG_BOX"
			forecolor			1 1 1 1
			visible				1
			decoration
		}

//----------------------------------------------------------------------------------------------
//	TOP MENU BUTTONS
//----------------------------------------------------------------------------------------------
		// Big button "SAVE"
		itemDef 
		{
			name				opendoor_glow
			group				doorbuttons
			style				WINDOW_STYLE_SHADER
			rect				45 75 200 40
			background			"gfx/menus/menu_buttonback"			// Frame around button
			forecolor			1 1 1 1
			visible			0
			decoration

		}//open door glow

		itemDef 
		{
			name				opendoor
			group				g_opendoor
			text				@MENUS_RPGUNLOCK
			descText			@MENUS_RPGUNLOCK
			type				ITEM_TYPE_BUTTON
			rect				45 80 200 40
			textaligny			0
			font				3
			textscale			1.1
			textalign			ITEM_ALIGN_CENTER
			textalignx			65
			forecolor			124 1 1 1
			visible				1
			
			action 
			{ 
				show			opendoor
				play			"sound/interface/button1.wav" ; 
				exec			"echo ^1Vince says ^3NO"
				close "ingame_home";
			}	
			mouseEnter 
			{ 
				show			opendoor_glow 
				show opendoor
			}
			mouseExit 
			{ 
				show opendoor
				hide			opendoor_glow 
			}
  	  

		}//<< open game button


} //<< MENU
GangsterAngel is offline   you may: quote & reply,
Old 08-12-2005, 03:15 AM   #2
GangsterAngel
Rookie
 
GangsterAngel's Avatar
 
Join Date: May 2004
Posts: 139
been trying to work this out for like 15 mins then 1 min after posting this i worked out a fix.
but im not sure if its the propper way.

Code:
		itemDef 
		{
			name				txtopendoor
			group				g_opendoor
			text				@MENUS_RPGUNLOCK
			descText			@MENUS_RPGUNLOCK
			type				ITEM_TYPE_BUTTON
			rect				45 80 200 40
			textaligny			0
			font				3
			textscale			1.1
			textalign			ITEM_ALIGN_CENTER
			textalignx			65
			forecolor			124 1 1 1
			visible				1
			decoration

		} //<< open door text
GangsterAngel is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > Vanishing Text (Menus)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:30 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.