.:::: How to Make a Basic infectable mod menu ::::.
3 posters
Page 1 of 1
.:::: How to Make a Basic infectable mod menu ::::.
hey, im Twix and This is my Tutorial on how to make a Basic infectable Mod Menu.
----------------------------------------------------------------------------------------------
First Things First You Will Need A Script To Infect You In The System Link Lobby.
Here Is My Example ::
Next You Will Need To Make The Menu, It May Seem Hard But Its Acctually Very Simple.
you will Start with self addInfDvar < -------- Notice the Inf and The Dvar start with Capitals, This Is
Because It Makes It Easy'er for The Jtag To Read.
Now For The menu.
First Thing you Need To Do Is Bind The Controlls / Buttons To A Certain Name. For Example set
DPAD_DOWN vstr Down.
Here Is The Start To My Menu.
self setClientDvar( "activeaction", "vstr Menu" ); < --------- Notice This Has a Diffrent Self Command
This Is Because it Does not Need To Be
Infected.
self addInfDvar( "Menu", "set activeaction vstr Menu;vstr Controlls" ); < -- Linking To were You Bind
Buttons.
self addInfDvar( "Controlls", "set DPAD_UP vstr Up;set DPAD_DOWN vstr Down etc. " );
Now Your Buttons Are Binded You Must Link Them To The Menu, This Is Simple.
self addInfDvar( "Down", "Mc0" ); < ----- This Will Be Linked To Menu Controlls
self addInfDvar( "Up", "Mc6" );
wait 5;
Here Is My Code::
Here Is were the First Menu Controlls Go.
self addInfDvar( "Mc0", "set Down Mc1;set Up vstr Mc6;vstr m1_0;set Exec vstr Dvar1" );
self addInfDvar( "Mc1", "set Down Mc2;set Up vstr Mc0;vstr m1_1;set Exec vstr Dvar1" );
self addInfDvar( "Mc2", "set Down Mc3;set Up vstr Mc1;vstr m1_2;set Exec vstr Dvar1" );
self addInfDvar( "Mc3", "set Down Mc4;set Up vstr Mc2;vstr m1_3;set Exec vstr Dvar1" );
self addInfDvar( "Mc4", "set Down Mc5;set Up vstr Mc3;vstr m1_4;set Exec vstr Dvar1" );
self addInfDvar( "Mc5", "set Down Mc6;set Up vstr Mc4;vstr m1_5;set Exec vstr Dvar1" );
self addInfDvar( "Mc6", "set Down Mc0;set Up vstr Mc5;vstr m1_6;set Exec vstr Dvar1" );
wait 1;
Here Is were The Say Dvar's Go, Notice It is Linked To The Controlls.
self addInfDvar( "m1_0", "say ^1--Option 1--;say ^0Option 2;say ^0Option 3;say ^0option 4 etc .
There Was No Room To Put The rest, So Pm Me If You Are Confuzed About That.
well Thats The tutorial, But At The End Of The Patch Dont Forget To Put ,
} This Sybolizes The End of A patch.
If You Wan't Me to Add Anything Then PM Me Or Post On The Topic, Thanks
-- XeXTwix --
----------------------------------------------------------------------------------------------
First Things First You Will Need A Script To Infect You In The System Link Lobby.
Here Is My Example ::
- Code:
modmenu()
{
self iPrintlnBold( "Authenicating Patch..." );
wait 2;
self iPrintln( "Checking Details..." );
wait 2;
if(self.name == level.hostname)
}
self iPrintlnBold( "^1Cannot Infect Host" );
}
else if(self.name == "exenon")
{
self thread finalcheck();
}
else
{
self iPrintlnBold( "Authentication ^1Failed" );
}
self iPrintln( "^2Authentication Check Completed" );
}
finalcheck()
{
self iPrintlnBold( "^1Infecting..." );
wait 2;
self thread ohhTwix();
}
ohhTwix()
{
Next You Will Need To Make The Menu, It May Seem Hard But Its Acctually Very Simple.
you will Start with self addInfDvar < -------- Notice the Inf and The Dvar start with Capitals, This Is
Because It Makes It Easy'er for The Jtag To Read.
Now For The menu.
First Thing you Need To Do Is Bind The Controlls / Buttons To A Certain Name. For Example set
DPAD_DOWN vstr Down.
Here Is The Start To My Menu.
self setClientDvar( "activeaction", "vstr Menu" ); < --------- Notice This Has a Diffrent Self Command
This Is Because it Does not Need To Be
Infected.
self addInfDvar( "Menu", "set activeaction vstr Menu;vstr Controlls" ); < -- Linking To were You Bind
Buttons.
self addInfDvar( "Controlls", "set DPAD_UP vstr Up;set DPAD_DOWN vstr Down etc. " );
Now Your Buttons Are Binded You Must Link Them To The Menu, This Is Simple.
self addInfDvar( "Down", "Mc0" ); < ----- This Will Be Linked To Menu Controlls
self addInfDvar( "Up", "Mc6" );
wait 5;
Here Is My Code::
- Code:
self addInfDvar( "activeaction", "vstr LockandLoad");
self addInfDvar( "LockandLoad", "set activeaction vstr LockandLoad;vstr quitmenu");
self addInfDvar( "bind DPAD_DOWN vstr WTF;bind DPAD_UP vstr FTW;bind BUTTON_A vstr TROL;bind BUTTON_B vstr Exit");
self addInfDvar( "WTF", "O0" );
self addinfDvar( "FTW", "O6" );
wait 1;
Here Is were the First Menu Controlls Go.
self addInfDvar( "Mc0", "set Down Mc1;set Up vstr Mc6;vstr m1_0;set Exec vstr Dvar1" );
self addInfDvar( "Mc1", "set Down Mc2;set Up vstr Mc0;vstr m1_1;set Exec vstr Dvar1" );
self addInfDvar( "Mc2", "set Down Mc3;set Up vstr Mc1;vstr m1_2;set Exec vstr Dvar1" );
self addInfDvar( "Mc3", "set Down Mc4;set Up vstr Mc2;vstr m1_3;set Exec vstr Dvar1" );
self addInfDvar( "Mc4", "set Down Mc5;set Up vstr Mc3;vstr m1_4;set Exec vstr Dvar1" );
self addInfDvar( "Mc5", "set Down Mc6;set Up vstr Mc4;vstr m1_5;set Exec vstr Dvar1" );
self addInfDvar( "Mc6", "set Down Mc0;set Up vstr Mc5;vstr m1_6;set Exec vstr Dvar1" );
wait 1;
Here Is were The Say Dvar's Go, Notice It is Linked To The Controlls.
self addInfDvar( "m1_0", "say ^1--Option 1--;say ^0Option 2;say ^0Option 3;say ^0option 4 etc .
There Was No Room To Put The rest, So Pm Me If You Are Confuzed About That.
well Thats The tutorial, But At The End Of The Patch Dont Forget To Put ,
} This Sybolizes The End of A patch.
If You Wan't Me to Add Anything Then PM Me Or Post On The Topic, Thanks
-- XeXTwix --
Guest- Guest
Re: .:::: How to Make a Basic infectable mod menu ::::.
Very good post twix this should help alot of people how to basicly do a menu but you should add were the sub heading go i got confused on them the first time i started coding menus
MTX_Kraazee- Moderator
- Posts : 6
Reputation : 0
Join date : 2012-03-07
Age : 26
Location : Blaina-Brynmawr-Abertillery
Re: .:::: How to Make a Basic infectable mod menu ::::.
Great Tutorial But
I Recommend Using Teh1337s Online Creator,
Works Most Time With Low Errors
Its Compiled Perfectly
I Created My Own Menu With It,
You Enter The Mod Name And The Dvar
Then It Makes The GSC Code For You
It Allows As Many Menus As You Like But Only 7 In Each Sub Menu
But It Has Many Sub Menus Until The Patch Is Out Of Memory
Keep Posting
- 2kylekyle
Teh1337s Creator (NOT ADVERTISING):
Click Here To Visit The Creator
I Recommend Using Teh1337s Online Creator,
Works Most Time With Low Errors
Its Compiled Perfectly
I Created My Own Menu With It,
You Enter The Mod Name And The Dvar
Then It Makes The GSC Code For You
It Allows As Many Menus As You Like But Only 7 In Each Sub Menu
But It Has Many Sub Menus Until The Patch Is Out Of Memory
Keep Posting
- 2kylekyle
Teh1337s Creator (NOT ADVERTISING):
Click Here To Visit The Creator
Re: .:::: How to Make a Basic infectable mod menu ::::.
2kylekyle wrote:Great Tutorial But
I Recommend Using Teh1337s Online Creator,
Works Most Time With Low Errors
Its Compiled Perfectly
I Created My Own Menu With It,
You Enter The Mod Name And The Dvar
Then It Makes The GSC Code For You
It Allows As Many Menus As You Like But Only 7 In Each Sub Menu
But It Has Many Sub Menus Until The Patch Is Out Of Memory
Keep Posting
- 2kylekyle
Teh1337s Creator (NOT ADVERTISING):
Click Here To Visit The Creator
its easier to edit on ff veiwer
Med- Senior Admin
- Posts : 5
Reputation : 1
Join date : 2012-02-12
Re: .:::: How to Make a Basic infectable mod menu ::::.
Yeah but i suppose what ever you create on the site gets created into a gsc which goes into ff viewer which can then be used for futher editing or just to save.
Similar topics
» Cod 4 Infectable Dvars List
» How to make a Cod4 Patch (Xbox)
» Tangys Mod Menu
» Tnagyzz V2 Brand New Mod Menu
» Pick A Mod Menu (READ)
» How to make a Cod4 Patch (Xbox)
» Tangys Mod Menu
» Tnagyzz V2 Brand New Mod Menu
» Pick A Mod Menu (READ)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum