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
Sign in to follow this  
podgribas

Wall Health для бедных.

Recommended Posts

В общем.Сидел у нас как-то в конфе Alvares и в нашем чате был готовый мод на увеличение хп стройки который писал я собственноручно БЕСПЛАТНО для всех.

В связи с продажей отдаю вам его бесплатно.

 

Создавайте папку для мода. Создавайте файл "Config.cpp", заменяйте класс "raidplus_addon" на свой и если нужно меняйте колиество hitpoints на свои. [Тут примерно в 1.5 раза больше хп чем у ванилы]

class CfgPatches
{
	class raidplus_addon
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"DZ_Data","DZ_Gear_Camping","DZ_Scripts"};
	};
};
class CfgVehicles
{
	class Inventory_Base;
	class BaseBuildingBase: Inventory_Base{};

	class Fence: BaseBuildingBase
	{
		scope = 2;	
		class DamageSystem
		{
			class DamageZones
			{			
				class Wall_Base_Down
				{
					class Health
					{
						hitpoints = 28000;
					};
				};
				class Wall_Metal_Down
				{
					class Health
					{
						hitpoints = 32000;
					};
				};
				class Wall_Platform
				{
					class Health
					{
						hitpoints = 18000;
					};
				};
			};
		};
	};

	class Watchtower: BaseBuildingBase
	{
		scope = 2;
		class DamageSystem
		{
			class DamageZones
			{			
				class Level_1_Stairs
				{
					class Health
					{
						hitpoints = 7500;
					};
				};
				class Level_1_Wall_1_Base_Down
				{
					class Health
					{
						hitpoints = 28000;
					};
				};
				class Level_1_Wall_1_Wood_Down
				{
					class Health
					{
						hitpoints = 31000;
					};
				};
				class Level_1_Wall_1_Metal_Down
				{
					class Health
					{
						hitpoints = 32000;
					};
				};
				class Level_3_Roof
				{
					class Health
					{
						hitpoints = 19000;
					};
				};
			};
		};
	};
};

 

Edited by podgribas (see edit history)

Share this post


Link to post
Share on other sites



07.06.2021 в 00:38, podgribas сказал:

и если нужно меняйте колиество hitpoints на свои

Ставлю в 5 раз больше хп, и стены не разрушаются, в чем может быть проблема?

Share this post


Link to post
Share on other sites

параметры запуска смотрел?)
мб забыл убрать разрушаемость ?

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.