DayZ
PvZmoD_CustomisableZombies
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" }; }; };
< >
Сообщения 13 из 3
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; 18 сен. 2022 г. в 14:59
Liven  [Разработчик] 19 сен. 2022 г. в 13: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.
Автор сообщения: 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.
< >
Сообщения 13 из 3
Показывать на странице: 1530 50