Primesghost Posted April 24, 2003 Share Posted April 24, 2003 Ok, started picking apart the menu files (the ones with the .menu extension). I want to rename and alter the popup descriptions for several buttons. I've found where these are assigned to the buttons properties, and have discovered that I can easily change them by replacing the constants being used with strings example: in main.menu under jk2mp folder: original: itemDef { name newgamebutton group toprow style WINDOW_STYLE_EMPTY type ITEM_TYPE_BUTTON rect 115 115 130 24 text @MENUS2_PLAY descText @MENUS2_START_PLAYING_NOW font 3 textscale 0.9 textaligny 0 textalign ITEM_ALIGN_CENTER textstyle 3 textalignx 65 forecolor 0.65 0.65 1 1 visible 1 mouseEnter { show newgamebutton_glow } mouseExit { hide newgamebutton_glow } action { play "sound/interface/button1.wav" ; close all ; open multiplayermenu } } Edited: itemDef { name newgamebutton group toprow style WINDOW_STYLE_EMPTY type ITEM_TYPE_BUTTON rect 115 115 130 24 text "New Game" //<-- Edited descText @MENUS2_START_PLAYING_NOW font 3 textscale 0.9 textaligny 0 textalign ITEM_ALIGN_CENTER textstyle 3 textalignx 65 forecolor 0.65 0.65 1 1 visible 1 mouseEnter { show newgamebutton_glow } mouseExit { hide newgamebutton_glow } action { play "sound/interface/button1.wav" ; close all ; open multiplayermenu } } I was wondering if anyone knew where to find the declarations on the constants being used originally. It would make life a lot easier if I could just define some new ones in one place and use those instead of having to manually assign values to each menu file's button. Link to comment Share on other sites More sharing options...
Primesghost Posted April 24, 2003 Author Share Posted April 24, 2003 Nevermind, I found em. Link to comment Share on other sites More sharing options...
Emon Posted April 24, 2003 Share Posted April 24, 2003 If you're interested in MENU formats, the Unofficial SDK includes a document from Raven on it. http://lucasforums.com/showthread.php?s=&threadid=97902 Link to comment Share on other sites More sharing options...
Code Posted April 24, 2003 Share Posted April 24, 2003 this is also a usefull link http://linux.ucla.edu/~phaethon/q3tamenu/q3tamenu.html Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.