Post: Water Gun [MW2]
08-15-2012, 09:10 PM #1
Cmd-X
It's been awhile.
(adsbygoogle = window.adsbygoogle || []).push({});
Water Gun
Effect Found By: iPROFamily
Created By: Cmd-X


So iPROFamily made a water gun for cod4 and cod5. I used the FX he used and made my own water gun out of it. I've had it for so long and thought that many people knew about it but apparently not, so I'm just gonna release my version of the water gun for mw2, hope you like it Smile

    
WaterGun()
{
self endon("death");
self endon("disconnect");
self giveWeapon("glock_silencer_mp",0,true);
self switchtoweapon("glock_silencer_mp");
for(;Winky Winky
{
self waittill("weapon_fired");
if(self getcurrentweapon()=="glock_silencer_mp")
{
self player_recoilScaleOn(0);
vec=anglestoforward(self getPlayerAngles());
end =(vec[0] * 200000,vec[1] * 200000,vec[2] * 200000);
SPLOSIONlocation=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+ end,0,self)["position"];
level._effect["Boomerz"]=loadfx("explosions/grenadeExp_water");
playfx(level._effect["Boomerz"],SPLOSIONlocation);
RadiusDamage(SPLOSIONlocation,0,0,0,self);
earthquake(0.3,1,SPLOSIONlocation,1000);
}
wait 0.1;
}
}


put this in the mission's init()

    level.fx[3]=loadfx("explosions/grenadeExp_water");


if there's already a level.fx[3], then simply make it 4 or some shit.

if there's anything i should edit, quote me.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 7 users say thank you to Cmd-X for this useful post:

YouAppreciateMe, ForgivenxModz, homeedog, I-LOVE-Coockies, jets, KCxFTW, RaspberryIce
08-23-2012, 01:22 AM #20
This is very good thanks and do not STOP!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo