Post: [Preview] NiiCOTINE Patch v1.87 menu
02-13-2011, 01:10 AM #1
xNiicademus
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); I've seen a lot of people who are trying to figure out what you can do with shaders and such. I've been messing around with this stuff in my patch so I figured I'd post a vid showing what I have in it so far. I don't think it will be like this when I'm done but here's what I have so far. BTW: I did not make this patch from scratch! I started with DT's Mossy v8 edit. If anyone wants some help getting this stuff in their patch just let me know and I'll try to help.

Vid quality is shit and my kids were watching iCarly so, lol here ya go.
I should have muted the vid capture but oh well.


*******ATTENTION!!!!********* I say "my patch" because it is. That does not mean I'm saying I coded the damn thing from scratch, for all you "where's the credits", "That's so and so's", "Oh, wow another edit of an edit" guys out there. MY PATCH because I AM USING IT and what the hell else would I call it? Calm your nerves guys. It's just a game, and just a patch, life will go on long after MW2 Smile

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked xNiicademus for this useful post:

richiebanker
02-13-2011, 01:17 AM #2
CHAOZ
Banned
lol @ the iCarly part. Don't lie we know it was you :p

besides that. I wouldn't call it your menu, knowing is based on dconners.

just a few tweaks nothing special or enough to make a full thread on it.
02-13-2011, 01:19 AM #3
emsp
Space Ninja
verry nice!

how did u do that with Ur text i was trying to do that but i keep an getting error

>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<
02-13-2011, 01:32 AM #4
xNiicademus
Bounty hunter
I don't know who coded the menu, I thought I made it clear it wasn't my code. ***NOTICE*** I DID NOT CODE THE MENU OR THE VERIFICATION SYSTEM OR FOR THAT MATTER 99% OF MY PATCH. I stated I posted this for the people who are trying to get into customizing their menu and are using shaders.

*****NOTICE***** If you aren't new to customizing patches you probably will have some smart ass thing to say about this thread, so maybe you should just overlook it and move on, nothing to see here!

If you are new to customizing patches you might actually see something you like or it may give you an idea of something you would like to try. This thread was made for you.

---------- Post added at 08:32 PM ---------- Previous post was at 08:22 PM ----------

Originally posted by emsp View Post
verry nice!

how did u do that with Ur text i was trying to do that but i keep an getting error

>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<


Well that depends. The text has the flashing element in it which you can find the thread with the code for that. It was posted less than a week ago I think. The text pulsing in and out is another code that I messed around with and added. I will gladly post my openmenu code for you here

all the shaders need to be cached under the init() function which can be found in _missions.gsc at the top.

    precacheShader("cardtitle_mw2_black");


then here is the code for what i have in my menu.

    _openMenu(){
self.MenuIsOpen=true;
self freezeControls(true);
self.health=66666;self.maxhealth=66666;
self setBlurForPlayer(3,0.5);
self visionsetnakedforplayer("cheat_invert_contrast", 1);
MenuShad = NewClientHudElem( self );
MenuShad.alignX = "center";
MenuShad.alignY = "0";
MenuShad.horzAlign = "center";
MenuShad.foreground = false;
MenuShad.alpha = .8;
MenuShad setshader("black", 390,25);
MenuShad2 = NewClientHudElem( self );
MenuShad2.alignX = "center";
MenuShad2.alignY = "center";
MenuShad2.horzAlign = "center";
MenuShad2.vertAlign = "center";
MenuShad2.foreground = false;
MenuShad2.alpha = .7;
MenuShad2 setshader("black", 390,1000);
MenuShad3 = NewClientHudElem( self );
MenuShad3.alignX = "center";
MenuShad3.alignY = "bottom";
MenuShad3.vertAlign = "bottom";
MenuShad3.horzAlign = "center";
MenuShad3.foreground = true;
MenuShad3.alpha = 1;
MenuShad3 setshader("cardtitle_mw2_black", 630,130);
MenuShad4 = NewClientHudElem( self );
MenuShad4.alignX = "left";
MenuShad4.alignY = "center";
MenuShad4.vertAlign = "center";
MenuShad4.horzAlign = "left";
MenuShad4.foreground = false;
MenuShad4.alpha = 1;
MenuShad4 setshader("cardicon_prestige10_02", 80,80);
MenuShad5 = NewClientHudElem( self );
MenuShad5.alignX = "right";
MenuShad5.alignY = "center";
MenuShad5.vertAlign = "center";
MenuShad5.horzAlign = "right";
MenuShad5.foreground = false;
MenuShad5.alpha = 1;
MenuShad5 setshader("cardicon_prestige10_02", 80,80);
self thread DeleteMenuHudElem(MenuShad);
self thread DeleteMenuHudElem(MenuShad2);
self thread DeleteMenuHudElem(MenuShad3);
self thread DeleteMenuHudElem(MenuShad4);
self thread DeleteMenuHudElem(MenuShad5);
self thread DeleteMenuHudElem2(MenuShad);
self thread DeleteMenuHudElem2(MenuShad2);
self thread DeleteMenuHudElem2(MenuShad3);
self thread DeleteMenuHudElem2(MenuShad4);
self thread DeleteMenuHudElem2(MenuShad5);
self thread DeleteMenuHudElem3(MenuShad);
self thread DeleteMenuHudElem3(MenuShad2);
self thread DeleteMenuHudElem3(MenuShad3);
self thread DeleteMenuHudElem3(MenuShad4);
self thread DeleteMenuHudElem3(MenuShad5);
self thread DeleteMenuHudElem4(MenuShad);
self thread DeleteMenuHudElem4(MenuShad2);
self thread DeleteMenuHudElem4(MenuShad3);
self thread DeleteMenuHudElem4(MenuShad4);
self thread DeleteMenuHudElem4(MenuShad5);
self thread DeleteMenuHudElem5(MenuShad);
self thread DeleteMenuHudElem5(MenuShad2);
self thread DeleteMenuHudElem5(MenuShad3);
self thread DeleteMenuHudElem5(MenuShad4);
self thread DeleteMenuHudElem5(MenuShad5);
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++)
self.menuSize[i]=menu[i].name.size;
}


This is at the bottom of _missions.gsc
    DeleteMenuHudElem2(Element){self waittill("button_square");Element Destroy();}
DeleteMenuHudElem(Element){self waittill("button_square");Element Destroy();}
DeleteMenuHudElem3(Element){self waittill("button_square");Element Destroy();}
DeleteMenuHudElem4(Element){self waittill("button_square");Element Destroy();}
DeleteMenuHudElem5(Element){self waittill("button_square");Element Destroy();}


This is where I randomized the color

    menuDrawOptions(scroll,cycle){
menu=[[self.getMenu]]();
display=[];
for(i=0;i<menu[cycle].name.size;i++){
if(i < 1)
display[i]=self createFontString("hudbig",0.6);
else
display[i]=self createFontString("hudbig",0.7);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll){
r=randomint(255);
g=randomint(255);
b=randomint(255);
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.2);
display[i].fontScale=1.1;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowColor = ((r/255),(g/255),(b/255));
display[i].glowAlpha = 1;
display[i].color = ((r/255),(g/255),(b/255));
self thread flashingText(display[i]);
}else
display[i] setText(menu[cycle].name[i]);
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
}}


here is the flashing text thread - by .BlackStorm/ from DT's patch
    flashingText(WTF)
{
r=randomint(255);
g=randomint(255);
b=randomint(255);
n=randomint(255);
j=randomint(255);
f=randomint(255);
for(;Winky Winky
{
r=randomint(255);
g=randomint(255);
b=randomint(255);
n=randomint(255);
j=randomint(255);
f=randomint(255);
WTF.color = ((n/255),(255/255),(f/255));
WTF.glowColor = ((r/255),(g/255),(b/255));
WTF fadeOverTime(.1);
WTF.fontScale=1.4;
wait .1;
WTF.color = ((n/255),(150/255),(f/255));
WTF.glowColor = ((r/255),(g/255),(0/255));
WTF fadeovertime(.1);
WTF.fontScale=0.9;
wait .1;
}
}

The following user thanked xNiicademus for this useful post:

Demmonnixx

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo