Page MenuHomeFeedback Tracker
Feed Advanced Search

May 10 2016

ChuangTseu added a comment to T84872: Bug concerning the max mass load of a unit.

Well ok, no worries, I just thought that the maximum carrying capacity was decoupled from its effect on Fatigue or Stamina.

Won't hesitate to post again after this big 1.54 update (great work btw) if it still exists :)

May 10 2016, 12:19 PM · Arma 3
ChuangTseu edited Steps To Reproduce on T84872: Bug concerning the max mass load of a unit.
May 10 2016, 12:19 PM · Arma 3
ChuangTseu added a comment to T82622: Bitwise Operations.

Of course you can work it that way. That for sure would still be way ahead than continuous floating point modulo 2 then divide by 2 :)

And +1 for that, that's better than nothing.

But the command should clearly state that you are doing your bitwise stuff on the integer conversion of the passed float argument (bitXorAsInt ? intXor ?). Cause who knows, someone might want to use bitwise operation directly on the float bits to retrieve the mantissa or whatever.

So in the end, I personally think that this language missing simple 32bit signed integer is awful, and can only lead to such weird situations + lot of useless performance and precision problem. But the sad thing is, I understand their initial choice for a single SCALAR type, and how it would be hard to introduce integers now given their desire for retro compatibility.

My conclusion : still +1 for your idea via cast, but with explicit indication of this casting via a wise operator name.

May 10 2016, 11:10 AM · Arma 3
ChuangTseu added a comment to T82622: Bitwise Operations.

We'd obviously need a true Integer type for that, which might not be so much trivial to implement in their engine now that they've been relying on Floats in all their SQF codebase/api for so many years.

May 10 2016, 11:10 AM · Arma 3
ChuangTseu added a comment to T82105: The player object passed to "initPlayerServer.sqf" is sometimes null.

+1. I guess in the meantime it is wise to do it manually like this at the very beginning of "initPlayerLocal.sqf" :

_didJIP = _this select 1;
_didJIP spawn {
_didJIP = _this;
waitUntil { !isNull player };
[[[player,_didJIP],"initPlayerServer_bisBugfix.sqf"],"bis_fnc_execvm",false,false] call bis_fnc_mp;
};

May 10 2016, 10:52 AM · Arma 3
ChuangTseu added a comment to T77495: Commands loadAbs, loadBackpack, loadUniform, loadVest inconsistent.

A bit late on this issue.

So after some testing, I found that :

  • load returns a percentage of load (0 == empty, 1 == full)
  • loadAbs returns the mass value

Also, I've seen somewhere a developper explain that mass doesn't represent any classic SI unit of mass. It's more of a one-size-fits-all unit of measurement for its global volume plus true mass. So you might have ultralight objects, but if they take half a backpack volume, the arma mass value will represent this fact so you don't stack tons of them.

Finally, if it can interest you, be aware that currently the mass load handling seems inconsistent and buggy, as per my recent issue report found here : http://feedback.arma3.com/view.php?id=26506

May 10 2016, 8:27 AM · Arma 3