GangsterAngel Posted August 12, 2005 Share Posted August 12, 2005 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. //---------------------------------------------------------------------------------------------- // 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 Link to comment Share on other sites More sharing options...
GangsterAngel Posted August 12, 2005 Author Share Posted August 12, 2005 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. 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.