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-11-2011, 08:23 PM #20
RusterG
The one and Only
Originally posted by 69r View Post
na man i think you did a good job keep up the good work Smile


haha thanks :y:

The following user thanked RusterG for this useful post:

dex2grigg
03-11-2011, 11:24 PM #21
anddrew
League Champion
Taking of the normal gun sound will make it better
03-11-2011, 11:56 PM #22
This is actually so fun to use Happy Thanks man
03-12-2011, 12:08 AM #23
RusterG
The one and Only
Originally posted by dreamkid58 View Post
This is actually so fun to use Happy Thanks man


no... thank you for commenting and letting me know you like it :y:
03-12-2011, 02:59 AM #24
Mrs.Drake
GOAL: 1000 POSTS
Originally posted by RusterG View Post
no... thank you for commenting and letting me know you like it :y:


haha. I'm very judgemental on this stuff and you did a good job. Outie . How did you make it like tat its pretty cool. like the red? Claps Claps Claps Claps
03-12-2011, 03:05 AM #25
RusterG
The one and Only
Originally posted by X View Post
haha. I'm very judgemental on this stuff and you did a good job. Outie . How did you make it like tat its pretty cool. like the red? Claps Claps Claps Claps


i took the tactial insertion effect off daftvaders pimped weapons box...


EDIT:

and i added the cobra flares effect...
03-12-2011, 03:08 AM #26
Mrs.Drake
GOAL: 1000 POSTS
Originally posted by RusterG View Post
i took the tactial insertion effect off daftvaders pimped weapons box...


EDIT:

and i added the cobra flares effect...


oh that's super cool. I wish I was 1337 at making codes like you. haha. :derp:
03-12-2011, 03:13 AM #27
RusterG
The one and Only
Originally posted by X View Post
oh that's super cool. I wish I was 1337 at making codes like you. haha. :derp:


1337 im guessing thats sarcasm... Happy
03-12-2011, 03:15 AM #28
Mrs.Drake
GOAL: 1000 POSTS
Originally posted by RusterG View Post
1337 im guessing thats sarcasm... Happy


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

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo