What's new

Discussion [CODE]Unlock All Attachments and Camos Really Fast

  • Thread starter Lee 0312
  • Start date
  • Views 2,092
L

Lee 0312

Enthusiast
Messages
142
Reaction score
132
Points
115
Sin$
7
Not sure if this would work but its worth a try I guess :lol: (I will test tomorrow cba atm lol)
Credit to who ever released the unlock all camos and attachments code :smile:
Code:
dounlocks()
{       setDvar("timescale", "5"); //Or higher 
self iPrintlnBold("Unlocking Camos");
for( n=0; n<8; n++ )
{
for( i=0; i<150; i++ )
{
attachey = tablelookup( "mp/attachmentTable.csv", 0, n, 4 );    
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockCamo( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self iPrintlnBold("Camo's unlocked");
wait 2;
self iPrintlnBold("Unlocking Attachments");
attachment[0] = "grip";
attachment[1] = "gl";
attachment[2] = "acog";
attachment[3] = "silencer";
attachment[4] = "reflex";
for( n=0; n<5; n++ )
{
for( i=0; i<150; i++ )
{
attachey = attachment[n];
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockAttachment( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
setDvar("timescale", "1")
self iPrintlnBold("Attachments Unlocked");

}

Edit: Yep it works :smile:
 
Z89

zackf89

Xbox Modification/Repair Master
Messages
1,574
Reaction score
893
Points
230
Sin$
0
pretty smart changing the timescale...:smile: can get laggy though
 
Cheez

Cheez

I Got The Wizard Stick
Retired
Forum Addict
Messages
4,732
Reaction score
2,760
Points
795
Sin$
0
Timescale won't help, it just increases the game speed not the processing speed.
 
DJQUIKSILV3R

DJQUIKSILV3R

Enthusiast
Messages
485
Reaction score
143
Points
125
Sin$
0
Wouldn't this change it for everyone in the game? Would get annoying when ever someone unlocks attachments! -_-
 
L

Lee 0312

Enthusiast
Messages
142
Reaction score
132
Points
115
Sin$
7
Wouldn't this change it for everyone in the game? Would get annoying when ever someone unlocks attachments! -_-

True but you could change it to

Code:
self setclientdvar("timescale","1")

Then the timescale will be fast for them and not you (well it will appear fast for them when its actually not if you know what I mean lol) :biggrin:

I just use this when I'm getting people 10th etc via system link so IMO it very useful as its a lot quicker.
 
O

oOMW2Oo

Enthusiast
Messages
134
Reaction score
11
Points
70
Sin$
0
has anyone got a working patch with this new code in it, that i can have please, i keep trying to add it and the patch stops working and the xbox freezes :frown:
 
Top Bottom
Login
Register