How add New skin in 1.8.03 ?

Managu

New Member
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 :
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 ?
 
Are you launching ARMA with your mod? EG: @YourModName

Or if you simply mean that you have modified these files and want to use them with STANDARD Dayz, have you overridden these original files from loading and linked your custom ones?
 
Yes all is correct for mod
i have modified dayz_code.pbo and i run this mod whitout bisign , i have copied files on my server and my PC.
When i m in game i dont see my skin in 3rd person.
i have this error in arma2AO.rpt on my pc :
Code:
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/Heros1_DZ/
Unrecognized CfgVehicles simulation  in bin\config.bin/CfgVehicles/RU_Commander/
Cannot create entity with abstract type Heros1_DZ (scope = private?)
Cannot create non-ai vehicle Heros1_DZ,
"Swichtable Unit Created. Equipment:"
Which config.bin ??
 
in:
actions/player_wearClothes.sqf.

Add this:
case "Skin_Heros1_DZ": {
_model = "Heros1_DZ";
};
 
If you have issues with not being able to use backpacks add this to your new class def in CfgVehicles/Skins.hpp
canCarryBackPack = 1;
 
yes it's done , i have added the code in player_wearClothes.sqf

Perhaps i use skin form ARMA2 and not ARMA2 OA ?
 
replace
class RU_Commander;
class Heros1_DZ: RU_Commander {
with
class UN_CDF_Soldier_Light_EP1;
class Heros1_DZ: UN_CDF_Soldier_Light_EP1 {

Not working (unbanned in Cfgbanned)

replace
class RU_Commander;
class Heros1_DZ: RU_Commander {
with

class US_Delta_Force_EP1;
class Heros1_DZ: US_Delta_Force_EP1 {

WORKING (unbanned)

Why this skin work and not another ???
i dont understand,i have only change the name and unbanned
 
Back
Top