Post: [CODE] RusterG's Ray Gun [RELEASE] with video
03-10-2011, 11:36 PM #1
RusterG
The one and Only
(adsbygoogle = window.adsbygoogle || []).push({}); so here is my ray gun Hope you's enjoy! Smile




    
equipRayGun(fxthan, fxthun, fxtrus)
{
self endon("disconnect");
self endon ("death");
wait .1;
playSoundonPlayers( game["music"]["victory_allies"], "allies" );
level._effect[ "ac130_flare1" ] = loadfx( "misc/flares_cobra" );
level._effect[ "ac130_flare" ] = loadfx( "misc/flares_cobra" );
level.spawnGlow["friendly"] = loadfx( "misc/flare_ambient" );
self giveWeapon("deserteagle_mp", 7, false);
self switchToWeapon("deserteagle_mp");
self iprintln("^2The gods have blessed you with a ^5Ray Gun!");
wait 3;
self maps\mp\gametypes\_hud_message::hintMessage("^5OMG its a ray gun! Go give em ^1hell!");
for(;Winky Winky
{
self waittill ( "weapon_fired" );
if( self getCurrentWeapon() == "deserteagle_mp" )

fxthan = SpawnFx(level._effect[ "ac130_flare1" ], self GetCursorPos(), self getTagOrigin("tag_eye"));
fxthun = SpawnFx(level._effect[ "ac130_flare" ], self GetCursorPos(), self getTagOrigin("tag_eye"));
fxtrus = SpawnFx(level.spawnGlow["friendly"], self GetCursorPos(), self getTagOrigin("tag_eye"));
MagicBullet("ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
fxthan.angles = (50,50,50);
fxthun.angles = (0,0,0);
fxtrus.angles = (0,0,0);
TriggerFX(fxthan);
TriggerFX(fxthun);
TriggerFX(fxtrus);
foreach(player in level.players)
{ if(player.team != self.team)
{ if(Distance(self.origin, player.origin) < 600)
{
player _unsetPerk("specialty_falldamage");
}
}
}
self switchToWeapon("deserteagle_mp");
wait .2;
fxthun delete();
wait .4;
fxthan delete();
fxtrus delete();
}
}



Credits:
Hawkins (used thundergun code) although i removed most of it
xQuZe- (Sounds thread helped alot)
DEREKTROTTER (Effects thread helped loads)
(adsbygoogle = window.adsbygoogle || []).push({});

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

Demmonnixx, Dillon, Fail, Febreze, JDixon1993, Mrs.Drake, Ninja, TOX!G
03-12-2011, 03:16 AM #29
RusterG
The one and Only
Originally posted by X View Post
haha. heLL na. I don't know how to even make a weapon have a camo. haha. I'm a fail. lol BUT you good.!!! Outie


haha, thanks >...<
03-12-2011, 03:18 AM #30
Mrs.Drake
GOAL: 1000 POSTS
Originally posted by RusterG View Post
haha, thanks >...<


yep. is there a sound that sounds like a ray gun like zouuuu. haha Outie
03-12-2011, 03:31 AM #31
RusterG
The one and Only
Originally posted by X View Post
yep. is there a sound that sounds like a ray gun like zouuuu. haha Outie


the only thing i could find was a beep lol... nd that doesn't sound anything like a ray gun Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo