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-01-2010, 11:24 AM #20
riotmost
The Bad Guy
Originally posted by Howard View Post
Nice Happy good post Winky Winky and MrMoss used to boost :carling: big step up to hacking =D


Howy have you seen mossys first ever thread Cool Man (aka Tustin) .you will be suprised Outie
11-01-2010, 11:31 AM #21
DEREKTROTTER
You're Goddamn Right
anyone got this working?
11-01-2010, 12:07 PM #22
Howdoh
NextGenHoward.
Originally posted by riotmost View Post
Howy have you seen mossys first ever thread Cool Man (aka Tustin) .you will be suprised Outie


No i havent but i will have a look now :carling:
11-01-2010, 04:43 PM #23
Meow
Former Staff
Nice. Looks good. We need a video. Someone recordSmile
11-01-2010, 05:00 PM #24
EliteMossy
TheDigitalBoard.com
Originally posted by Meow View Post
Nice. Looks good. We need a video. Someone recordSmile


Just wait im making one tonight, wont be the best because i dont have HD, but it will show the stuff in action.
11-01-2010, 05:23 PM #25
Meow
Former Staff
Originally posted by EliteMossy View Post
Just wait im making one tonight, wont be the best because i dont have HD, but it will show the stuff in action.


Nice can't wait to see it. It looks pretty cool.
11-01-2010, 05:44 PM #26
t0asty
Web Dev / Security
Why thank you. :black:

Id thank but im over my limit >.<
11-01-2010, 07:09 PM #27
colts
Treyarch is a FaiL!!<3
nicee postt hope to use it
11-02-2010, 12:36 AM #28
EliteMossy
TheDigitalBoard.com
so has anyone put this in there patch yet?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo