DayZ
PvZmoD_CustomisableZombies
 此主题已被置顶,因此可能具有重要性
Liven  [开发者] 2022 年 4 月 22 日 下午 11:34
How to set back the vanilla suppressor characteristics
If not done you have to create a custom mod for your server and include a config.cpp file containing this code:
class CfgPatches { class DZ_Weapons_Muzzles_PvzCZ_modified { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "DZ_Weapons_Muzzles_PvzCZ" }; }; }; class cfgVehicles { class ItemSuppressor; class ImprovisedSuppressor: ItemSuppressor { noiseShootModifier=-0.80000001; class DamageSystem { class GlobalHealth { class Health { hitpoints=1; }; }; }; }; class M4_Suppressor: ItemSuppressor { noiseShootModifier=-0.89999998; class DamageSystem { class GlobalHealth { class Health { hitpoints=4; }; }; }; }; class AK_Suppressor: ItemSuppressor { noiseShootModifier= -0.89999998; class DamageSystem { class GlobalHealth { class Health { hitpoints=4; }; }; }; }; class PistolSuppressor: ItemSuppressor { noiseShootModifier=-0.89999998; class DamageSystem { class GlobalHealth { class Health { hitpoints=5; }; }; }; }; class Groza_Barrel_Suppressor: ItemSuppressor { noiseShootModifier=-0.89999998; class DamageSystem { class GlobalHealth { class Health { hitpoints=4; }; }; }; }; class MakarovPBSuppressor: ItemSuppressor { noiseShootModifier=-0.89999998; class DamageSystem { class GlobalHealth { class Health { hitpoints=5; }; }; }; }; class Aug_Barrel: ItemSuppressor { noiseShootModifier=-0.89999998; }; };

Don't forget to delete this config.cpp if you don't use PvZmoD CZ anymore or your server will not start.

If you don't know how to create a custom mod I recommend you to look at the tutos of this guy: https://www.youtube.com/watch?v=HCBckFJPrMk&list=PLm6NfdQ3NmL9OBmbN-tl99F70bvzm6u7M&ab_channel=Spurgle%27sPlayground
最后由 Liven 编辑于; 2022 年 4 月 22 日 下午 11:37
< >
正在显示第 1 - 1 条,共 1 条留言
Derk 2022 年 4 月 23 日 下午 7:15 
I actually did end up doing this after trying all the ideas. But at least others could do this if they need to. Thanks.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50