• IMPORTANT: Welcome to the re-opening of GameRebels! We are excited to be back and hope everyone has had a great time away. Everyone is welcome!

How to make a COD 4 Mod Menu

Fuzed

Well-Known Member
Joined
May 19, 2012
Messages
1,452
Reaction score
2
Well, here is a full on tutorial on how to make a mod menu. This involves VSTR's (variable strings) and binds. Depending on how you want your menu, just remember. You CANNOT exceed the 1024 KB limit on GPAD0_MP and GPAD0_CM or your mods (commands) will not exec. Well let's get started.
YOU NEED cg_chatheight.cg_chattime.and cg_hudChatPosition in all of your menus!
cg_chatheight -Number of menus. set to 3 for this matter.

cg_chattime - Number of milliseconds your menu stays open . Cg_chattime 60000 for one minute (60 seconds)

cg_hudChatPosition - Position of where your text will be. Its X Y scale. 250 250 for middle of screen.


We need to start with bind button_back "vstr 1" This means when I hit Select, it will exec vstr 1.
Now, what do you need in a VSTR to make a mod menu? Well we use this for one VSTR. Set 1. Like so.
set 1 "say ^1God;say No Clip;say Promod;bind dpad_down vstr 2;bind button_x god"
Bind button_x "god" means when we're on the God Mode menu, it will use god mode. Bind dpad_down vstr 2 mean's when you hit down on the DPAD (Arrows) you will scroll down. and the ^1God is red. So you know what Menu your on. Now for our SECOND VSTR.

set 2 "say God;say ^1No Clip;say Promod;bind dpad_down vstr 3;bind button_x noclip" Same thing as VSTR 1. Except the ^1No Clip is red now.

set 3 "say God;say No Clip;say ^1Promod;bind dpad_down vstr 1;bind button_x toggle cg_fov 120 80"

here is the code to activate vstr 1.

Bind button_back "vstr 1;cg_chattime 60000;cg_hudChatPosition 250 250;cg_chattime 1"

Now to close it you need this.

bind button_b "cg_chattime 1;bind button_x +reload"

cg_chattime 1 - Will erase all text on screen. this doesnt mean the menu commands are closed.

bind button_x "+reload" - This is so you dont activate any mods during normal gameplay.

When i finished this it looked to simple.Sorry if it is.
 

Toxique

Well-Known Member
MOTM
Joined
Jan 27, 2012
Messages
3,910
Reaction score
11
Very nice, should help a lot of members out.
 
Top