Quick Tutorial on CodMenus

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
Nekoneko
CJ Fan
CJ Fan
Posts: 170
Joined: April 18th, 2011, 3:48 pm

Quick Tutorial on CodMenus

Post by Nekoneko » July 11th, 2011, 4:57 pm

Hello.
Is there any tutorial out there on making menus?
Or can anyone give a quick tutorial.
I was going to make a menu, but the beginning and all the commands/funcitons seem hard to understand :/
Help is appreciated ^^

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Quick Tutorial on CodMenus

Post by Drofder2004 » July 11th, 2011, 6:29 pm

My advice is to look at stock menus.

So, if you want to make an ingame menu that will popup, look at the quickmessages, else if you want a full screen menu, check the options and similar.

There are a lot of things regarding menus, that I have never seen covered. I have not got time to cover even the basics of a menu, but if you want specific help, then ask a specific question.

Also, might be worth checking modsonline.com but I dont remeber anything ever being posted.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: Quick Tutorial on CodMenus

Post by F |Madness| U » July 11th, 2011, 6:38 pm

Here is a nice guide to making a custom quickmessage menu on Black Ops. I'm guessing CoD4 will be similar, can't guarantee it though.

http://www.itsmods.com/forum/Thread-Mak ... -Menu.html
-

Nekoneko
CJ Fan
CJ Fan
Posts: 170
Joined: April 18th, 2011, 3:48 pm

Re: Quick Tutorial on CodMenus

Post by Nekoneko » July 11th, 2011, 7:48 pm

Very very nice, just what I was looking for.
Most should be doable in Cod4.
Tyvm ^^

Nekoneko
CJ Fan
CJ Fan
Posts: 170
Joined: April 18th, 2011, 3:48 pm

Re: Quick Tutorial on CodMenus

Post by Nekoneko » July 11th, 2011, 8:28 pm

I have never thought about it before, but I have used the cj menu for scripts.
So you can give any response you like to a menu?

/openscriptmenu portal banana
and if i have my menu portal, without regarding its content, it should still notify( "menuresponse" , "portal", "banana" ); right?
If so, what's the minimum i need to stick in a menufile.

Only this?

Code: Select all

{
	menuDef
	{
		name            portal
        }
}

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Quick Tutorial on CodMenus

Post by Drofder2004 » July 11th, 2011, 10:12 pm

Not sure, but this is the CJ menu

Code: Select all

#include "ui/menudef.h"
{
   menuDef 
   {
      name "cj"
      rect 0 0 1 1
      visible 0
      fullscreen 0
 
      onOpen
      {
         close cj;
      }
   }
}
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Nekoneko
CJ Fan
CJ Fan
Posts: 170
Joined: April 18th, 2011, 3:48 pm

Re: Quick Tutorial on CodMenus

Post by Nekoneko » July 11th, 2011, 10:24 pm

Yea, I had changed it.
That should be all needed, thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests