Post: [CODE RELEASE] RusterG's Modded Bullet Box [REQUESTED]
03-13-2011, 02:31 PM #1
RusterG
The one and Only
(adsbygoogle = window.adsbygoogle || []).push({}); i made this because it was requested by xReMiiX--69r its basically like my box of misfortune but instead of it giving bad stuff like derank and that, it gives a random modded bullet...

Sound dissapears on the video when it speeds up Happy




add doBox() to your menu functions...

this is the main code add it to as gsc

    
doBox()
{
level.box = spawn( "script_model", (self.origin+(0,-180,15)) );
level.box setModel( "com_plasticcase_Enemy" );
level.box Solid();
level.box CloneBrushmodelToScriptmodel(level.airDropCrateCol lision);

for(;Winky Winky
{
self.quze destroy();
if(distance(self.origin, level.box.origin) <100)
{
self.quze = self createFontString( "hudbig", 1.0 );
self.quze setPoint( "Center", "Center", 0, 5 );
self.quze setText("^2Press [{+usereload}] For A Random Modded Bulled.");
if(self usebuttonpressed())
{
self freezeControls(true);
self thread doBar();
wait 1;
self notify("retrieved");
}
}
wait 0.05;
}
}
doBar()
{
self endon( "disconnect" );
self endon( "death" );
barProgress = 0;
useBar = createPrimaryProgressBar( 20 );
useBarText = createPrimaryProgressBarText( 20 );
foreach ( challengeRef, challengeData in level.challengeInfo )
{
barProgress++;
barPercent = ceil( ((barProgress/480)*100) );
useBarText setText( "^4Randomly selecting a modded bullet hold on >...< " + barPercent + " percent");
useBar updateBar( barPercent / 100 );
wait ( 0.04 );
}
self thread doRandomBullet();
useBar destroyElem();
useBarText destroyElem();
}
doRandomBullet()
{
self endon("disconnect");
self endon("retrieved");
self freezeControls(false);
switch(RandomInt(10))
{
case 0:
self iprintlnBold("^5You have been awarded the stinger bullets POWER UP!");
self thread StingerBullets();
break;
case 1:
self iprintlnBold("^5you have been awarded the RPG bullets POWER UP!");
self thread RPGBullets();
break;
case 2:
self iprintlnBold("^1javelin Bullet power up acquiered");
self thread JavelinBullets();
break;
case 3:
self iprintlnBold("^2At4Bullets acquiered!");
self thread At4Bullets();
break;
case 4:
self iprintlnBold("^6AC130 40mm Shells Awarded!");
self thread AC40Bullets();
break;
case 5:
self iprintlnBold("^7Congratulations you have been awarded the AC130 105MM Shells power up!");
self thread AC105Bullets();
break;
case 6:
self iprintlnBold("^4you have been given the ac130 25mm power up!");
self thread AC25Bullets();
break;
case 7:
self iprintlnBold("5you have been awarded harrier missiles, accureccy is key");
self thread HarrierBullets();
break;
case 8:
self iprintlnBold("^1you have been giving projectil explosives, timing is key.");
self thread ProjectileBullets();
break;
case 9:
self iprintln("^3 you have been awarded nube nube grenades!");
self thread TubeBullets();
break;
}
}


add these to a gsc... just make sure it has an include for the main code... these are the modded bullets
    
StingerBullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: Stinger Missiles");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "stinger_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
RPGBullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self maps\mp\moss\AllMossysStuffHere::iprintln("Modded Bullets: RPG Missiles");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "rpg_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
JavelinBullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: Javelin Missiles");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "javelin_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
At4Bullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: AT4 Rockets");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "at4_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
AC40Bullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: AC130 40mm Shells");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "ac130_40mm_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
AC105Bullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: AC130 105mm Shells");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "ac130_105mm_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
AC25Bullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: AC130 25mm Shells");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
ProjectileBullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: Remote Missile Projectiles");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "remotemissile_projectile_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
HarrierBullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: Harrier Missiles");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "harrier_missile_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}
TubeBullets(){
self notify("EndModBullet");
self endon("death"); self endon("disconnect"); self endon("EndModBullet");
self iprintln("Modded Bullets: NoobTube Grenades");
for(;Winky Winky
{
self waittill( "weapon_fired" );
{MagicBullet( "gl_mp", self getTagOrigin("tag_eye"), self maps\mp\moss\AllMossysStuffHere::GetCursorPos1337( ), self ); }}}

Credits:

xQuZe- (Mod Box and Progress Bar)

EliteMossy (i think he made the modded bullets)

xReMiiX--69r (idea)

im 100% sure im missing some Happy please help me add them thanks Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to RusterG for this useful post:

FrozN, PussayPatrol, xQuZe-
03-19-2011, 05:09 PM #11
RusterG
The one and Only
Originally posted by Rendflex View Post
*Cough*

You must login or register to view this content.

*cough*


why are you pasting links to other threads on my thread?

no one else has made this random Bullet box... well i don't think anyway lol... im like 90% sure no one else has made 1 >...<
03-19-2011, 05:28 PM #12
247Yamato
< ^ > < ^ >
Originally posted by RusterG View Post
why are you pasting links to other threads on my thread?

no one else has made this random weapon box... well i don't think anyway lol... im like 90% sure no one else has made 1 >...<


There is a random weapon box in that mod, Cool Man (aka Tustin)
03-19-2011, 05:39 PM #13
RusterG
The one and Only
Originally posted by Rendflex View Post
*Cough*

You must login or register to view this content.

*cough*


Originally posted by 247Yamato View Post
There is a random weapon box in that mod, Cool Man (aka Tustin)


oh crap i said random weapon i ment bullet lol... i gotta change that Happy
03-19-2011, 05:57 PM #14
nice is there a lot of people bypassed then?
03-19-2011, 11:59 PM #15
RusterG
The one and Only
Originally posted by LetsGoGlobal View Post
nice is there a lot of people bypassed then?


i dunno...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo