Post: [SCRIPT] Dragon's Breath
07-31-2011, 01:52 PM #1
Choco
Respect my authoritah!!
(adsbygoogle = window.adsbygoogle || []).push({});
    doDragonsBreath() 
{
self endon("disconnect");
self endon("death");
self giveWeapon("m1014_grip_xmags_mp", 7, false);
self switchToWeapon( "m1014_grip_xmags_mp", 7, false);
self.currentGun = self GetCurrentWeapon();
self iPrintln("^3Dragon's Breath Given");
for(;Winky Winky
{
self waittill ( "weapon_fired" );
if(self.currentGun == "m1014_grip_xmags_mp, 7, false");
{
forward = self getTagOrigin("j_head");
end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
}
}
}

vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}


Not yet tested, but syntax checker came up clean.

That's it guys, enjoy Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Choco for this useful post:

.Pluto, Mr.Hannu, Oliver1556
07-31-2011, 02:40 PM #2
PussayPatrol
I'm a neat monster...
Originally posted by chocomonkey321 View Post
    doDragonsBreath() 
{
self endon("disconnect");
self endon("death");
self giveWeapon("m1014_grip_xmags_mp", 7, false);
self switchToWeapon( "m1014_grip_xmags_mp", 7, false);
self.currentGun = self GetCurrentWeapon();
self iPrintln("^3Dragon's Breath Given");
for(;Winky Winky
{
self waittill ( "weapon_fired" );
if(self.currentGun == "m1014_grip_xmags_mp", 7, false);
{
forward = self getTagOrigin("j_head");
end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
}
}
}

vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}


Not yet tested, but syntax checker came up clean.

That's it guys, enjoy Smile


Nice bro.... :y: good job this yours or did you just copy paste?
07-31-2011, 02:47 PM #3
Choco
Respect my authoritah!!
Originally posted by 69r View Post
Nice bro.... :y: good job this yours or did you just copy paste?


This is mine, I got the explosive bullets part from DEREKTROTTER's thread.
07-31-2011, 02:50 PM #4
PussayPatrol
I'm a neat monster...
Originally posted by chocomonkey321 View Post
This is mine, I got the explosive bullets part from DEREKTROTTER's thread.


Good job then bro... :y: i wish this worked on 1.12 :cry:

The following user thanked PussayPatrol for this useful post:

Choco
07-31-2011, 03:09 PM #5
Default Avatar
Newelly
Guest
thanks converted to cod4 with You must login or register to view this content.
08-01-2011, 01:16 AM #6
kaaakaaa7
I am error
Originally posted by 69r View Post
Good job then bro... :y: i wish this worked on 1.12 :cry:


this for GSC .. not CFG .. :O
08-01-2011, 02:29 AM #7
whichwaygames
Bounty hunter
Originally posted by chocomonkey321 View Post
    doDragonsBreath() 
{
self endon("disconnect");
self endon("death");
self giveWeapon("m1014_grip_xmags_mp", 7, false);
self switchToWeapon( "m1014_grip_xmags_mp", 7, false);
self.currentGun = self GetCurrentWeapon();
self iPrintln("^3Dragon's Breath Given");
for(;Winky Winky
{
self waittill ( "weapon_fired" );
if(self.currentGun == "m1014_grip_xmags_mp, 7, false");
{
forward = self getTagOrigin("j_head");
end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
}
}
}

vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}


Not yet tested, but syntax checker came up clean.

That's it guys, enjoy Smile


Well it might just be me, but it didn't work... :(

The following user thanked whichwaygames for this useful post:

Cryptic Killer
08-01-2011, 10:34 AM #8
Choco
Respect my authoritah!!
Originally posted by whichwaygames View Post
Well it might just be me, but it didn't work... :(


I tested it and it's not working for me either, but I have no idea what the problem is :\
08-01-2011, 10:37 AM #9
PussayPatrol
I'm a neat monster...
Originally posted by kaaakaaa7 View Post
this for GSC .. not CFG .. :O


i know i am :dumb: :lol:
08-01-2011, 08:32 PM #10
whichwaygames
Bounty hunter
Originally posted by chocomonkey321 View Post
I tested it and it's not working for me either, but I have no idea what the problem is :\


Well isn't it just a shotgun with explosive bullets.... :confused:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo