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,
11-02-2010, 12:42 AM #29
IVThaKiller
Gym leader
Originally posted by EliteMossy View Post
What you mean for PC only? Have you ****ing tried it? Stop posting useless bullshit.


Don't be blind. He is saying it works for PC as well. Smart ass.
11-02-2010, 11:11 AM #30
Justin
Juzzy Dee Music
How do u use it on ps3? if i can learn how 2 make a patch ill add it
11-02-2010, 10:08 PM #31
mrmoss
Do a barrel roll!
so does anyone like this
11-02-2010, 11:02 PM #32
Rath
Today Will Be Different
Originally posted by mrmoss View Post
so does anyone like this


Yea its pretty badass Smile

The following user thanked Rath for this useful post:

mrmoss
11-08-2010, 01:29 PM #33
ben10sucks
Save Point
nice man i use that its ****ing epic:rolleyes:

The following user thanked ben10sucks for this useful post:

mrmoss
11-08-2010, 03:03 PM #34
mrmoss
Do a barrel roll!
Originally posted by ben10sucks View Post
nice man i use that its ****ing epic:rolleyes:


good to hear that mate
11-10-2010, 11:58 AM #35
ben10sucks
Save Point
Originally posted by mrmoss View Post
good to hear that mate
are you actually mossy's brother ? :Sad Awesomebro:
11-15-2010, 01:25 AM #36
all you really have to do is take the radius down a bit and the damage down a bit :L
11-20-2010, 09:00 AM #37
Janiboy
☆ janiboy95 ☆
nice tool^^ thx

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo