ETMods.net

N!tmod, a Wolfenstein: Enemy Territory Modification!

You are not logged in.

Announcement

You can donate to help us keeping services online.

#1 02-May-10 22:40:56

JereManU
Member
Registered: 30-Mar-10
Posts: 37
Website

Re: N!tmod button does not work when custom menu added

Hello,
I have problem. When I add menu based on this tutorial: http://forum.splatterladder.com/index.p ... entry71163 then N!tmod menu (n the game!) does not work. You can check it out on 87.98.234.222:27890. I have had same on jaymod. What's wrong? How can I fix it?
Regards,

Offline

#2 03-May-10 13:54:42

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,098

Re: N!tmod button does not work when custom menu added

When you get errors with your custom menus, try using /ui_restart on your client console.

If you get any error messages, it's a problem in the menus scripting. Or a bad ui/menudef.h or ui/menumacros.h.

To be more specific about your problem, it's caused by your ui/menus.txt file.

You are not loading any N!tmod menus.

Add these lines to your ui/menus.txt file :

	loadMenu { "ui/credits_nit.menu" }
	loadMenu { "ui/options_nit.menu" }
	loadMenu { "ui/options_nit_controls.menu" }
	loadMenu { "ui/options_nit_display.menu" }
	loadMenu { "ui/options_nit_hud.menu" }
	loadMenu { "ui/bug_report.menu" }
	loadMenu { "ui/options_nit_sound.menu" }
	loadMenu { "ui/options_nit_tweak.menu" }

And your problem should be fixed smile


iluvnitmod.png

Offline

Board footer

Powered by FluxBB