Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 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 servers
  • Don'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
  • 0
Sign in to follow this  
Сергей161

Не могу запаковать конфиг

Друзья, прошу помощи. Есть мод: @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

3 answers to this question

Recommended Posts

MagicByte MagicByte MagicByte
  • 0
4 часа назад, Сергей161 сказал:

Разобрался. Если можно, удалите вопрос.

Ну конечно, именно так форуму же и работают. Расскажи хоть, как решил.

Share this post


Link to post
Share on other sites
  • 0
15 часов назад, Horus сказал:

Ну конечно, именно так форуму же и работают. Расскажи хоть, как решил.

Баг Стима. Нужно было мод опубликовать и тут же обновить. Получается он как-то криво публиковался, из-за чего мод просто не работал. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Поддержка