Post: Flamethrower - Shoot fire!!
10-31-2010, 05:05 PM #1
mrmoss
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Here is my Flamethrower code i took about 15 minutes putting together

so here it is:


    
GetCursorPos(){
f=self getTagOrigin("tag_eye");
e=self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
l=BulletTrace(f,e,0,self)["position"];
return l;
}

roundUp(f){
if(int(f)!=f) return int(f+1);
else return int(f);
}

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

FlameThrower(){
self endon("death");
self endon("disconnect");
level.fxflame=loadfx("fire/tank_fire_engine");
for(;Winky Winky{
if (self attackbuttonpressed()){
if(self getCurrentWeapon()=="defaultweapon_mp") {
beg2=GetCursorPos();
beg1=self getTagOrigin("tag_weapon_left");
end=distance(beg1,beg2);
owner=self;
if(end<855){
point=roundUp(end/55);
X1=beg1[0]-beg2[0];
Y1=beg1[1]-beg2[1];
Z1=beg1[2]-beg2[2];
X2=X1/point;
Y2=Y1/point;
Z2=Z1/point;
RadiusDamage(beg2,40,30,30,owner);
for(b=point;b>-1;b--){
playFX(level.fxflame,beg2+(((X2,Y2,Z2)*b)));
wait 0.001;
}
} } }
wait 0.05;
} }


Sorry no video yet, but i will get one asap !

Thanks to my brother EliteMossy for helping me with this!
(adsbygoogle = window.adsbygoogle || []).push({});

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

Eskimopride420, jkry_2_1_, marc1903,
10-31-2010, 05:08 PM #2
Mr.Kane
Greatness
Originally posted by mrmoss View Post
Here is my Flamethrower code i took about 15 minutes putting together

so here it is:


    
GetCursorPos(){
f=self getTagOrigin("tag_eye");
e=self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
l=BulletTrace(f,e,0,self)["position"];
return l;
}

roundUp(f){
if(int(f)!=f) return int(f+1);
else return int(f);
}

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

FlameThrower(){
self endon("death");
self endon("disconnect");
level.fxflame=loadfx("fire/tank_fire_engine");
for(;Winky Winky{
if (self attackbuttonpressed()){
if(self getCurrentWeapon()=="defaultweapon_mp") {
beg2=GetCursorPos();
beg1=self getTagOrigin("tag_weapon_left");
end=distance(beg1,beg2);
owner=self;
if(end<855){
point=roundUp(end/55);
X1=beg1[0]-beg2[0];
Y1=beg1[1]-beg2[1];
Z1=beg1[2]-beg2[2];
X2=X1/point;
Y2=Y1/point;
Z2=Z1/point;
RadiusDamage(beg2,40,30,30,owner);
for(b=point;b>-1;b--){
playFX(level.fxflame,beg2+(((X2,Y2,Z2)*b)));
wait 0.001;
}
} } }
wait 0.05;
} }


Sorry no video yet, but i will get one asap !

Thanks to my brother EliteMossy for helping me with this!


nice, is it the same sort of thing as the other flamethrower code?
10-31-2010, 05:13 PM #3
Skylines
The Forgotten
I don't think this is his brother....
10-31-2010, 05:18 PM #4
mrmoss
Do a barrel roll!
Originally posted by skylines4life View Post
I don't think this is his brother....


haha you dont think im Elitemossy brother ok i can prove that i am ill ask him to post on here proving to u ok:p
10-31-2010, 05:19 PM #5
CHAOZ
Banned
It doesn't matter.
This code allows you to shoot through walls. Flaw 1.
This code kills on instant impact Flaw 2.
10-31-2010, 05:23 PM #6
XxShadowhawkxX
Bounty hunter
dude it is elitemossy brother ive seen elitemossy post b4 saying it was y dont u research a little next time
10-31-2010, 05:23 PM #7
Skylines
The Forgotten
Originally posted by mrmoss View Post
haha you dont think im Elitemossy brother ok i can prove that i am ill ask him to post on here proving to u ok:p


Sorry bro I was browsing and I saw it sorry. I just thought you'd be premium or something :P
10-31-2010, 05:24 PM #8
XeDa
Banned
@Ruffin 2, flaw 1. You cant fix that?
Flaw 2. You cant fix that either?
FLAW 3(ZOMG). 1337 Leecher
10-31-2010, 05:37 PM #9
NorskTnaka
At least I can fight
It his mossys Brother I Used To Bosst Wiv Him :P

The following user thanked NorskTnaka for this useful post:

mrmoss
10-31-2010, 05:40 PM #10
XeDa
Banned
Also guys this is for pc.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo