Game Development Community

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.
Page «Previous 1 2
#1
12/28/2003 (11:04 am)
DONE!!! Here's the EXACT code I put in the .mis file:

lighttank.defaultprojectile = "speedyprojectile";
mediumtank.defaultprojectile = "speedyprojectile";
heavytank.defaultprojectile = "speedyprojectile";
speedyprojectile.resource = "game/data/shapes/common/VolcanoExplosion.jpg";
speedyprojectile.count = 5000;
speedyprojectile.burstcount = 5000;
speedyprojectile.velocity = 40;
speedyprojectile.reloadtime = 0;
speedyprojectile.burstdelay = 0;
speedyprojectile.sizeScale = 3;
defaultexplosion.startscale = 4;
defaultexplosion.endscale = 7;
#2
12/28/2003 (11:48 am)
Cool! I'll try it out :)

Cadc (sa)
#3
12/28/2003 (11:50 am)
If I may quote from the movie Apocalypse Now..........

Quote:I love the smell of napalm in the morning!!
#4
12/28/2003 (12:22 pm)
You mean the code? It goes at the end of the .mis file.
#5
12/28/2003 (2:23 pm)
Thx brain :)

cpt Rik
mine!!! :)
#6
12/28/2003 (2:25 pm)
It sooooo funny and powerful

phoenix
#7
12/28/2003 (4:36 pm)
Sweet....

Now if only i/you could make it a power up instead...
#8
12/28/2003 (5:36 pm)
If you take out the first three lines, then you will just have normal bullets by default, and the flamethrower should just be instead of the speedy powerup.

Nice effect Brain.

-Z-
#9
12/28/2003 (7:45 pm)
I like it ............. but it would be better if it actually LOOked like a flame thrower :)
#10
12/28/2003 (8:08 pm)
Aaaaawwwwwwwsssssooooooommmmmmmeeeeeee
my eye brows are gone, hehe

-ego-
#11
12/29/2003 (12:45 am)
@fleabuscuit
Put the code in any file and it will work. It doesn't matter which but it suits a frantic level best!

@-Z-
I'm thinking of changing the other two weapons as well. The bouncebacks are going to be mines which you can drop behind you to escape predators. The area effect......... well I was thinking about a homing missile but it would be WAY to complex. Unless, of couse, you are willing to help.

@Will Reeves
This is the best I could make it. You think YOU can do better? Be my guest!

server5.uploadit.org/files2/191203-brainpower.gif
#12
12/29/2003 (3:24 am)
Brain, can u send me the TankExplosion.alpha's, i kinda deleted em and now me explosions r square :(, o and the Volcano explosion


cpt Rik
Richard568@msn.com
#13
12/29/2003 (6:20 am)
LoL how did u manage THAT?

Ok, I sent 'em.
#14
12/30/2003 (8:12 am)
Pic of the action if you haven't played it yet:
server5.uploadit.org/files2/301203-flame.png
It's hard not to feel sorry for Jack Skelington!
#15
12/30/2003 (12:52 pm)
Can every1 c them or just u?
#16
12/30/2003 (1:22 pm)
Everyone can see them. The code doesn't just affect the bullet's visuals but also the speed and frequency of fire. If it only affected me it would be a bit unfair!
#17
12/30/2003 (1:43 pm)
Can every1 c them or just u?
#18
12/30/2003 (2:01 pm)
Phat ass shit yo, continue those new powerups, the game wouldn't be the same and that mod would be bad ass.
#19
12/30/2003 (2:10 pm)
@UF ZACH
I think I've already answered your question so you don't need to post it again.

@DA BOUNCE
I haven't seen you b4. Welcome to the forums!
Are you mocking my mod or praising it? I find it hard to understand "Gangster" speak, dispite the fact I'm into hiphop.
#20
12/30/2003 (3:20 pm)
He wantys u to keep makeing 'em.
Page «Previous 1 2