DayZ
PvZmoD_CustomisableZombies
Durty AL 2022 年 9 月 18 日 下午 2:56
Fix: Headtorches Not Powered On Zombies
Make the following changes in config.bin:

class CfgPatches { class LIVEN_PvZmoD_CustomisableZombies { units[]= { "Headtorch_ColorBase" }; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "JM_CF_Scripts", "DZ_Characters", "DZ_Characters_Headgear" }; }; }; class CfgMods { class PvZmoD_CustomisableZombies { inputs="PvZmoD_CustomisableZombies/inputs.xml"; dir="PvZmoD_CustomisableZombies"; picture=""; action=""; hideName=1; hidePicture=1; name="PvZmoD_CustomisableZombies"; credits="0"; author="Liven"; authorID="0"; version=""; extra=0; type="mod"; dependencies[]= { "Game", "World", "Mission" }; class defs { class gameScriptModule { value=""; files[]= { "TestHumans/Scripts/Common", "0_DayZExpansion_AI_Preload/Common", "Dayz_Dog/Scripts/Common", "PvZmoD_TheDarkHorde/Scripts/Common", "PvZmoD_Spawn_System/Scripts/Common", "PvZmoD_CustomisableZombies/Scripts/Common", "PvZmoD_CustomisableZombies/Scripts/3_Game" }; }; class worldScriptModule { value=""; files[]= { "TestHumans/Scripts/Common", "0_DayZExpansion_AI_Preload/Common", "0_DayZExpansion_AI_Preload/Common", "Dayz_Dog/Scripts/Common", "PvZmoD_TheDarkHorde/Scripts/Common", "PvZmoD_Spawn_System/Scripts/Common", "PvZmoD_CustomisableZombies/Scripts/Common", "PvZmoD_CustomisableZombies/Scripts/4_World" }; }; class missionScriptModule { value=""; files[]= { "TestHumans/Scripts/Common", "0_DayZExpansion_AI_Preload/Common", "Dayz_Dog/Scripts/Common", "LinkYourDiscord/Scripts/Common", "PvzPanelManager/Scripts/Common", "PvZmoD_TheDarkHorde/Scripts/Common", "PvZmoD_Spawn_System/Scripts/Common", "PvZmoD_CustomisableZombies/Scripts/Common", "PvZmoD_CustomisableZombies/Scripts/5_Mission" }; }; }; }; }; class CfgVehicles { class Clothing_Base; class Clothing: Clothing_Base { }; class Switchable_Base; class Headtorch_ColorBase: Switchable_Base { inventorySlot[]= { "Eyewear", "Headgear" }; itemInfo[]= { "Clothing", "Headgear" }; }; };
< >
正在显示第 1 - 3 条,共 3 条留言
Durty AL 2022 年 9 月 18 日 下午 2:57 
NOTE!
be mindful of the directory path as well, this assumes the .pbo is the root
for a default fix, ensure all directory paths above are prefixed with:

LIVEN/

i.e.
"PvZmoD_CustomisableZombies/Scripts/4_World"
to
"LIVEN/PvZmoD_CustomisableZombies/Scripts/4_World"
最后由 Durty AL 编辑于; 2022 年 9 月 18 日 下午 2:59
Liven  [开发者] 2022 年 9 月 19 日 下午 1:17 
I already tried this solution, the problem is that it allows players to wear two heatorches at the same time (on the head and on the eyes slot) and I'm not sure it is a good idea.
Durty AL 2022 年 9 月 19 日 下午 3:43 
引用自 Liven
I already tried this solution, the problem is that it allows players to wear two heatorches at the same time (on the head and on the eyes slot) and I'm not sure it is a good idea.

Youre right... I wasnt even thinking about this.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50