Mortar HE rounds bug
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!
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?
https://www.youtube.com/watch?v=lGrcGkW_bmI <- probably this.
Yeah, happens on Advanced medical too, but looks like less often?
This happens in vanilla, but is more noticable in ACE because of medical system.
https://github.com/acemod/ACE3/pull/384 - should fix
Is this the same issue I had with auto grenade launchers?
Is this the same issue I had with auto grenade launchers?
Probably, although you may have been hit be a frag
This is really hard to reproduce. Does anyone have a good repro case?
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.
Should we setMass on all static weapons via a getIn handler?
We could. The PR I referenced does it on init for local static weapons.