Post: Blood Gun [MW2]
10-04-2012, 05:26 PM #1
xGscClan
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); First off I am not claiming this as my code or anything like that but I was looking through some codes earlier (Cmd-X Water Gun) and decided to quickly make the Blood Gun. So here you go. This is my first time messing about with anything like this. Credits to Cmd-X obviously.

Blood Gun (AIDS) Video
:

Add this to init() :

level._effect["blood"]=loadfx("impacts/flesh_hit_body_fatal_exit");

Add this anywhere :

BloodGun()
{
self iPrintln("^1Blood Gun : xGscModz");
self iPrintln("^2Look Out! ^0AIDS!");
self giveWeapon("mp5k_silencer_mp",1,false);
self switchToWeapon("mp5k_silencer_mp");
level._effect["blood"]=loadfx("impacts/flesh_hit_body_fatal_exit");
for(;Winky Winky
{
self waittill("weapon_fired");
if(self getCurrentWeapon() == "mp5k_silencer_mp")
{
vec2=anglestoforward(self getPlayerAngles());
e1nd =(vec2[0] * 200000,vec2[1] * 200000,vec2[2] * 200000);
SPLOSIONlocation1=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+ e1nd,0,self)["position"];
playfx(level._effect["blood"],SPLOSIONlocation1+(0,0,Cool Man (aka Tustin));
playfx(level._effect["blood"],SPLOSIONlocation1+(0,2,12));
playfx(level._effect["blood"],SPLOSIONlocation1+(0,-2,4));
RadiusDamage(SPLOSIONlocation1,130,130,130,self);
}
wait 0.001;
}
}

Don't know how to get rid of the smilies sorry guys.
Last edited by xGscClan ; 10-04-2012 at 05:29 PM.

The following 4 users say thank you to xGscClan for this useful post:

aerosoul94, ImCreativeModdz, KCxFTW, xToysBoy_

The following 6 users groaned at xGscClan for this awful post:

KM-_1337, PnuTGamer, Cmd-X, RaspberryIce, Taylor
10-07-2012, 01:38 AM #29
HackersForHire
Climbing up the ladder
Originally posted by SliceLobbiez View Post
Just Saying but didnt HepticOnline Make this


I've made a BloodGun yes, I like mine better though :P mine explodes with blood everywhere :3
This code is smaller and less effective for Blood

---------- Post added at 01:38 AM ---------- Previous post was at 01:36 AM ----------

Originally posted by xGscClan View Post
First off I am not claiming this as my code or anything like that but I was looking through some codes earlier (Cmd-X Water Gun) and decided to quickly make the Blood Gun. So here you go. This is my first time messing about with anything like this. Credits to Cmd-X obviously.

Blood Gun (AIDS) Video
:

Add this to init() :

level._effect["blood"]=loadfx("impacts/flesh_hit_body_fatal_exit");

Add this anywhere :

BloodGun()
{
self iPrintln("^1Blood Gun : xGscModz");
self iPrintln("^2Look Out! ^0AIDS!");
self giveWeapon("mp5k_silencer_mp",1,false);
self switchToWeapon("mp5k_silencer_mp");
level._effect["blood"]=loadfx("impacts/flesh_hit_body_fatal_exit");
for(;Winky Winky
{
self waittill("weapon_fired");
if(self getCurrentWeapon() == "mp5k_silencer_mp")
{
vec2=anglestoforward(self getPlayerAngles());
e1nd =(vec2[0] * 200000,vec2[1] * 200000,vec2[2] * 200000);
SPLOSIONlocation1=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+ e1nd,0,self)["position"];
playfx(level._effect["blood"],SPLOSIONlocation1+(0,0,Cool Man (aka Tustin));
playfx(level._effect["blood"],SPLOSIONlocation1+(0,2,12));
playfx(level._effect["blood"],SPLOSIONlocation1+(0,-2,4));
RadiusDamage(SPLOSIONlocation1,130,130,130,self);
}
wait 0.001;
}
}

Don't know how to get rid of the smilies sorry guys.


I like my BloodGun Better :3 Needa
10-07-2012, 02:05 AM #30
So wtf is the number for the face "cool" playfx(level._effect["blood"],SPLOSIONlocation1+(0,0,????);

---------- Post added at 02:05 AM ---------- Previous post was at 01:55 AM ----------

( 0 , 0 , 8 ) ); ?????

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo