.menu whats that?!


(blackadder34) #1

I’ve been looking at the source code of ET and I want to make a new UI.

When I look though the code in MS C++ 2008 I have the different projects, game, botlib, renderer etc, at ui it has 2 folders “Menu Files” and “Source Files”. The first one is full of things like “credits_quit.menu” and the other .c files.

Which one do I have to edit to make changes to the main menu. And how to do you open .menu files MS C++ 2008 gives me “Cannot open file” nor notepad can do it.

Blackadder34


(Scennative) #2

for the main menu u must edit “main.menu” :stuck_out_tongue:

When u only change the layot of the menu, u dont need the sourcecode.

U must only extract the pak0.pk3. These file is located in your Wolfenstein Enemy Territory/etmain Directory.
The pk3 files is a renamed zip file. U can extract it with RAR or my favorite: 7-zip…

when u extract the pk3, u will find then these directorys:

animations
botfiles
characters
fonts
gfx
and more…

U only need the directory names “ui”.
on these u will find then lot of XXX.menu files, menudef.h, menumacros.h, menus.txt and more

here a little ähm **** what is the english word for “Beschreibung?!”:
xxx.menu:
Here u can edit the menu.

The main menu when u start the game is:
main.menu

The ingame main menu is:
ingame_main.menu

menudef.h:
These file u dont need do edit it :stuck_out_tongue: Also forgott it :stuck_out_tongue:

menumacros.h:
These file u need, when u make new buttons.
Also i have make buttons without text and mirrors, but with a picture…
I am sure, u dont need to change these :stuck_out_tongue:

menus.txt:
When u add new menus, u must add the location of the new files :stuck_out_tongue:

Ah i forgott it: all XXX.menu, XXX.h and XXX.txt can u edit it with a normal editor.
My favorite is Notepad++:
http://notepad-plus-plus.org

So have fun in coding and modding on Et and good luck!

Greetz sCenna.


(kamikazee) #3

[QUOTE=Scennative;243281]here a little ähm **** what is the english word for “Beschreibung?!”:[/QUOTE]Do you mean:

[ul]
[li]description[/li][li]explanation[/li][/ul]


(Scennative) #4

ah thx :stuck_out_tongue: hehe