NoCarDamage

Мод NoCarDamage для DayZ. Сейчас на 3 серверах RiseOfServers.

NoCarDamage – Vehicle & Passenger Damage Control

NoCarDamage you can disable or fine-tune damage for vehicles and players while inside vehicles.
Stop vehicles from taking crash damage, bullet damage, explosion damage, and more — and protect passengers and vehicle attachments as well.

The mod generates a config file on first start, so you can quickly enable/disable features globally and override them per vehicle class.
If you want player not drown from water damage, change Vanilla drown settings in cfggameplaysettings.json.
_______________________________________________________________


How the config works
On first run the mod generates:
$profile:NoCarDamage\NoCarDamage_Config.json

You can:
- Set global rules (apply to all vehicles)
- Enable VehicleOverrides to override rules per vehicle class
- Use AutoExtendVehicleOverrides to automatically populate overrides for new vehicles, do your changes and set it to 0 and it will delete all unneeded entries, to reduce impact on server perfomance.

Override values:
1 = enabled
0 = disabled
-1 = inherit the global setting
_______________________________________________________________



Vehicle Overrides

"EnableVehicleOverrides": 1 = Enables per-vehicle override rules.
"AutoExtendVehicleOverrides": 1 = Auto-adds missing vehicle classes into your override list (useful for modded vehicle packs).
AutoExtendVehicleOverrides needs to be set to 0 after you have done your changes, this will reduce the average tick time
If your server needs to read a big config at the start, it will have a high average tick time.
Set AutoExtendVehicleOverrides to 0 after you have done your changes. Your server will have a high tick time after the next restart, because it had to read the config and delete all unneeded entries.
Restart your server again with "AutoExtendVehicleOverrides": 0 to gain a minimal average tick time.

Example vehicles override
{
"ClassName": "Nissan_Skyline_White",
"Vehicle_BlockBullets": -1,
"Vehicle_BlockExplosions": -1,
"Vehicle_BlockMelee": -1,
"Vehicle_AllowGlassDamage": -1,
"Vehicle_DisableCrashDamage": -1,
"Vehicle_DisableWaterDamage": -1,
"Vehicle_BlockContaminated": 1,
"Player_BlockContaminatedWhileInVehicle": 1,
"Player_DoorOpenDisablesProtectionInContaminated": 1,
"Vehicle_DisableRedlineDamage": -1,
"Vehicle_BlockCrewCrashDamage": -1,
"Vehicle_EnableCrashSounds": -1,
"Vehicle_NoDamageToZombies": -1,
"Vehicle_NoDamageToAnimals": -1,
"Vehicle_NoDamageToPlayers": -1,
"Vehicle_NoDamageToExpansionAI": -1,
"Vehicle_AutoFlip": -1,
"Vehicle_DisableCrash_MaxSpeedKmh": -1.0,
"Player_NoDamageWhileInVehicle": 1,
"Player_BlockAllDamageWhileInVehicle": -1,
"Player_BlockBulletsWhileInVehicle": 1,
"Player_BlockExplosionsWhileInVehicle": 1,
"Player_BlockMeleeWhileInVehicle": 1,
"ExpansionAI_NoDamageWhileInVehicle": 1,
"ExpansionAI_BlockAllDamageWhileInVehicle": 1,
"ExpansionAI_BlockBulletsWhileInVehicle": 1,
"ExpansionAI_BlockExplosionsWhileInVehicle": 1,
"ExpansionAI_BlockMeleeWhileInVehicle": 1,
"ExpansionAI_BlockContaminatedWhileInVehicle": 1,
"ExpansionAI_DoorOpenDisablesProtectionInContaminated": 1,
"ExpansionAI_NoDamageAfterJumpFromVehicle": 1,
"Protect_AttachmentsOnVehicle": -1,
"Protect_PlayerClothingInVehicle": -1
},

_______________________________________________________________

Installation / Server Notes

Load it on the server like any other Workshop mod.

Works with vanilla vehicles and modded vehicles (using class names).
After the first start it generates a config file.
Change the settings how you like and restart the server.

Github
https://github.com/Blubberdiblupp/NoCarDamage

Monetization
You are allowed to use this mod on monetized severs, as long as you follow BI rules. No pay to win.

Repack, unpack, change for your own server etc. is allowed
You are not allowed to sell any part of this code or reupload it on the workshop (or anywhere else) as your own mod. You are allowed to make your own mod, but do not just reupload this mod, just add, change or delete as example 5 lines is not a own mod. Create as example NoCarDamagePlus as a own mod.


License
Blubberdiblupp/NoCarDamage is licensed under the
Mozilla Public License 2.0

Источник: Steam Workshop

Серверы с этим модом