Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe
-
Announcements
-
⚙️ Новые онлайн-инструменты для DayZ 07/26/26
-
- 0

Друзья, прошу помощи. Есть мод: @Yuretskiy Creatures. Перепаковывать нельзя, но автор предоставил кофиг, и предложил, цитирую: Для изменения ХП зомби вам необходимо в папке "Extras" найти файл config.cpp, там в строчке 18 (параметр "hitpoints= 200") изменить цифру на нужное вам количество.
По умолчанию класснейм зомби с обновленным ХП называется "YRTSK_ZMB_SWAT_YourSmale", вы можете назвать его, как вам удобно.
Делее необходимо мод с этим конфигом запаковать в свой PBO.
Собственно, вопрос: как это сделать? Мне с этим единственным файлом сделать ПБО и добавить как мод? Или что? Я уже что только не делал, и как только не прописывал. ХП увеличиваться не хочет.
class CfgPatches { class YRTSK_Creatures { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"DZ_Data", "DZ_Characters"}; }; }; class CfgVehicles { class YRTSK_ZMB_SWAT; class YRTSK_ZMB_Male; class YRTSK_ZMB_TShirt; class YRTSK_ZMB_Fitness_F; class YRTSK_ZMB_Fitness_F_2; class YRTSK_ZMB_Fat; class YRTSK_ZMB_SWAT_YourSample : YRTSK_ZMB_SWAT { scope = 2; hiddenSelectionsTextures[] = {"YRTSK_Creatures\ZMB_SWAT\data\Body_co.paa"}; class DamageSystem { class GlobalHealth { class Health { hitpoints= 200; healthLevels[] = {{1.0, {}}, {0.7, {}}, {0.5, {}}, {0.3, {}}, {0.0, {}}}; }; }; }; }; class YRTSK_ZMB_Male_YourSample : YRTSK_ZMB_Male { scope = 2; class DamageSystem { class GlobalHealth { class Health { hitpoints= 100; healthLevels[] = {{1.0, {}}, {0.7, {}}, {0.5, {}}, {0.3, {}}, {0.0, {}}}; }; }; }; }; class YRTSK_ZMB_TShirt_YourSample : YRTSK_ZMB_TShirt { scope = 2; class DamageSystem { class GlobalHealth { class Health { hitpoints= 120; healthLevels[] = {{1.0, {}}, {0.7, {}}, {0.5, {}}, {0.3, {}}, {0.0, {}}}; }; }; }; }; class YRTSK_ZMB_Fitness_F_YourSample : YRTSK_ZMB_Fitness_F { scope = 2; class DamageSystem { class GlobalHealth { class Health { hitpoints= 100; healthLevels[] = {{1.0, {}}, {0.7, {}}, {0.5, {}}, {0.3, {}}, {0.0, {}}}; }; }; }; }; class YRTSK_ZMB_Fitness_F_2_YourSample : YRTSK_ZMB_Fitness_F_2 { scope = 2; class DamageSystem { class GlobalHealth { class Health { hitpoints= 100; healthLevels[] = {{1.0, {}}, {0.7, {}}, {0.5, {}}, {0.3, {}}, {0.0, {}}}; }; }; }; }; class YRTSK_ZMB_Fat_YourSample : YRTSK_ZMB_Fat { scope = 2; class DamageSystem { class GlobalHealth { class Health { hitpoints= 500; healthLevels[] = {{1.0, {}}, {0.7, {}}, {0.5, {}}, {0.3, {}}, {0.0, {}}}; }; }; }; }; };Share this post
Link to post
Share on other sites