I create a new mod based on private dayz 1.8.0.3
I want to add new skin for heroes and Bandit.
folder : dayz_code/configs/CfgVehicles in Skin.hpp
i add new class :
Folder dayz_code/configs/CfgMagazines
i add new class for skin
Folder : Dayz_code/init/variables.sqf
i add new skin variable
Heros1_DZ = "Heros1_DZ";
and in Allplayers
AllPlayers = ["SurvivorW2_DZ","Survivor2_DZ","Sniper1_DZ","Soldier1_DZ","Camo1_DZ","BanditW1_DZ","Bandit1_DZ","Survivor3_DZ","Heros1_DZ"];
In Dayz_anim
Folder : Cfgbanned
in file Cfgvehicles i remove banned skin with comment.
//class RU_Commander: Banned {};
But in game doesn't work i dont have skin. What have I forgotten ?
I want to add new skin for heroes and Bandit.
folder : dayz_code/configs/CfgVehicles in Skin.hpp
i add new class :
Code:
class RU_Commander;
class Heros1_DZ: RU_Commander {
displayName = "Heroes";
side = 1;
weapons[] = {"Throw","Put"};
backpack = "";
magazines[] = {};
respawnWeapons[] = {"Throw","Put"};
respawnMagazines[] = {};
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
canHideBodies = 1;
};
Folder dayz_code/configs/CfgMagazines
i add new class for skin
Code:
class Skin_Heros1_DZ : SkinBase {
displayName = "Heroes";
descriptionShort = "Heroes";
};
Folder : Dayz_code/init/variables.sqf
i add new skin variable
Heros1_DZ = "Heros1_DZ";
and in Allplayers
AllPlayers = ["SurvivorW2_DZ","Survivor2_DZ","Sniper1_DZ","Soldier1_DZ","Camo1_DZ","BanditW1_DZ","Bandit1_DZ","Survivor3_DZ","Heros1_DZ"];
In Dayz_anim
Folder : Cfgbanned
in file Cfgvehicles i remove banned skin with comment.
//class RU_Commander: Banned {};
But in game doesn't work i dont have skin. What have I forgotten ?