Author Topic: Weapon Modding - Bulletstyle problems  (Read 891 times)

0 Members and 1 Guest are viewing this topic.

Offline Wannas

  • Major(1)
  • Posts: 14
Weapon Modding - Bulletstyle problems
« on: August 04, 2009, 09:54:32 pm »
I am making a set of modded weapons for (yet another) zombie mod and I was trying to circumvent the 'infinite Spas' glitch by disabling the Spas and then changing the M79 into an 'auto shotgun' of sorts. At first it seemed to work okay but when I started shooting other players, on a direct hit an explosion appears (as if an M79 shot was fired along with the spas pellets). It also kills them regardless of whether they would take lethal damage from the spas pellets and shows up on the kill log as an M79 kill.

I did further testing (against bots) and if the spas pellets manage to pierce through a first target the second target may also be hit by an M79 shell.

This sure looks like a helluva awesome gun, but I'd like to know how to fix it >.<
Here are my settings for the M79:
Code: [Select]
[M79]
Damage=119
FireInterval=32
Ammo=8
ReloadTime=220
Speed=139
BulletStyle=3
StartUpTime=0
Bink=0
MovementAcc=1
Recoil=0

Thanks in advance.

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: Weapon Modding - Bulletstyle problems
« Reply #1 on: August 05, 2009, 05:15:11 am »
That is just how the m79 works, there is no way to chage it. And the infanite spaz 'glitch' is a feture imo.


Offline Wannas

  • Major(1)
  • Posts: 14
Re: Weapon Modding - Bulletstyle problems
« Reply #2 on: August 05, 2009, 06:10:50 am »
I'm pretty sure you can change the BulletStyle of the M79...at least I've always been able to (in Fistbox servers).
I've also done some more testing in the meantime. Something weird is that if I kill a bot which is on top of me the explosion appears (which would normally kill me) but I respawn almost instantly (with full health and ammo to boot). Perhaps it could be something to do with my network settings (maybe the server and client are sticking to different weapon mods or something?)


Offline nuclearrambo

  • Major
  • *
  • Posts: 76
Re: Weapon Modding - Bulletstyle problems
« Reply #3 on: August 05, 2009, 06:59:19 am »
yus. was tested on my server. And the explosions happen randomly.

Offline Wannas

  • Major(1)
  • Posts: 14
Re: Weapon Modding - Bulletstyle problems
« Reply #4 on: August 05, 2009, 07:21:38 am »
So now that we've both tested the mod (and had a few scripts up to test damage and stuff) I can conclude that:
-The M79 explosion only occurs whenever you kill someone with the M79.
-The explosion causes no damage. (Not sure about the central '1-hit' bullet though)
-Modded M79s using the Spas bulletstyle (3) have 12 individual pellets according to my damage script (which WriteConsole'd me for every bullet). This is why it was 1-hit killing rather than an 'invisible M79 projectile' being fired at the same time as the Spas pellets.

I haven't tested the explosions with LAW (or Flamebow since it autobans players with it) yet. But I'm still wondering whether this issue can be fixed/resolved or whether it will be a permanent function I'll have to work around.