Posts: 916
Threads: 65
Joined: Jun 2011
07-14-2011, 17:25
Can any one help me change the color of the letters at the main menu, they are white but i would like them in black instead Any one?
Posts: 184
Threads: 11
Joined: May 2011
Reputation:
1
Find the appropriate menu file (might be something like main_mp.menu i have no idea). And have a look through it for what you want to change, you will see something like "@MAINMENU_CHOOSECLASS" or something.
Either change that to "^7Choose Class", or find the localized string @MAINMENU_CHOOSECLASS and change the value of that.
Posts: 916
Threads: 65
Joined: Jun 2011
(07-14-2011, 19:13)Madnesslink5 Wrote: Find the appropriate menu file (might be something like main_mp.menu i have no idea). And have a look through it for what you want to change, you will see something like "@MAINMENU_CHOOSECLASS" or something.
Either change that to "^7Choose Class", or find the localized string @MAINMENU_CHOOSECLASS and change the value of that.
Tryed to find the file couldnt find the menu one
Posts: 184
Threads: 11
Joined: May 2011
Reputation:
1
I'll try have a quick look through some menu files later if I have the time.
Posts: 916
Threads: 65
Joined: Jun 2011
07-14-2011, 20:23
(This post was last modified: 07-14-2011, 20:39 by Scripts18.)
(07-14-2011, 19:59)Pozzuh Wrote: ui_mp/main.menu
Thx so now wich part I need to change :S I dont want to replace it by ^7Play for example so how I find the string? and once I did how I change it?
EDIT: Also how I include it in my mod after?
Posts: 916
Threads: 65
Joined: Jun 2011
Bump
Posts: 916
Threads: 65
Joined: Jun 2011
2nd Bump
Posts: 184
Threads: 11
Joined: May 2011
Reputation:
1
Look through ui_mp/main.menu to find the relevant string. Say for example the string is "MAINMENU_CHOOSE_CLASS".
Then look through .str files to find the phrase "MAINMENU_CHOOSE_CLASS".
You should see next to that "Choose a class." (or something like that).
Just change "Choose a class" to "^3Choose a class" or whatever.
Posts: 62
Threads: 4
Joined: Jul 2011
Reputation:
1
I think you might be able to just add a "^0" before the strings in the menu file. To use it in your mod, create a "ui_mp" folder in your mod folder and copy the menu file over to that folder. Then, edit the menu file to suit your wants, save it and then you'll need to add a line to your zone file. Open up your zone file and write:
menufile,ui_mp/main.menu
I'm not sure if you need to precache it, but if you do, try this. Add the line
precacheMenu("main");
to your init() function so that it executes when the mod loads up.
That should be all