Posts by BlackWolf41

    Dear SPT AKI Community,

    I tried to finetune a bit on the mod of the heavy trooper Mask, because i still got onetapped frontally by scavs, since they hit my ears (Hitbox) So i tried to modify the Trooper mask but it wouldnt work - here the cutout of the original file:


    // change item properties

    item._id = i_id;

    item._props.BackgroundColor = i_color;

    item._props.Prefab.path = i_path;

    item._props.armorClass = 8;

    item._props.Durability = 160;

    item._props.MaxDurability = 160;

    item._props.Weight = 1.112;


    Thats the original code, and i tried to finetune it, so it looks like that:


    // change item properties

    item._id = i_id;

    item._props.BackgroundColor = i_color;

    item._props.Prefab.path = i_path;

    item._props.armorClass = 4;

    item._props.Durability = 50;

    item._props.MaxDurability = 50;

    item._props.armorZone.push("Top", "Eyes", "Jaws", "Ears", "LowerNape", "Nape");

    item._props.Weight = 1.5;


    What am i doing wrong? it takes nearly all the changes, but not the changes of the armor zone?


    To know how i got there - i took for that "item._props.armorZone.push("Top", "Eyes", "Jaws", "Ears", "LowerNape", "Nape"); " the stuff i found in the 'superslick' -JS file, which looks like that:


    //change item properties

    item._id = i_id;

    item._props.Durability = 160;

    item._props.MaxDurability = 160;

    item._props.armorClass = 8;

    item._props.armorZone.push("LeftArm", "RightArm", "Stomach");

    item._props.Weight = 9.1;



    And i found out, that it works even by adding the different other zones like: " item._props.armorZone.push("LeftArm", "RightArm", "Chest", "Stomach", "LeftLeg", "RightLeg"); " and it worked ingame. So i tried it as you can see for the facecover, but it wouldnt work. What I'm doing wrong? Thanks for your time and effort :)


    Greetings