Post: Simple way to code the 1.12 patch
03-12-2011, 02:10 AM #1
oO-GKUSH-Oo
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); Ok this took me a while to understand but heres a simple code you can use

//This Is The Menu Functions Configure To Your Best Load Out...
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+melee"
bind BUTTON_LSTICK "+breath_sprint"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_RIGHT "+actionslot 4"
bind BUTTON_START "togglemenu"
bind DPAD_LEFT "vstr MENU"


//Here Is Where You Will Add Your Function Names...
set MENU "set Cg_hudchatposition 900 800;bind BUTTON_B vstr EXIT; vstr MAIN_OPT1"
set MAIN_TITLE "say ^2==== ^4MENU ====^2"
set EXIT "bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind BUTTON_B +stance;set Cg_hudchatposition 900 800"
set MAIN_OPT1 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT1_RUN; bind DPAD_UP vstr MAIN_OPT5; bind DPAD_DOWN vstr MAIN_OPT2;"
set MAIN_OPT2 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT2_RUN; bind DPAD_UP vstr MAIN_OPT1; bind DPAD_DOWN vstr MAIN_OPT3;"
set MAIN_OPT3 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT3_RUN; bind DPAD_UP vstr MAIN_OPT2; bind DPAD_DOWN vstr MAIN_OPT4;"
set MAIN_OPT4 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT4_RUN; bind DPAD_UP vstr MAIN_OPT3; bind DPAD_DOWN vstr MAIN_OPT5;"
set MAIN_OPT5 "vstr MAIN_TITLE;say ^4-- ^1CLOSE MENU^4--;bind BUTTON_A vstr MAIN_OPT5_RUN; bind DPAD_UP vstr MAIN_OPT4; bind DPAD_DOWN vstr MAIN_OPT1;"

//My Basic Functions Just Some Dvars...
set MAIN_OPT1_RUN "your function"
set MAIN_OPT2_RUN "your function"
set MAIN_OPT3_RUN "your function"
set MAIN_OPT4_RUN "your function"
set MAIN_OPT5_RUN ""

In order to get your functions to work you will have to put it in a format such as set clanname or set"whatever here i like using dvars"
any codes used from the previous patches will not work most of them are patched. So basically the only codes that really work for sure are some infections and dvars
Having Trouble? Feel free to PM me or post a comment here
CREDITS
PCFREAK30 for the best Generator ever :p
AND ME
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to oO-GKUSH-Oo for this useful post:

Sterg, Nero.
03-12-2011, 11:11 AM #11
lmao i remember making cod4 mod lobbies with codes like these :P maybe illl try to make a patch :p
03-12-2011, 03:42 PM #12
Beta-
< ^ > < ^ >
i May Make Patch Now lol
03-12-2011, 04:53 PM #13
oO-GKUSH-Oo
< ^ > < ^ >
Originally posted by pcfreak30 View Post
Your seriously saying that writing RCON code is easier than writing XML?


No way lol XML is so confusing you have to no exactly what your doing
03-12-2011, 06:14 PM #14
i no this sounds nooby but do u put this in cm or mp lol
03-12-2011, 06:24 PM #15
oO-GKUSH-Oo
< ^ > < ^ >
Originally posted by 360Zz View Post
i no this sounds nooby but do u put this in cm or mp lol


lol neither you have to put in buttons.default.cfg ill put a patch that has it already up soon
03-12-2011, 11:47 PM #16
Originally posted by DECKIE123 View Post
Ok this took me a while to understand but heres a simple code you can use

//This Is The Menu Functions Configure To Your Best Load Out...
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+melee"
bind BUTTON_LSTICK "+breath_sprint"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_RIGHT "+actionslot 4"
bind BUTTON_START "togglemenu"
bind DPAD_LEFT "vstr MENU"


//Here Is Where You Will Add Your Function Names...
set MENU "set Cg_hudchatposition 900 800;bind BUTTON_B vstr EXIT; vstr MAIN_OPT1"
set MAIN_TITLE "say ^2==== ^4MENU ====^2"
set EXIT "bind DPAD_UP +actionslot 1;bind DPAD_DOWN +actionslot 2;bind BUTTON_B +stance;set Cg_hudchatposition 900 800"
set MAIN_OPT1 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT1_RUN; bind DPAD_UP vstr MAIN_OPT5; bind DPAD_DOWN vstr MAIN_OPT2;"
set MAIN_OPT2 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT2_RUN; bind DPAD_UP vstr MAIN_OPT1; bind DPAD_DOWN vstr MAIN_OPT3;"
set MAIN_OPT3 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT3_RUN; bind DPAD_UP vstr MAIN_OPT2; bind DPAD_DOWN vstr MAIN_OPT4;"
set MAIN_OPT4 "vstr MAIN_TITLE;say ^4-- ^2function name^4--;bind BUTTON_A vstr MAIN_OPT4_RUN; bind DPAD_UP vstr MAIN_OPT3; bind DPAD_DOWN vstr MAIN_OPT5;"
set MAIN_OPT5 "vstr MAIN_TITLE;say ^4-- ^1CLOSE MENU^4--;bind BUTTON_A vstr MAIN_OPT5_RUN; bind DPAD_UP vstr MAIN_OPT4; bind DPAD_DOWN vstr MAIN_OPT1;"

//My Basic Functions Just Some Dvars...
set MAIN_OPT1_RUN "your function"
set MAIN_OPT2_RUN "your function"
set MAIN_OPT3_RUN "your function"
set MAIN_OPT4_RUN "your function"
set MAIN_OPT5_RUN ""

In order to get your functions to work you will have to put it in a format such as set clanname or set"whatever here i like using dvars"
any codes used from the previous patches will not work most of them are patched. So basically the only codes that really work for sure are some infections and dvars
Having Trouble? Feel free to PM me or post a comment here
CREDITS
PCFREAK30 for the best Generator ever :p
AND ME


how do you even extract the patch to edit it???
03-13-2011, 12:20 AM #17
oO-GKUSH-Oo
< ^ > < ^ >
Originally posted by harvilledu View Post
how do you even extract the patch to edit it???


.BLACKSTORM has a patch with similar codes just download his patch. its extracted i dnt really feel like explaining how srry

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo