Zabn's Steal Skin - Add Skins

Total

Member
Hey guys so was just curious as to how I add additional skins to zabn's steal skin script.
Would it be something like this;

Code:
case "<SKIN CLASSNAME>": {
    _itemNew = "Survivor2_DZ";
};

under this;

Code:
case "Bandit1_DZ": {
    _itemNew = "Survivor2_DZ";
};
 
Looking at his script, you should have to add any skins. All that area of code does is act like a blacklist.
If you wanted say no one to be a hero, you would add the case to be the hero skin, and the item to the survivor skin or similar.

The only way I see the script not working is if the skin you are trying to take does not have an item package in CfgMagazines. In that case there is nothing you can do except make it give them a different skin instead.
 
Ah ok I see. Yea I changed the sarge skins a bit, and a few of them aren't compatible, like the FR_AC.
 
Ah ok I see. Yea I changed the sarge skins a bit, and a few of them aren't compatible, like the FR_AC.

What you can do is add for example
Code:
case "FR_AC": {
    _itemNew = "Soldier1_DZ";
};

Then the FR_AC will give a valid dayz soldier skin instead. You would have to do this for all the invalid classnames though.
 
Back
Top