LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   General Editing (http://www.lucasforums.com/forumdisplay.php?f=156)
-   -   Menu editing (http://www.lucasforums.com/showthread.php?t=183002)

jedispy 10-15-2007 10:06 PM

Menu editing
 
Real simple question, hopefully there's a simple answer.
What tools are used for editing the menu system in Jedi Academy? In our mod we want to come up with all new menus based on the current menu system. However in my research I can't seem to find exactly what tools are used for this.

Any help is greatly appreciated.

Thor the Bassis 10-16-2007 01:24 PM

You can use notepad. The .menu file just has a list of icons and what they do and then a (x,y) coordinate of where they are on the page. I dont know if there are any specific menu editors?

NumberWan 11-05-2007 02:05 PM

I used the notepad to change it completely. All menu files (except for pictures and so on) are located in UI folder (in pk3).
One of the things - you usually can find smth like this there:
itemDef
{
name button_glow
group none
style WINDOW_STYLE_SHADER
rect 118 295 85 26
background "gfx/menus/menu_buttonback" forecolor 1 1 1 1
visible 0
decoration
}

See " rect 118 295 85 26" ? That's the coordinates (118 295), and the size (85 26) of a picture used for certain element of the menu. We all know, that each picture in JA should be in power of 2, e.g. 1024x256 or 512x512, or 32x512 and so on. For this reason the two last numbers (like 85 and 26) are added, so that the picture looked better in the menu.

There're other things that U should keep in mind though (text, font, its size, color, etc.)

jedispy 11-05-2007 07:07 PM

Great explanation. Thanks


All times are GMT -4. The time now is 06:22 AM.

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