Shared by Happybro on August 8, 2017

As you may know from previous Status Reports, we scratched old firearms and melee implementations and started from the ground up to allow us fulfil our vision of having more control over firearms and melee fights, resulting in much better, authentic user experience. Both ranged and close combat have crucial role in DayZ, may it be in PvE or PvP encounters. Over the last few weeks, there was quite a lot of progress made in both combats, and now as things starts to look well enough, it’s a good time to talk about them and showcase them.

Ranged combat with firearms is defined by their handling and aiming models. So far on handling side, we have loading of firearms with either magazine or chambering directly with ammo from inventory, quick slots and even from the ground. Next is the mechanism manipulation itself, were you can feed ammo from a magazine to chamber in case of manual firearms, or eject ammo in automatic ones. It’s also used to un-jam the mechanism once it gets jammed by a casing not being ejected properly. We reintroduced zeroing and fire modes, as well as iron sights, though optics are not working now due to some issues we’re battling down the line (specifically switching to camera point on optic attachment, to be honest we have ran into some problems with attachments in general lately, as they are not in hierarchical order, so it will require some rewrite).

Aiming model of firearms is where the real fun begins. Currently, we have a new sway mechanic (yay, finally!) – it mimics breathing with constant vertical movement as well as corrections of hands direction with subtle random horizontal movement. It’s very effective and robust design solution which allows us to modify output by plenty of factors, like firearm attachments configuration, especially hand-guard and butt-stock, and its weight, character stance and movement, amount of stamina, overall character state with all that unpleasant things like low body temperature or diseases, and of course also the hold breath feature (yes, I’m not kidding).

Source: https://dayz.com/blog/status-report-8-august-2017

*