Post: [RELEASE] Weapons Menu Thing | Just Something Nice To Use
07-26-2012, 03:50 PM #1
IVI40A3Fusionz
Former Gaming Squad Member
(adsbygoogle = window.adsbygoogle || []).push({}); Not anything very special to release, but it's something new-ish that i haven't really seen in many other patches, it's something different from an editor and still looks pretty neat. Got the idea from Yamato although he told me to do something different, i tried his idea it didn't work so i changed it around abit but hey here we go.

Video:


Step 1:

Find your SubMenu, NewMenu etc function that allows you to enter new menus etc and add this.
    
if(getSub("Weapons"))
self.WeaponShaders = CreateShader("TOPRIGHT","RIGHT",-11,-200,205,132,(1,1,1),getAction(5)[0],200,.7);



Step 2:

Find the function with all your scrolling components like self AttackButtonPressed() etc, and add this.
    
if(getSub("Weapons"))
self.WeaponShaders setShader(getAction(5)[self.Menu["Scroll"]],205,132);



Step 3:

Go to the init function in rank.gsc or weapons.gsc and put these 2 things in there.
    
level.Action[5] = strTok("weapon_remington700;weapon_m40a3;weapon_m14_scoped;weapon_dragunovsvd;weapon_barrett50cal;weapon_winchester1200;weapon_benelli_m4;weapon_m249saw;weapon_rpd;weapon_m60e4;weapon_mp5;weapon_skorpion;weapon_mini_uzi;weapon_aks74u;weapon_p90;weapon_m16a4;weapon_ak47;weapon_g3;weapon_g36c;weapon_m4carbine;weapon_m14;weapon_mp44", ";");

PS("weapon_remington700;weapon_m40a3;weapon_m14_scoped;weapon_dragunovsvd;weapon_barrett50cal;weapon_winchester1200;weapon_benelli_m4;weapon_m249saw;weapon_rpd;weapon_m60e4;weapon_mp5;weapon_skorpion;weapon_mini_uzi;weapon_aks74u;weapon_p90;weapon_m16a4;weapon_ak47;weapon_g3;weapon_g36c;weapon_m4carbine;weapon_m14;weapon_mp44");



Some Extra Things You Will Need:
    
CreateShader(Align,Relative,X,Y,Width,Height,Colour,Shader,Sort,Alpha)
{
CShader=newClientHudElem(self);
CShader.children=[];
CShader.elemType="bar";
CShader.sort=Sort;
CShader.color=Colour;
CShader.alpha=Alpha;
CShader setParent(level.uiParent);
CShader setShader(Shader,Width,Height);
CShader setPoint(Align,Relative,X,Y);
return CShader;
}
getAction(Input)
{
return level.Action[Input];
}
getSub(Menu)
{
if(isSubStr(self.Parent, Menu))return true;
return false;
}
PS(s)
{
k=strTok(s,";");
for(i=0;i<k.size;i++)precacheShader(k[i]);
}


NOTE: self.Parent, "Weapons" and self.Menu["Scroll"] will differ in your patches.

Credits:
Yamato - For The Idea :love:.
IVI40A3Fusionz - For Making It I Guess :\.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to IVI40A3Fusionz for this useful post:

247Yamato, Harry, INSAN3LY_D34TH, iPROFamily, LightModz, Newelly,
07-26-2012, 06:54 PM #11
247Yamato
< ^ > < ^ >
Originally posted by IVI40A3Fusionz View Post
No point, just an idea suggested by Yamato Happy.


It wasnt exactly like this Happy . I meant like this but instead scrolling with a bar on a menu, you scroll through the map images ( loadscreens ) with no menu Smile
07-26-2012, 07:00 PM #12
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by 247Yamato View Post
It wasnt exactly like this Happy . I meant like this but instead scrolling with a bar on a menu, you scroll through the map images ( loadscreens ) with no menu Smile


Yeah i know but i mixed up your idea alil to make it more to my liking Winky Winky. But those loadscreen shaders not working really annoyed me :(,

---------- Post added at 08:00 PM ---------- Previous post was at 07:57 PM ----------

Originally posted by x. View Post
Sorry, I don't talk to stupid people who paid for Elite. Go. Now. :carling:

---------- Post added at 07:49 PM ---------- Previous post was at 07:45 PM ----------


You could easily show the map loadscreen shaders but you can't change maps without crashing on cod4 can you (?) , so ...

And, yeah, I don't see why anyone needs rank and prestige editors on such an old game. I mean, why would you want to be prestige 3, rank 44 or something :confused:

And don't even start with f***ing clan tag editors :dumb:


Map changes work in Split screen, Lan Party and in Private Match but not properly online most of the time, also i had the map loadscreen shaders but they wouldn't show :/, just showed the 'prestige 11' icon.

Also I added a Clantag editor in my patch just for you :carling:.
07-26-2012, 08:17 PM #13
Originally posted by IVI40A3Fusionz View Post
Also I added a Clantag editor in my patch just for you


Yay ! I'm going to use it to set my clantag to "FUCK" Enzo
07-26-2012, 08:38 PM #14
Originally posted by x. View Post
Yay ! I'm going to use it to set my clantag to "FUCK" Enzo


watch out we got a badass over here!

Badass

I'm going to change my clantag to "IW" :carling:
07-26-2012, 08:43 PM #15
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by GAMER View Post
watch out we got a badass over here!

Badass

I'm going to change my clantag to "IW" :carling:


Ima change mine to "SHIT" because that's how badass i am stare.
07-26-2012, 09:54 PM #16
Newelly
Can’t trickshot me!
Originally posted by x. View Post
Hahahaa, someone else paid it for you ? stare :dumb:


yeaah :lol: noway am i paying for it.
07-27-2012, 07:04 PM #17
Harry
Former Staff
Originally posted by Newelly
yo bitch, stop your bitch ass winging and fuck up :carling:


don't be gay, did i tell you this story .... My Friend laughs like a lil squeaky voiced girl. How funny is that :lol:

Nice release ryan Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo