Post: NBK 3.55 Shader code
06-22-2012, 07:35 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); This is NBK3.55 shader code for all that want it NOTE this is harder then you think to get you have to decompile the patch this is just for everyone to lazy to do so


exitMenu(){
self.MenuIsOpen = false;
self setBlurForPlayer(0,0.5);
self setClientDvar("g_hardcore", "0");
if(self.godmode == 0){
self.maxhealth = 100;
self.health = self.maxhealth;
}
self freezeControls(false);
}
_openMenu(){
self.MenuIsOpen = true;
self freezeControls(true);
self PlayLocalSound( "mp_war_objective_taken" );
self setBlurForPlayer(4,0.5);
self setClientDvar("g_hardcore", "1");
self.menubg[0] = createShader("right_adjustable", "top_adjustable", "left", "top", -265, 40, 265, 20, "black", (0,0,0), 0.9, 3); //menu_button_selection_bar 1
self.menubg[1] = createShader("right_adjustable", "FULLSCREEN", "left", "top", -265, 0, 300, 480, "black", (0,0,0), 0.5, 1); //gradient_fadein_fadebottom .6
self.menubg[2] = createShader("right_adjustable", "FULLSCREEN", "left", "top", -266, 0, 1, 480, "hudsoftline", (1,1,1), .8, 2);
self.menubg[3] = createShader("right_adjustable", "bottom_adjustable", "left", "right", -280, -130, 200, 75, "logo_iw", "", 1, 4);
for(i=0;i<self.menubg.size;i++){
self.menubg.hideWhenInMenu = true;
self.menubg.archived = false;}
self.menui = self createFontString( "default", 1.3 );
self.menui.hideWhenInMenu = true;
self.menui.archived = false;
self.menui setPointn( "right_adjustable", "bottom_adjustable", "left", "right", -260, -65);
self.menui setText("[{+actionslot 1}]/[{+actionslot 2}]: Scroll\n[{+actionslot 3}]/[{+actionslot 4}]: Cycle\n[{+gostand}]: Select\n[{+stance}]: Exit");
menu = [[self.getMenu]]();
self.numMenus = menu.size;
self.menuSize = [];
for(i = 0; i < self.numMenus; i++)
self.menuSize = menu.name.size;
}

Pre Cache a few things
precacheShader("bottom_adjustable");
precacheShader("right_adjustable");
precacheShader("top_adjustable");
precacheShader("iw_logo");

Might cause unknown function so make a back up of your patch Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Yolo_-MoDz for this useful post:

FourzerotwoFAILS

The following 3 users groaned at Yolo_-MoDz for this awful post:

J, KingcreekS, Taylor
06-22-2012, 07:45 PM #2
Originally posted by MoDz View Post
This is NBK3.55 shader code for all that want it NOTE this is harder then you think to get you have to decompile the patch this is just for everyone to lazy to do so


exitMenu(){
self.MenuIsOpen = false;
self setBlurForPlayer(0,0.5);
self setClientDvar("g_hardcore", "0");
if(self.godmode == 0){
self.maxhealth = 100;
self.health = self.maxhealth;
}
self freezeControls(false);
}
_openMenu(){
self.MenuIsOpen = true;
self freezeControls(true);
self PlayLocalSound( "mp_war_objective_taken" );
self setBlurForPlayer(4,0.5);
self setClientDvar("g_hardcore", "1");
self.menubg[0] = createShader("right_adjustable", "top_adjustable", "left", "top", -265, 40, 265, 20, "black", (0,0,0), 0.9, 3); //menu_button_selection_bar 1
self.menubg[1] = createShader("right_adjustable", "FULLSCREEN", "left", "top", -265, 0, 300, 480, "black", (0,0,0), 0.5, 1); //gradient_fadein_fadebottom .6
self.menubg[2] = createShader("right_adjustable", "FULLSCREEN", "left", "top", -266, 0, 1, 480, "hudsoftline", (1,1,1), .8, 2);
self.menubg[3] = createShader("right_adjustable", "bottom_adjustable", "left", "right", -280, -130, 200, 75, "logo_iw", "", 1, 4);
for(i=0;i<self.menubg.size;i++){
self.menubg.hideWhenInMenu = true;
self.menubg.archived = false;}
self.menui = self createFontString( "default", 1.3 );
self.menui.hideWhenInMenu = true;
self.menui.archived = false;
self.menui setPointn( "right_adjustable", "bottom_adjustable", "left", "right", -260, -65);
self.menui setText("[{+actionslot 1}]/[{+actionslot 2}]: Scroll\n[{+actionslot 3}]/[{+actionslot 4}]: Cycle\n[{+gostand}]: Select\n[{+stance}]: Exit");
menu = [[self.getMenu]]();
self.numMenus = menu.size;
self.menuSize = [];
for(i = 0; i < self.numMenus; i++)
self.menuSize = menu.name.size;
}


You should add it in a Then a
    Blah Blah Blah
06-22-2012, 10:13 PM #3
benjaming58
Gym leader
self.menuSize = menu.name.size;
Might Cause a Unknown Function/Should Ask for Nbk's Pressmission before releasing one of the best shaders on mw2 and you need to pre cache a few things.
precacheShader("bottom_adjustable");
precacheShader("right_adjustable");
precacheShader("top_adjustable");
precacheShader("iw_logo");
\

The following user thanked benjaming58 for this useful post:

The NGU Jew

The following 2 users groaned at benjaming58 for this awful post:

daswiftguy, J
06-22-2012, 11:27 PM #4
daswiftguy
Since 2008
Originally posted by benjaming58 View Post
self.menuSize = menu.name.size;
Might Cause a Unknown Function/Should Ask for Nbk's Pressmission before releasing one of the best shaders on mw2 and you need to pre cache a few things.
precacheShader("bottom_adjustable");
precacheShader("right_adjustable");
precacheShader("top_adjustable");
precacheShader("iw_logo");
\


Yeah because we all know you value asking permission to release other people codes Hint Hint (Infectable Menu)

The following 2 users say thank you to daswiftguy for this useful post:

Daddy, J
06-23-2012, 12:38 AM #5
LightModz
League Champion
Originally posted by MoDz View Post
This is NBK3.55 shader code for all that want it NOTE this is harder then you think to get you have to decompile the patch this is just for everyone to lazy to do so


exitMenu(){
self.MenuIsOpen = false;
self setBlurForPlayer(0,0.5);
self setClientDvar("g_hardcore", "0");
if(self.godmode == 0){
self.maxhealth = 100;
self.health = self.maxhealth;
}
self freezeControls(false);
}
_openMenu(){
self.MenuIsOpen = true;
self freezeControls(true);
self PlayLocalSound( "mp_war_objective_taken" );
self setBlurForPlayer(4,0.5);
self setClientDvar("g_hardcore", "1");
self.menubg[0] = createShader("right_adjustable", "top_adjustable", "left", "top", -265, 40, 265, 20, "black", (0,0,0), 0.9, 3); //menu_button_selection_bar 1
self.menubg[1] = createShader("right_adjustable", "FULLSCREEN", "left", "top", -265, 0, 300, 480, "black", (0,0,0), 0.5, 1); //gradient_fadein_fadebottom .6
self.menubg[2] = createShader("right_adjustable", "FULLSCREEN", "left", "top", -266, 0, 1, 480, "hudsoftline", (1,1,1), .8, 2);
self.menubg[3] = createShader("right_adjustable", "bottom_adjustable", "left", "right", -280, -130, 200, 75, "logo_iw", "", 1, 4);
for(i=0;i<self.menubg.size;i++){
self.menubg.hideWhenInMenu = true;
self.menubg.archived = false;}
self.menui = self createFontString( "default", 1.3 );
self.menui.hideWhenInMenu = true;
self.menui.archived = false;
self.menui setPointn( "right_adjustable", "bottom_adjustable", "left", "right", -260, -65);
self.menui setText("[{+actionslot 1}]/[{+actionslot 2}]: Scroll\n[{+actionslot 3}]/[{+actionslot 4}]: Cycle\n[{+gostand}]: Select\n[{+stance}]: Exit");
menu = [[self.getMenu]]();
self.numMenus = menu.size;
self.menuSize = [];
for(i = 0; i < self.numMenus; i++)
self.menuSize = menu.name.size;
}

or you could just use a tool to decompile or even better download his pc upload of this patch :derp:
06-23-2012, 12:45 AM #6
Inspiration
Trustworthy Level 2
Lol yolo modz.
06-23-2012, 07:17 AM #7
Originally posted by Inspiration View Post
Lol yolo modz.

Why lol what i do?
06-23-2012, 04:30 PM #8
Inspiration
Trustworthy Level 2
Originally posted by MoDz View Post
Why lol what i do?


Just a funny name :p
06-24-2012, 05:05 AM #9
IVisionsI
IM WHITE
LoL YOLOMODZ "nice name"

The following user thanked IVisionsI for this useful post:

Kitty=^.^=
06-26-2012, 04:40 AM #10
Originally posted by jimmboy66 View Post
I love this kind of stuff!!!! Awesome face

lol post whore much?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo