Author Topic: Exploding weapons  (Read 1124 times)

0 Members and 1 Guest are viewing this topic.

Offline Teh Elminator

  • Major(1)
  • Posts: 9
  • Look what a chainsaw does
Exploding weapons
« on: November 30, 2008, 06:19:49 pm »
Ok, I really need some help on this one. How can I make it to where a weapon blows up and kills me and anybody else nearby? I know how to mod the weapons and make an ak shoot shotgun pellets, but I dont know how to make a weapon explode.

Offline Snake

  • Soldier
  • **
  • Posts: 178
  • Chu Canadien Criss!
Re: Exploding weapons
« Reply #1 on: November 30, 2008, 06:25:27 pm »
Its funny that you dont know how to make a weapon explode...cuz I dont know eighter. ITS MAYBE BECAUSE IT CANT BE MADE or sum idk
« Last Edit: November 30, 2008, 06:32:31 pm by Snake »

Offline Teh Elminator

  • Major(1)
  • Posts: 9
  • Look what a chainsaw does
Re: Exploding weapons
« Reply #2 on: November 30, 2008, 06:29:06 pm »
Ok let me get this in a better way: I want a suicide bomb. I plan on changing the chainsaw into a bomb that when you hold the fire button it explodes like a suicide bomb. (Killing me and others around me) I have seen this before I just dont know how to do it.

Offline Snake

  • Soldier
  • **
  • Posts: 178
  • Chu Canadien Criss!
Re: Exploding weapons
« Reply #3 on: November 30, 2008, 06:37:23 pm »
Oh ok. well I dont realy "play" with the gun settings so I dont know that much. but I know that you have to go in the weapon config and change the number on the weapon you want to use (i'm not sure if it works with the saw) to change the bullet style and the speed and other settings

Offline LtKillroy

  • Flagrunner
  • ****
  • Posts: 779
  • Killroy was here
Re: Exploding weapons
« Reply #4 on: November 30, 2008, 06:46:04 pm »
Uhh, the way I would do it is change the bullet to M79 and set the bullet speed to 0. Avarax has coded something that blows you and everyone else around you up, but I'm not sure if he'll give it to you. I don't know what number the M79 bullet is.
L'audace, l'audace, toujours l'audace

Offline Teh Elminator

  • Major(1)
  • Posts: 9
  • Look what a chainsaw does
Re: Exploding weapons
« Reply #5 on: November 30, 2008, 06:52:05 pm »
Uhh, the way I would do it is change the bullet to M79 and set the bullet speed to 0. Avarax has coded something that blows you and everyone else around you up, but I'm not sure if he'll give it to you. I don't know what number the M79 bullet is.
Oh, now why didn't I think of that. Thanks for the help ill ask Avarax about it. If he doesnt give me it i just change the weapon settings. Which really is not that hard.

Offline Thinkto urself

  • Flagrunner
  • ****
  • Posts: 619
  • grrrrr
    • sup
Re: Exploding weapons
« Reply #6 on: November 30, 2008, 06:55:57 pm »
[Chainsaw]
Damage=2100
FireInterval=2
Ammo=10
ReloadTime=90
Speed=76
BulletStyle=4
StartUpTime=10
Bink=0
MovementAcc=1
Recoil=0

bleh

"An anomaly of the sea, shrouded in ubiquitous clouds, a mystery to the man as black holes to the world's smartest physicists"

Offline Teh Elminator

  • Major(1)
  • Posts: 9
  • Look what a chainsaw does
Re: Exploding weapons
« Reply #7 on: November 30, 2008, 07:39:22 pm »
[Chainsaw]
Damage=2100
FireInterval=2
Ammo=10
ReloadTime=90
Speed=76
BulletStyle=4
StartUpTime=10
Bink=0
MovementAcc=1
Recoil=0

bleh
thanks for that

Offline Lord Frunkamunch

  • Veteran
  • *****
  • Posts: 1418
  • DRR...DRR...DRR...
Re: Exploding weapons
« Reply #8 on: November 30, 2008, 09:52:15 pm »
Any explosive used with the knife or fist will make you instantly explode. Making the chainsaw an explosive bullet type will spawn an explosion a certain distance away from you depending on what you set the speed to (for example, a negative speed will cause an explosion behind you, higher numbers=further away)

If you want to make an explosion more powerful, don't change the damage of the knife/fist/chainsaw. Change the damage of the explosive weapon whose bullet you're using (i.e, if you set the chainsaw's bullet type to grenade, you'll have to mess with the grenade damage to affect your suicide bomb) If you want to change your suicide bomb's damage without affecting other weapons, just go with the flame arrow bullet type (because no one ever uses that)
I attend grammar school, last grade, and ignorance is all around me. Well, good for them. Ignorance is bliss.

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: Exploding weapons
« Reply #9 on: November 30, 2008, 11:27:00 pm »
Can be boosted with scripting to hurt people that are close to the person. Just check for damage by the gun and use the distance formula to calculate how much damage to do to other people.