Flamethrower weapon is here!!!!!!
by The Brain (SA) · in ThinkTanks · 12/28/2003 (7:56 am) · 27 replies
On LC50's site there is a pic of his heavy tank with a flamethrower. This inspired me to have a go at making a flamethrower that actually did damage.(Either LC50's one was painted on or he alterred the muzzle flash graphic.)
Anyhoo, I have it all worked out except for one thing: I'm trying to make the stream of flame constant and i need the variable for the delay between shots. If you know this variable please tell me!!
Once I have that it's done and I will post the code on this thread so you all can use a flamethrower in your mod. Aren't I the nicest? :-)
Many thanks to LC50 for the inspitation.
Anyhoo, I have it all worked out except for one thing: I'm trying to make the stream of flame constant and i need the variable for the delay between shots. If you know this variable please tell me!!
Once I have that it's done and I will post the code on this thread so you all can use a flamethrower in your mod. Aren't I the nicest? :-)
Many thanks to LC50 for the inspitation.
#22
01/01/2004 (11:11 am)
Also, how do you make your default projectile be constant with no delay, defaultprojectile.delay=0??
#23
defaultprojectile.reloadtime = 0;
defaultprojectile.burstdelay = 0;
That should make it as constant as it gets.
01/01/2004 (12:52 pm)
Two lines of code for that:defaultprojectile.reloadtime = 0;
defaultprojectile.burstdelay = 0;
That should make it as constant as it gets.
#24
01/01/2004 (1:54 pm)
Ill post some pics of it in action. We were just making it rain fire!
#25
01/01/2004 (8:45 pm)
For some reason i dont have the flamethrower as the default projectile even tho i copied the lines exactly, it still shows up as the normal bullets and the flamethrower only works as a powerup, any suggestions? Any default.projectile function doesnt work for me, what could be wrong
#26
lighttank.defaultprojectile = "speedyprojectile";
mediumtank.defaultprojectile = "speedyprojectile";
heavytank.defaultprojectile = "speedyprojectile";
01/02/2004 (1:03 am)
Are you SURE you put in these lines of code?lighttank.defaultprojectile = "speedyprojectile";
mediumtank.defaultprojectile = "speedyprojectile";
heavytank.defaultprojectile = "speedyprojectile";
#27
01/04/2004 (5:51 pm)
It worked 4 me because i put in ded server mode and it worked.....but it didnt wen i created 1.
Da Bounce