GamerHacks
Welcome to my site! Please Login to start posting!

[Tut]: How To Make Your First Mod Menu

View previous topic View next topic Go down

[Tut]: How To Make Your First Mod Menu

Post by Admin on February 7th 2011, 7:29 pm

This tutorial Will Be Teaching How To Make A Call of duty 4 mod menu.
it took me a long time so i would appreciate a little respect.
Enjoy

Links
Basics Of Coding Thanks To Tons-[You must be registered and logged in to see this link.]
Again To Tons For Single Player Mods- [You must be registered and logged in to see this link.]
StatsSet- [You must be registered and logged in to see this link.]

- You Must Know How To Bypass Already.
- You Will Also Need The Knowledge Of Editing/ Creating Codes.
- This Took Me Ages So I Should Deserve I Little Respect For This.
- This Is Made In Mind Of Everyone Who Asked Me To Help Them Make A Mod Menu.

[1]- Things You Need To Understand About Coding A Mod Menu.

When coding a mod menu it all needs to be linked together, this means they must bind together.
Before you start add this to GPAD0_CM
set gpad_buttonsConfig "asdf"
set party_connectToOthers "0"
set party_host "1"

Now Add This To GPAD0_MP
set playlist "7"

[2]- What You Mean Bind Together ?.
here's an example, when binding to open your menu you need to add a bind/ function to do that.
so when exiting or swicthing menu's that all needs to be linked also.
here's a example, to make you get the image.

{ menu 1 }, if you adding more than one menu you would do it like this, obviously though you wouldn't code it like this. this is just to try get the image into
your head and help you understand.

soo.. say i was going to have 3 menu's.
it would be like this..

Code:
Menu 1 > Menu 2 > Menu 3 > Menu 1.

can you see how it's like a cercuit ?
if you never put the bind to go back to the menu 1 it would stay at menu 3 and you therefore wouldn't be able to use the menu again. it would be stuck at that

[3]- Now To The Actaul Coding.
That Demonstration wich i showed you was nothing like the coding. I recomend Putting All This Into GPAD0_MP
when coding a mod menu you need to add binds to do the following..

Code:
- Open The Menu
- Switch Menu's.
- Selecting The Mod.
-Closing The Menu.

so when coding you need to make a certain bind, binding is doing something to make that action happen.
to make that action to happen you would press a button.
Here's The Button List..

Code:
==========================
dpad Up/ bind dpad_up
dpad right/ bind dpad_right
dpad down/ bind dpad_down
dpad left/ bind dpad_left
==========================
L1- bind button_lshldr
L2- bind button_ltrig
l3- bind button_lstick

R1- bind button_rshldr
R2- bind button_rtrig
R3- bind buton_rstick
==========================
X- bind button_a
[]- bind button_x
Triangle- bind button_y
O- bind button_b
==========================

so, now you got all the button's, now it's time to bind your menu.

[4]- Now You Onto The Major Part Of Your Menu, Your Going To Actually Make It.
So, We Need To Open Our Menu, Pick Any Button from that button list, i'm going to choose bind dpad_down/ wich is dpad down.
so, now- what you would put is \\YOUR SELECTED BUTTON// "vstr 1"
i bet your thinking vstr 1 ?!, well this allows your menu to re-open when you die.

So now what you want to do is underneath that put set 1. this is that vstr >1<. this shows wich bind your going to use.
now to make the text for your menu, only put the "TEXT" into MP or as much as you can.
anyway, this will be your set 1. im going to step ahead here to try give you another demonstration.
this is how you would put it and what it should look like, i'll explain after..

Code:
set 1" cg_chatheight 3;cg_hudchatposition 250 250;say [ MOD1 ]; say MOD2; say MOD3; bind button_a; bind dpad_down; bind dpad_up; bind dpad_b"

you see the cg_chatheight 3;cg_hudchatposition 250 250

Code:
cg_chatheight 3

means how many lines your menu will go down, so if you have 4 menu's put 4, same with 5 ect..

also the
Code:
cg_hudchatposition 250 250.
this just means centre of your screen.

i know i jumped a big step there but im going to explain it.
you see were it says

Code:
say [ MOD1 ]; say MOD2; say MOD3

thats the name of your mods you will be adding into the menu.

you see how MOD1 is highlighted. with [ ] around it. thats because thats the mod your going to be selecting.
because the is 3 Menu's in this you will do this for each mod name, like this.
but you would add diffrent sets.

[code]set 1" say [ MOD1 ]; say MOD2; say MOD3; bind button_a; bind dpad_down; bind dpad_up; bind dpad_b"
set 2" say MOD1; say [ MOD2 ]; say MOD3; bind button_a; bind dpad_down; bind dpad_up; bind dpad_b"

like that, you see how it goes along from 1-3, thats the scrolling.

[5]- you'll be looking at the menu and thinking..
bind dpad_down; bind dpad_up; bind dpad_b ?!?!?!?!
this actually connects your menu up.
e.g. so were bind dpad_down is, this means press down to take you to the next menu. same goes for up.
Now This Will Confuse You A Little But Here Goes..
when one the first menu { set 1 } you want to go to the second menu.
you would do this by were the bind dpad_down is put "vstr 2"..

Why vstr 2?.
vstr 2 is the set of menu 2. so one menu 2 you would do the same to get menu 3.
how ever when on menu 3 you would have to bind it back to menu 1. simply done, change it to vstr 1. thats for the same reason as menu 2.

now, binding to go to previous menu..
when on menu 1 if you press up you would go to menu 3. so all you would do is were it says bind dpad_up on Set 1 put vstr 3.

it should look like this..

[code]set 1" say [ MOD1 ]; say MOD2; say MOD3; bind button_a; bind dpad_down vstr 2; bind dpad_up vstr 3; bind dpad_b"
set 2" say MOD1; say [ MOD2 ]; say MOD3; bind button_a; bind dpad_down vstr 3; bind dpad_up vstr 1; bind dpad_b"
set 3" say MOD1; say MOD2; say [ MOD3 ]; bind button_a; bind dpad_down vstr 1; bind dpad_up vstr 2; bind dpad_b" set 3" say MOD1; say MOD2; say [ MOD3 ]; bind button_a; bind dpad_down; bind dpad_up; bind dpad_b"[/code]

now for the Exit Of The Menu.
you will need to bind the exit menu, i'm just going to spoon feed that because it's rather hard to explain, but in your GPAD0_CM put

[code]set f1 "cg_chatheight 0;bind BUTTON_A +gostand;bind DPAD_UP +actionslot 1;bind DPAD_DOWN
vstr 1"[/code]

this will enable you to jump again and use your buttons again without selecting a mod.

so after you've put that into the Cm, you need to go back to your MP.
now, were it says "bind button_b" put "vstr ex".
that should bind it so when you press O it exit's the menu.

[6]- Now from the last section you'll be like what the heck is the


[code]"bind button_a; bind dpad_down; bind dpad_up; bind dpad_b"now just forget about that for the moment. Open up you CM.[/code]

now you see earlier you binded the text, now you going to be binding the Mods.
here's an example..


[code]set a "god"now i've just added the simple bind, god mode.[/code]
you see how thats an "a", every binding has a diffrent set.

so, go back to your GPAD0_MP.
now back to the

[code]bind button_a; bind dpad_down; bind dpad_up; bind dpad_byou see were it says the..[/code]

[code]bind button_athat means X, and X is going to be my button to select the mod.[/code]

so now were that button_a is i would put

[code]vstr a.[/code]so now when i press this this will give me god mode..

now go alll the way back to the say, and because we just binded menu 1, change the "MOD1" to "GodMode".
this will tell you that if you press it it will give you god mode.

now, it's really simple adding them for MOD 2 & MOD 3. just do the same as we done with the God Mode but add your selected mode and remeber to change the set.

that's it really, after you've added your codes and mods it shoud look something like this, im guna make this up so don't try copy and paste.
it's just fake codes for show use only, but the "God" isn't ha.
this is what it should look like.

GPAD0_MP
set playlist "7"
set 1" cg_chatheight 3;cg_hudchatposition 250 250;say [ NAMEOFMOD]; say nameofmod; say nameofmod; bind button_a vstr a; bind dpad_down; bind dpad_up; bind dpad_b vstr ex"
set 2" say nameofmod; say [ NMEOFMOD ]; say nameofmod; bind button_a vstr b; bind dpad_down vstr 3; bind dpad_up vstr 1; bind dpad_b vstr ex"
set 3" say MOD1; say MOD2; say [ NAMEOFMOD ]; bind button_a vstr c; bind dpad_down vstr 1; bind dpad_up vstr 2; bind dpad_b vstr ex"

GPAD_CM
set gpad_buttonsConfig "asdf"
set party_connectToOthers "0"
set party_host "1"
set a" MY MOD 1"
set b" MY MOD 2"
set c" MY MOD 3"
set ex"cg_chatheight 0;bind BUTTON_A +gostand;bind DPAD_UP +actionslot 1;bind DPAD_DOWN vstr 1;



Well It's 06:52 am, i started This Post at 02:13am, so yeah. thats how much effort i put into this, i tryed to put in as much detail as posible, Night NGU !
Going For Sticky ?


Admin
Admin

Posts: 394
Points: 55858
Reputation: 8149
Join date: 2011-02-02
Age: 25
Location: Earth

View user profile http://gamerhacks.forumotion.com

Back to top Go down

Re: [Tut]: How To Make Your First Mod Menu

Post by Matt6190 on March 25th 2013, 8:32 am

Im new to this. What programs do you need to do this

Matt6190
n0ob
n0ob

Posts: 1
Points: 1
Reputation: 10
Join date: 2013-03-25

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum