From 6cdd1ce6434300616121ec2b9f875977d6b58adb Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 24 Jan 2024 19:15:05 +0000 Subject: [PATCH] Improve PMC bot gear filtering --- project/assets/configs/bot.json | 77 +++++++++++++------- project/assets/database/bots/types/bear.json | 21 ++++-- project/assets/database/bots/types/usec.json | 17 +++-- 3 files changed, 76 insertions(+), 39 deletions(-) diff --git a/project/assets/configs/bot.json b/project/assets/configs/bot.json index 2c089b31..37e81f3b 100644 --- a/project/assets/configs/bot.json +++ b/project/assets/configs/bot.json @@ -1066,7 +1066,8 @@ } } ], - "weightingAdjustmentsByBotLevel": [{ + "weightingAdjustmentsByBotLevel": [ + { "levelRange": { "min": 1, "max": 14 @@ -1103,7 +1104,8 @@ "5c3df7d588a4501f290594e5": 30 }, "Caliber9x39": { - "57a0dfb82459774d3078b56c": 15 + "57a0dfb82459774d3078b56c": 10, + "6576f96220d53a5b8f3e395e": 14 }, "Caliber12g": { "5d6e6806a4b936088465b17e": 20 @@ -1116,7 +1118,6 @@ "equipment": { "add": { "TacticalVest": { - "5e4abc1f86f774069619fbaa": 220, "6034d0230ca681766b6a0fb5": 150, "6034cf5fffd42c541047f72e": 150 }, @@ -1143,6 +1144,8 @@ "628dc750b910320f4c27a732": 5 }, "TacticalVest": { + "64be7095047e826eae02b0c1": 200, + "5e4abc1f86f774069619fbaa": 220, "628d0618d1ba6e4fa07ce5a4": 1, "628b9c7d45122232a872358f": 1, "628b9784bcf6e2659e09b8a2": 1, @@ -1155,8 +1158,7 @@ "572b7adb24597762ae139821": 250, "544a5caa4bdc2d1a388b4568": 50, "5929a2a086f7744f4b234d43": 150, - "64be7095047e826eae02b0c1": 55, - "64be7110bf597ba84a0a41ea": 45 + "64be7110bf597ba84a0a41ea": 65 }, "Headwear": { "5a7c4850e899ef00150be885": 240, @@ -1177,7 +1179,7 @@ "5ae08f0a5acfc408fb1398a1": 90, "5bfd297f0db834001a669119": 90, "5447a9cd4bdc2dbd208b4567": 50, - "5926bb2186f7744b1c6c6e60": 120, + "5926bb2186f7744b1c6c6e60": 110, "58948c8e86f77409493f7266": 50, "5fc3e272f8b6a877a729eac5": 60, "5644bd2b4bdc2d3b4c8b4572": 80, @@ -1192,7 +1194,8 @@ "5a38e6bac4a2826c6e06d79b": 90, "5ea03f7400685063ec28bfa8": 50, "627e14b21713922ded6f2c15": 1, - "6275303a9f372d6ea97f9ec7": 1 + "6275303a9f372d6ea97f9ec7": 1, + "6499849fc93611967b034949": 50 }, "SecondPrimaryWeapon": { "5e81ebcd8e146c7080625e15": 0 @@ -1218,12 +1221,12 @@ "add": {}, "edit": { "body": { - "5cc0858d14c02e000c6bea66": 10, - "5cde95d97d6c8b647a3769b0": 10 + "5cc0858d14c02e000c6bea66": 20, + "5cde95d97d6c8b647a3769b0": 20 }, "feet": { - "5cc085bb14c02e000e67a5c5": 10, - "5cde95ef7d6c8b04713c4f2d": 10 + "5cc085bb14c02e000e67a5c5": 20, + "5cde95ef7d6c8b04713c4f2d": 20 } } } @@ -1389,19 +1392,28 @@ "equipment": { "edit": { "ArmorVest": { - "5ab8e79e86f7742d8b372e78": 40, - "5c0e541586f7747fa54205c9": 40, - "5ca2151486f774244a3b8d30": 40, - "5ca21c6986f77479963115a7": 40, - "5e9dacf986f774054d6b89f4": 40, - "5f5f41476bdad616ad46d631": 40, + "5ab8e79e86f7742d8b372e78": 50, + "5c0e541586f7747fa54205c9": 50, + "5ca2151486f774244a3b8d30": 50, + "5ca21c6986f77479963115a7": 50, + "5e9dacf986f774054d6b89f4": 50, + "5f5f41476bdad616ad46d631": 50, - "5e4abb5086f77406975c9342": 60, - "5fd4c474dd870108a754b241": 60, - "6038b4b292ec1c3103795a0b": 60, - "6038b4ca92ec1c3103795a0d": 60, - "60a283193cb70855c43a381d": 60, - "545cdb794bdc2d3a198b456a": 60 + "5e4abb5086f77406975c9342": 70, + "5fd4c474dd870108a754b241": 70, + "6038b4b292ec1c3103795a0b": 70, + "6038b4ca92ec1c3103795a0d": 70, + "60a283193cb70855c43a381d": 70, + "545cdb794bdc2d3a198b456a": 70, + "5c0e625a86f7742d77340f62": 70, + "5b44cf1486f77431723e3d05": 70, + + "5c0e655586f774045612eeb2": 25, + "5c0e53c886f7747fa54205c7": 10, + "5c0e51be86f774598e797894": 10, + "5c0e57ba86f7747fa141986d": 10, + "609e8540d5c319764c2bc2e9": 10, + "64abd93857958b4249003418": 10 }, "TacticalVest": { "5b44cad286f77402a54ae7e5": 70, @@ -1411,7 +1423,11 @@ "628b9c7d45122232a872358f": 70, "609e860ebd219504d8507525": 35, - "628cd624459354321c4b7fa2": 65 + "628cd624459354321c4b7fa2": 65, + "628d0618d1ba6e4fa07ce5a4": 65, + + "5df8a42886f77412640e2e75": 50, + "5648a69d4bdc2ded0b8b457b": 45 }, "Headwear": { "5aa7e4a4e5b5b000137b76f2": 60, @@ -1424,7 +1440,16 @@ "5c17a7ed2e2216152142459c": 65, "5f60c74e3b85f6263c145586": 50 - } + }, + "Backpack": { + "5df8a4d786f77412672a1e3b": 10, + "5f5e46b96bdad616ad46d613": 10, + "5ab8ebf186f7742d8b372e80": 10, + "639346cc1c8f182ad90c8972": 10 + }, + "FaceCover": { + "657089638db3adca1009f4ca": 10 + } } } } @@ -1970,7 +1995,7 @@ "lighthouse": 22, "rezervbase": 20, "interchange": 20, - "laboratory": 18, + "laboratory": 20, "tarkovstreets": 26, "sandbox": 22, "default": 16 diff --git a/project/assets/database/bots/types/bear.json b/project/assets/database/bots/types/bear.json index 05e26c68..0fc311ca 100644 --- a/project/assets/database/bots/types/bear.json +++ b/project/assets/database/bots/types/bear.json @@ -2681,8 +2681,8 @@ "5cc86840d7f00c002412c56c": 3 }, "Caliber68x51": { - "6529243824cbe3c74a05e5c1": 1, - "6529302b8c26af6326029fb7": 1 + "6529243824cbe3c74a05e5c1": 7, + "6529302b8c26af6326029fb7": 10 }, "Caliber762x25TT": { "5736026a245977644601dc61": 1, @@ -2754,7 +2754,9 @@ "5a269f97c4a282000b151807": 10, "5a26abfac4a28232980eabff": 5, "5a26ac06c4a282000c5a90a8": 4, - "5a26ac0ec4a28200741e1e18": 8 + "5a26ac0ec4a28200741e1e18": 8, + "6576f4708ca9c4381d16cd9d": 4, + "6576f93989f0062e741ba952": 8 }, "Caliber9x33R": { "62330b3ed4dc74626d570b95": 1, @@ -2765,7 +2767,8 @@ "57a0e5022459774d1673f889": 8, "5c0d668f86f7747ccb7f13b2": 3, "5c0d688c86f77413ae3407b2": 3, - "61962d879bb3d20b0946d385": 5 + "61962d879bb3d20b0946d385": 5, + "6576f96220d53a5b8f3e395e": 1 } }, "equipment": { @@ -7929,6 +7932,12 @@ ] }, "5ac8d6885acfc400180ae7b0": { + "Helmet_back": [ + "657f8f10f4c82973640b2350" + ], + "Helmet_top": [ + "657f8ec5f4c82973640b234c" + ], "mod_equipment_000": [ "5a16badafcdbcb001865f72d", "5a16b672fcdbcb001912fa83", @@ -7948,9 +7957,7 @@ "5c0558060db834001b735271", "5a16b8a9fcdbcb00165aa6ca", "5ac8d6885acfc400180ae7b0" - ], - "Helmet_top": ["657f8ec5f4c82973640b234c"], - "Helmet_back": ["657f8f10f4c82973640b2350"] + ] }, "5addbac75acfc400194dbc56": { "mod_muzzle": [ diff --git a/project/assets/database/bots/types/usec.json b/project/assets/database/bots/types/usec.json index 7380ce0b..e71cdbd6 100644 --- a/project/assets/database/bots/types/usec.json +++ b/project/assets/database/bots/types/usec.json @@ -2678,8 +2678,8 @@ "5cc86840d7f00c002412c56c": 3 }, "Caliber68x51": { - "6529243824cbe3c74a05e5c1": 1, - "6529302b8c26af6326029fb7": 1 + "6529243824cbe3c74a05e5c1": 7, + "6529302b8c26af6326029fb7": 10 }, "Caliber762x25TT": { "5736026a245977644601dc61": 1, @@ -2750,8 +2750,10 @@ "Caliber9x21": { "5a269f97c4a282000b151807": 10, "5a26abfac4a28232980eabff": 5, + "6576f93989f0062e741ba952": 8, "5a26ac06c4a282000c5a90a8": 4, - "5a26ac0ec4a28200741e1e18": 8 + "5a26ac0ec4a28200741e1e18": 8, + "6576f4708ca9c4381d16cd9d": 4 }, "Caliber9x33R": { "62330b3ed4dc74626d570b95": 1, @@ -2762,7 +2764,8 @@ "57a0e5022459774d1673f889": 8, "5c0d668f86f7747ccb7f13b2": 3, "5c0d688c86f77413ae3407b2": 3, - "61962d879bb3d20b0946d385": 5 + "61962d879bb3d20b0946d385": 5, + "6576f96220d53a5b8f3e395e": 1 } }, "equipment": { @@ -2886,7 +2889,8 @@ "5e54f76986f7740366043752": 2, "5fd8d28367cb5e077335170f": 5, "60a7ad2a2198820d95707a2e": 2, - "62a09dd4621468534a797ac7": 2 + "62a09dd4621468534a797ac7": 2, + "657089638db3adca1009f4ca": 2 }, "FirstPrimaryWeapon": { "5447a9cd4bdc2dbd208b4567": 4, @@ -3131,7 +3135,8 @@ "64a536392d2c4e6e970f4121": 25, "64a5366719bab53bd203bf33": 25, "64be7095047e826eae02b0c1": 5, - "64be7110bf597ba84a0a41ea": 15 + "64be7110bf597ba84a0a41ea": 15, + "5e4abc1f86f774069619fbaa": 15 } }, "items": {