dayz_anim config.cpp confusions!

Rossymond

Moderator
Staff member
Hi all, this is bugging me, obviously the
Code:
FakeWeapon {};
command converts said weapon or whatever into a a "fake" weapon.

Then why is this in the file

Code:
class m107: FakeWeapon {};

As can be seen in the lines below commenting out the line enables the weapon, so why does the m107 not get the comments?

Code:
//class Colt1911: FakeWeapon {};
//class DMR: FakeWeapon {};
//class M1014: FakeWeapon {};

Anyone got the answer?
 
Because it is under its own new class defined in the @dayz pbos. M107_DZ.

I believe it was to enable you to use backpacks with it, just like the other _DZ guns.
 
That was my original assumption, but I cannot find reference to it, it must be my tired eyes! I'll look through the files once more :)
 
Nevermind I found it.

Dayz_weapons config.bin

Code:
class M249;
    class M249_DZ: M249
    {
        type = "1";
    };
    class M240;
    class M240_DZ: M240
    {
        type = "1";
    };
    class Mk_48;
    class Mk_48_DZ: Mk_48
    {
        type = "1";
    };
    class M107;
    class M107_DZ: M107
 
Back
Top