DayZ
PvZmoD_CustomisableZombies
Durty AL 18 Sep, 2022 @ 2:56pm
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" }; }; };
< >
Showing 1-3 of 3 comments
Durty AL 18 Sep, 2022 @ 2:57pm 
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"
Last edited by Durty AL; 18 Sep, 2022 @ 2:59pm
Liven  [developer] 19 Sep, 2022 @ 1:17pm 
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 19 Sep, 2022 @ 3:43pm 
Originally posted by 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.
< >
Showing 1-3 of 3 comments
Per page: 1530 50