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
sqvrl

Отключение урона по заборам

Доброго времени суток.
Подскажите, как можно отключить получение урона по заборам, но при этом оставить возможность их разборки с внутренней стороны?
Нигде не могу найти информацию по этому поводу.
Заранее спасибо!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

cfggameplay.json в твоей mpmission

 

"disableBaseDamage": 1

В server.cfg вписать: 

enableCfgGameplayFile = 1;

 

Share this post


Link to post
Share on other sites



  • 0
1 час назад, akklin сказал:

cfggameplay.json в твоей mpmission

 

"disableBaseDamage": 1


"disableBaseDamage": 1

В server.cfg вписать: 

enableCfgGameplayFile = 1;


enableCfgGameplayFile = 1;

 

Это же отключит урон по всем постройкам, нет разве?

Share this post


Link to post
Share on other sites
  • 0

Не совсем корректно задал вопрос, нужно отключить урон по заборам, но при этом чтобы можно было рейдить ворота с замком.

Share this post


Link to post
Share on other sites
  • 0
1 час назад, sqvrl сказал:

Не совсем корректно задал вопрос, нужно отключить урон по заборам, но при этом чтобы можно было рейдить ворота с замком.

мб как-то вот так

class CfgVehicles
{
	class Inventory_Base;
	class BaseBuildingBase: Inventory_Base{};

	class Fence: BaseBuildingBase
	{
		class DamageSystem
		{
			class GlobalHealth
			{
				class Health
				{
					hitpoints=10000;
				};
			};
			class DamageZones
			{
				class Wall_Base_Down
				{
					class Health
					{
						hitpoints = 10000;
					};
					class ArmorType
					{
						class Projectile
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class Melee
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class FragGrenade
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
					};
				};
				class Wall_Base_Up: Wall_Base_Down
                {
				};
				class Wall_Wood_Down
				{
					class Health
					{
						hitpoints = 10000;
					};
					class ArmorType
					{
						class Projectile
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class Melee
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class FragGrenade
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
					};
				}
				class Wall_Wood_Up: Wall_Wood_Down
				{
				};
				class Wall_Metal_Down
				{
					class Health
					{
						hitpoints = 10000;
					};
					class ArmorType
					{
						class Projectile
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class Melee
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class FragGrenade
						{
							class Health
							{
								damage=0;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
					};
				};
				class Wall_Metal_Up: Wall_Metal_Down
                {
				};
				class Wall_Gate
				{
					class Health
					{
						hitpoints = 10000;
					};
					class ArmorType
					{
						class Projectile
						{
							class Health
							{
								damage=1;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class Melee
						{
							class Health
							{
								damage=1;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
						class FragGrenade
						{
							class Health
							{
								damage=5;
							};
							class Blood
							{
								damage=0;
							};
							class Shock
							{
								damage=0;
							};
						};
					};
				};
	        };
		};
	};
};

 

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

×
×
  • 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.