level.flamez_trail=LoadFX("weapon/molotov/fx_molotov_burn_trail");
level.boom=loadfx("explosions/default_explosion");
level.GoldCircle=loadFX("misc/ui_flagbase_gold");
RainingFire()
{
if(self.fire==true)
{
self iPrintln("^3Raining Fire ^1[OFF]");
self notify("firex");
self.fire=false;
}
else
{
self notify("firex");
self iPrintln("^3Raining Fire ^2[ON]");
self thread doRainingFire();
self.fire=true;
}
}
doRainingFire()
{
self endon("disconnect");
self endon("death");
self endon("firex");
for(;
{
self waittill("weapon_fired");
target=gcp();
x=markfx(target,level.GoldCircle);
self thread RainFire(target,x);
wait .3;
}
}
RainFire(target,x)
{
location=target+(0,800,2500);
Flamez=spawn("script_model",location);
Flamez playsound("mp_ingame_summary");
Flamez setModel("aircraft_bomb");
Flamez.angles=Flamez.angles+(90,90,90);
ground=target;
target=VectorToAngles(ground-Flamez.origin);
Flamez rotateto(target,0.01);
Flamez thread fxme();
time=cal(1900,Flamez.origin,ground);
Flamez moveto(ground,time);
wait time;
Flamez playsound("grenade_explode_default");
Playfx(level.boom,Flamez.origin+(0,0,1));
RadiusDamage(Flamez.origin,450,700,350,self,"MOD_PROJECTILE_SPLASH","artillery_mp");
Flamez notify("stopfx");
Flamez delete();
x delete();
}
markfx(groundpoint,fx)
{
effect=spawnFx(fx,groundpoint,(0,0,1),(1,0,0));
triggerFx(effect);
return effect;
}
gcp()
{
return BulletTrace(self getTagOrigin("tag_weapon_right"),maps\mp\_utility::vector_scale(anglestoforward(self getPlayerAngles()),1000000),false,self)["position"];
}
cal(speed,origin,moveTo)
{
return (distance(origin,moveTo)/speed);
}
fxme()
{
self endon("stopfx");
self endon("disconnect");
for(;
{
Playfx(level.flamez_trail,self.origin);
wait .001;
}
}
level.flamez_trail=LoadFX("weapon/molotov/fx_molotov_burn_trail");
level.boom=loadfx("explosions/default_explosion");
level.GoldCircle=loadFX("misc/ui_flagbase_gold");
RainingFire()
{
if(self.fire==true)
{
self iPrintln("^3Raining Fire ^1[OFF]");
self notify("firex");
self.fire=false;
}
else
{
self notify("firex");
self iPrintln("^3Raining Fire ^2[ON]");
self thread doRainingFire();
self.fire=true;
}
}
doRainingFire()
{
self endon("disconnect");
self endon("death");
self endon("firex");
for(;
{
self waittill("weapon_fired");
target=gcp();
x=markfx(target,level.GoldCircle);
self thread RainFire(target,x);
wait .3;
}
}
RainFire(target,x)
{
location=target+(0,800,2500);
Flamez=spawn("script_model",location);
Flamez playsound("mp_ingame_summary");
Flamez setModel("aircraft_bomb");
Flamez.angles=Flamez.angles+(90,90,90);
ground=target;
target=VectorToAngles(ground-Flamez.origin);
Flamez rotateto(target,0.01);
Flamez thread fxme();
time=cal(1900,Flamez.origin,ground);
Flamez moveto(ground,time);
wait time;
Flamez playsound("grenade_explode_default");
Playfx(level.boom,Flamez.origin+(0,0,1));
RadiusDamage(Flamez.origin,450,700,350,self,"MOD_PROJECTILE_SPLASH","artillery_mp");
Flamez notify("stopfx");
Flamez delete();
x delete();
}
markfx(groundpoint,fx)
{
effect=spawnFx(fx,groundpoint,(0,0,1),(1,0,0));
triggerFx(effect);
return effect;
}
gcp()
{
return BulletTrace(self getTagOrigin("tag_weapon_right"),maps\mp\_utility::vector_scale(anglestoforward(self getPlayerAngles()),1000000),false,self)["position"];
}
cal(speed,origin,moveTo)
{
return (distance(origin,moveTo)/speed);
}
fxme()
{
self endon("stopfx");
self endon("disconnect");
for(;
{
Playfx(level.flamez_trail,self.origin);
wait .001;
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.