ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Mortar HE rounds bug

Open gienkov opened this issue 11 years ago • 10 comments

ACE3 Version: 3.0.0

Mods:

  • @cba_a3
  • @ace3

Placed ACE3 Modules: None

Description: Shooting HE round make player hurt and cause recoil, other rounds does not.

Steps to reproduce: Place vanilla mortar. Start shooting HE rounds, some will hurt you, all of them will cause recoil and jiggle whole mortar with player inside. Almost like in Alpha/Beta times. Switch to smoke or flare rounds, start shooting, no recoil at all.

Where did the issue occur? Singleplayer

RPT log file: Inside RPT I have found only this that looks suspicious: 11:41:23 Ammo class Sh_82mm_AMOS lacks proper explosive properties definitions for frag!

gienkov avatar Apr 15 '15 09:04 gienkov

I am familiar with this issue. RPT log will not show anything relevant.

Could you please check if it also occures with advanced medical enabled or only basic?

thojkooi avatar Apr 15 '15 09:04 thojkooi

https://www.youtube.com/watch?v=lGrcGkW_bmI <- probably this.

thojkooi avatar Apr 15 '15 10:04 thojkooi

Yeah, happens on Advanced medical too, but looks like less often?

gienkov avatar Apr 15 '15 10:04 gienkov

This happens in vanilla, but is more noticable in ACE because of medical system.

https://github.com/acemod/ACE3/pull/384 - should fix

PabstMirror avatar Apr 15 '15 16:04 PabstMirror

Is this the same issue I had with auto grenade launchers?

commy2 avatar Apr 15 '15 16:04 commy2

Is this the same issue I had with auto grenade launchers?

Probably, although you may have been hit be a frag

nicolasbadano avatar Apr 15 '15 16:04 nicolasbadano

This is really hard to reproduce. Does anyone have a good repro case?

jaynus avatar Apr 15 '15 19:04 jaynus

This is fixed by #384

To reproduce:

  • Place mortar on stratis airfield runway.
  • Jump into mortar, do not move sight.
  • Fire round.

To best debug this, attach a handleDamage eventhandler. player addEventhandler ["handleDamage", { hintsilent format["HandleDamage: %1", _this]; diag_log format["handleDamage: %1", _this]; }];

Using vehicle player setMass 250 will fix it.

thojkooi avatar Apr 17 '15 19:04 thojkooi

Should we setMass on all static weapons via a getIn handler?

jaynus avatar Apr 17 '15 23:04 jaynus

We could. The PR I referenced does it on init for local static weapons.

thojkooi avatar Apr 18 '15 08:04 thojkooi