It should start like below, the
set to whatever parameter you choose. if not based on humanity, remove the
also.
I have 3 options there, WardrobeBANDIT , WardrobeDayZ and WardrobeCustom.
If for example i want to add a "Hero Clothing" option to the "else" section, then i create a new line
just underneath "military clothing....". I also need to create a new "wardrobe" for the new option.
scroll down the code, and you will see 3 entries, looking like below;
In my example above they will be WardrobeCustom =, WardrobeDayz = and WardrobeBANDIT =.
to add the new hero wardrobe, simply add in ;
At the bottom of the last entry, but above "showCommandingMenu "#USER:wardrobe";"
to add more skins, just copy the HERO line, and paste just below it, changing the name "hero" and the file "hero.sqf"
Code:
if (_humanity < -2000) then {
Code:
_humanity = player getVariable ["humanity",0];
Code:
pathtoclothing = "skins\";
EXECscript1 = 'player execVM "'+pathtoclothing+'%1"';
_humanity = player getVariable ["humanity",0];
if (_humanity < -2000) then {
wardrobe =
[
["",true],
["Bandit Clothing", [2], "#USER:WardrobeBANDIT", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];} else {
wardrobe =
[
["",true],
["Civilian Clothing", [2], "#USER:WardrobeDayZ", -5, [["expression", ""]], "1", "1"],
["Military Clothing", [3], "#USER:WardrobeCustom", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
};
I have 3 options there, WardrobeBANDIT , WardrobeDayZ and WardrobeCustom.
If for example i want to add a "Hero Clothing" option to the "else" section, then i create a new line
Code:
["Hero Clothing", [4], "#USER:WardrobeHERO", -5, [["expression", ""]], "1", "1"],
scroll down the code, and you will see 3 entries, looking like below;
Code:
WardrobeCustom =
[
["",true],
["Rocket Uniform", [2], "", -5, [["expression", format[EXECscript1,"rocket.sqf"]]], "1", "1"],
["Desert Rocket Uniform", [3], "", -5, [["expression", format[EXECscript1,"desert_rocket.sqf"]]], "1", "1"],
["Desert Camo Clothing", [4], "", -5, [["expression", format[EXECscript1,"desert_clothes.sqf"]]], "1", "1"],
["Desert Soldier Uniform", [5], "", -5, [["expression", format[EXECscript1,"desert_soldier.sqf"]]], "1", "1"],
["Desert Green Uniform", [6], "", -5, [["expression", format[EXECscript1,"desert_green_soldier.sqf"]]], "1", "1"],
["US Soldier Uniform", [7], "", -5, [["expression", format[EXECscript1,"us_soldier.sqf"]]], "1", "1"],
["Czech Soldier Uniform", [8], "", -5, [["expression", format[EXECscript1,"czech_soldier.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
to add the new hero wardrobe, simply add in ;
Code:
WardrobeHERO =
[
["",true],
["Hero", [2], "", -5, [["expression", format[EXECscript1,"Hero.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
to add more skins, just copy the HERO line, and paste just below it, changing the name "hero" and the file "hero.sqf"