Changing Armor zones of Helmets/Facecover

  • Server version
    2.3.1
    Game client version
    0.12.12.17349
    Client log file
    codepaste.sp-tarkov.com/?e4910…ibM32TzQ9HgXrbq3hU44EcZTE
    BepInEx log file
    codepaste.sp-tarkov.com/?e4910…ibM32TzQ9HgXrbq3hU44EcZTE
    Server log file
    codepaste.sp-tarkov.com/?e4910…ibM32TzQ9HgXrbq3hU44EcZTE
    Have you read the FAQ?
    Yes
    Where did you download your game from?
    From teh official EfT Site
    List of used mods
    Super Heavy Trooper Mask hub.sp-tarkov.com/files/file/3…vy-trooper-mask/#overview
    Super Trooper (combined Slicks, Armored rigs and the facemasks) USED ONLY AS EXAMPLE HOW TO EDIT ARMOR

    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

    • Official Post

    this forum is for support issues only, if you would somewhere to chat to people like this, use discord and go to #Mods-development


    closing thread

    PLEASE DON'T DM ME FOR SUPPORT, UNLESS I ASK YOU TO, I WILL NOT ANSWER THEM.

    I DO NOW HAVE THE POWER TO BONK SO DON'T DO THE ABOVE!


    WEEWOO :kekw:

  • CWX

    Closed the thread.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!