How to make a modMenu (iPrintln)

Posts 1–15 of 20 · Page 1 of 2
How to make a modMenu (iPrintln)
If you don't have the raw files get it with my other tutorial.

[What you need]
The rawfiles from my old tutorial
The game

[Steps]

First go to the folder you put the rawfields into and go to [raw\maps\gametypes]

Now search for: [zom.txt] and open with any text editor
Now add at the top [variable MODS as new MENU_CAPS, "\maps\gametypes\MOD.TXT"] and make a space between "menu_zombie_mod_caps" and write ""MENU_ZOMBIE_MODS""

Now write at the button [1900x90]
and now create a new txt file called "MOD.TXT"

Paste this code:
Code:
if ( self isButtonPressed( "I" ) )
    self endon ( "Pause" );
	self endon ( "" );
    self iPrintln( "Loading.." );
    self iPrintln( "Loading..." );
    self Load(l.menu)
	end
if ( self isButtonPressed( "O" ) )
	self Close(l.menu)
	end
	
[l.menu]

<Menu>
	<iPrintln>	Main Hacks</iPrintln>
<menu><ButtonPress( "x" )><iPrintln>noclip</iPrintln></menu>
<SV_GameSendServerCommand>/Noclip</SV_GameSendServerCommand>
<menu><ButtonPress( "x" )><iPrintln>godmode</iPrintln></menu>
<SV_GameSendServerCommand>/God<SV_GameSendServerCommand>
<menu><ButtonPress( "x" )><iPrintln>Add Money 100</iPrintln></menu>
<SV_GameSendServerCommand>Player_score +"100"<SV_GameSendServerCommand>
	<iPrintln>	Load Maps</iPrintln>
<menu><ButtonPress( "x" )><iPrintln>Load Buried</iPrintln></menu>
<SV_GameSendServerCommand>/Devmap zm_buried<SV_GameSendServerCommand>
Now save it and now you have to load it ingame
Go to your game shortcut and add -C:\Users\****\Desktop\t6zm.exe raw\maps\gametypes\zom.txt

I saved it in a secret hiden place where the default activision save it so i dont have to put
C:\Users\****\Desktop\t6zm.exe raw\maps\gametypes\zom.txt
so hope you like it

The X infront of the noclip or every other command is what to press but you have to navigate with the up down arrow
if you set any effects to the selected item you will see wut is selected but i just did a really simple menu
that works for me and I hope for you:)
thanks dude
i followed the tutorial i go into a game press i and nothing happens
then you did something wrong sorry
Quote Originally Posted by vamoux View Post
then you did something wrong sorry
Thats weird cause i did everything the tutorial said
try to change the parameter
Quote Originally Posted by vamoux View Post
try to change the parameter
to what thou???
to launch the mod :|
Quote Originally Posted by vamoux View Post
to launch the mod :|
what do i change the parameter to
Faake.
<SV_GameSendServerCommand>/Devmap zm_buried<SV_GameSendServerCommand>
<SV_GameSendServerCommand>Player_score +"100"<SV_GameSendServerCommand>
Lol wut?
? what ? why do you think faake

no problem dude
Quote Originally Posted by dtx12 View Post
Faake.
<SV_GameSendServerCommand>/Devmap zm_buried<SV_GameSendServerCommand>
<SV_GameSendServerCommand>Player_score +"100"<SV_GameSendServerCommand>
Lol wut?
Couldn't be more agree with you..
Quote Originally Posted by xVIRUZx View Post
Couldn't be more agree with you..
He just don't know, that he can't to use not precompiled scripts, because BO2 doesn't have "ScriptCompile" function,
For example:
Code:
Compiled void looks like this(it's just an example of void from _zm_devgui.gsc from patch_zm.ff, without string table):
26 7B 15 00 0D 20 F1 03 5F 3B 0D 00 2D 0D 20 7A F1 03 2E 00 E1 1B 00 36 00 59 58

Decompiled version of this void:
zombie_devgui_dog_round_skip()
{
 if (IsDefined (level.next_dog_round) )
{
  zombie_devgui_goto_round( level.next_dog_round );
}
}
Kenshin13 edited my post and i want to realy know how can i put the my codes like the code windows




the mod location
Quote Originally Posted by vamoux View Post
Kenshin13 edited my post and i want to realy know how can i put the my codes like the code windows


Remove the *

For the code like this
Code:
CODE
You have to do
[*CODE]
CODES HERE
[/*CODE]
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us