Originally posted by Battler624
for example this is an unlock all W/ HUD add this to zombies patch as i dont know how to edit zombies i know what file to look in but now what lines and what delete to have some clean space to work with
AttachmentUnlocker()
{
self endon ( "disconnect" );
self endon ( "death" );
attachment[1] = "gl";
attachment[2] = "acog";
attachment[3] = "silencer";
attachment[4] = "reflex";
attachment[5] = "scope";
attachment[6] = "sawoff";
attachment[7] = "bayonet";
attachment[8] = "telescopic";
attachment[9] = "bigammo";
attachment[10] = "flash";
attachment[11] = "grip";
attachment[12] = "bipod";
attachment[13] = "comp";
attachment[14] = "silenced";
attachment[15] = "telescopic";
attachment[16] = "selectfire";
if( self.unlocked == 0 && self.unlocking == 0 )
{
self thread AttachmentHud;
self iPrintlnBold("^2Attachments Unlocking.. <3oO Battler624");
self.unlocked = 1;
self.unlocking = 1;
for( n=0; n<17; n++ )
{
for( i=0; i<150; i++ )
{
attachey = attachment[n];
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_persistence::unlockAttachment( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self.unlocking = 0;
}
else if( self.unlocking == 1 && self.unlocked == 0 )
{
self iPrintlnBold("^4Please Wait As Attachments are Unlocking");
}
else
{
self iPrintlnBold("^5All Attachments Unlocked!");
}
}
AttachmentHud()
{
for( i=0; i<151; i++ )
{
self.unlock1 = set_hudelem( undefined, 150, 280, 1.3, .9, self );
self.unlock1 settext( ""+i+"/150" );
self.hudunlock = set_hudelem( undefined, 150, 300, 1.3, .9, self );
self.hudunlock SetShader( "white", 1 + i, 12 );
self.hudunlock.color = ( 1, 0, 1 );
wait .5;
self.hudunlock Destroy();
self.unlock1 Destroy();
}
self.hudunlock = set_hudelem( undefined, 150, 280, 1.3, .9, self );
self.hudunlock settext("^5All Attachments Unlocked");
wait 3;
self.hudunlock Destroy();
}
---------- Post added at 02:56 PM ---------- Previous post was at 02:54 PM ----------
i've sent it to your so called visitor message look at the rank.dat it was a WAW multiplayer patch but anyway when i looked the zombies patch it seems you didn't copy and paste so i am really sorry look at my post
i have an unlocker try it or atleast add it W/ another link
*it have my name on it so if you want to edit its fine by me*
this script doesn't work, as i said before.. & what ? you want me to try your patch or what ? :p