You are viewing our Forum Archives. To view or take place in current topics click here.
MW2 Infectable Mod Menu Release (1.13 CODES)!
Posted:

MW2 Infectable Mod Menu Release (1.13 CODES)!Posted:

meatspin3000
  • New Member
Status: Offline
Joined: Mar 17, 201212Year Member
Posts: 8
Reputation Power: 0
Status: Offline
Joined: Mar 17, 201212Year Member
Posts: 8
Reputation Power: 0
FROM Choco from nextgenupdate


Using escape quotes is the gate and key to infectable mod menus. What does escape quotes do?

Escape quotes allow you to define a string within quotation marks, inside a string already enclosed by quotation marks. Sounds confusing? It's fairly simple. Here's how it works:

Let's say you have this string:
set BINDS "g_compassShowEnemies 1;r_znear 57;cg_laserForceOn 1"
And also this string:
set ui_mapname "mp_rust;bind BUTTON_BACK vstr BINDS"
To make that all one string you would do this:
set ui_mapname "mp_rust;bind BUTTON_BACK vstr BINDS;set BINDS "\""g_compassShowEnemies 1;r_znear 57;cg_laserForceOn 1"\"""
So I now have my string set within the other string.

Using this for an infectable menu is done by setting up a vstr that contains what you want when your menu opens (button handling, commands and such) within your ui_mapname string and then having it bound to select:
set ui_mapname "mp_rust;bind BUTTON_BACK vstr OPEN;set OPEN "\""say ^1Option;say ^2Option;say ^2Option;bind DPAD_DOWN vstr 2;bind BUTTON_A ^1Option_1;bind DPAD_LEFT vstr close"\"""
Of course you need more than one command string for a menu, so you will need to use more escape quotes to add more strings. Unfortunately, the game will stop reading commands after the end of the first set of escape quotes. So how can you fix it? Set your other strings within the first string you created:
set ui_mapname "mp_rust;bind BUTTON_BACK vstr OPEN;set OPEN "\""say ^1Option;say ^2Option;say ^2Option;bind DPAD_DOWN vstr 2;bind BUTTON_A ^1Option_1;bind DPAD_LEFT vstr close;set close "\""bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind DPAD_LEFT +actionslot 3;bind BUTTON_A +gostand;say ^0Closed"\"""\"""
You can continue to do this with multiple strings as long you put the newest one inside the last one and don't exceed the string size limit (1024 bytes if I remember correctly). Here is an example with 3 strings in one mapname for those who are confused:
set ui_mapname "mp_rust;bind BUTTON_BACK vstr OPEN;set OPEN "\""say ^1Option;say ^2Option;say ^2Option;bind DPAD_DOWN vstr 2;bind BUTTON_A ^1Option_1;bind DPAD_LEFT vstr close;set close "\""bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind DPAD_LEFT +actionslot 3;bind BUTTON_A +gostand;say ^0Closed;set 2 "\""say ^2Option 1;say ^1Option 2;say ^2Option 3;bind BUTTON_A ^2Option_2;bind DPAD_DOWN vstr 3;bind DPAD_UP vstr OPEN;bind DPAD_LEFT vstr close"\"""\"""\"""
That should be everything you need to know to get your own infectable mod menu working Please don't spam up the forums with 50 slightly different versions of the same basic thing.

Again, I''m sorry for basically putting an end to MW2, but with the escape quotes method for infections already released I do feel this was necessary. All I ask is that you don't hate me for releasing it.

Thanks everyone, I hope this helps you all out
#2. Posted:
wristcutzz
  • Powerhouse
Status: Offline
Joined: Jan 26, 201212Year Member
Posts: 499
Reputation Power: 19
Status: Offline
Joined: Jan 26, 201212Year Member
Posts: 499
Reputation Power: 19
So could u give us menu
#3. Posted:
DzIRe_MoDz
  • Prospect
Status: Offline
Joined: Dec 02, 201112Year Member
Posts: 692
Reputation Power: 29
Status: Offline
Joined: Dec 02, 201112Year Member
Posts: 692
Reputation Power: 29
this is PS3 :facepalm: post it ps3 modding.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.