[Release] Fred's Wardrobe v1.0.2

Is perfect!! with the antihack what can do? (ah.sqf) who is not in the filter admin, does not see the weel

You need to add to the antihack in the part above dayz_actions it's RSCMenus or something I think anywho you need to add
Code:
 "#USER:WardrobeDayZ","#USER:WardrobeCustom","#USER:wardrobe"
somwhere after a comma
 
Hello, it is possible to add extra skin without rmod or sharing client?

thank you for your response.
 
I keep getting script restriction #0's every time I try to swap a different outfit.
Also, the tut telling me how to add new skins really didn't help because there was next to no detail to it.
Long story short, I'm trying to add: Soldier_TL_PMC as well as Soldier_Bodyguard_AA12_PMC
Then again, I'm not necessarily too "qualified" to figure this out, editing always screws me over because anything that CAN go wrong, does.
If possible, would someone be able to help me out with this script restriction? Or at LEAST adding the skins, because I have no idea how to approach that.
Thanks ahead of time.
-Reese
 
I keep getting script restriction #0's every time I try to swap a different outfit.
Also, the tut telling me how to add new skins really didn't help because there was next to no detail to it.
Long story short, I'm trying to add: Soldier_TL_PMC as well as Soldier_Bodyguard_AA12_PMC
Then again, I'm not necessarily too "qualified" to figure this out, editing always screws me over because anything that CAN go wrong, does.
If possible, would someone be able to help me out with this script restriction? Or at LEAST adding the skins, because I have no idea how to approach that.
Thanks ahead of time.
-Reese

Are you sure its not selectplayer restriction #0?

If so just replace first line in selectplayer.txt with this
Code:
5 "" !"SurvivorW2_DZ"  !"Survivor1_DZ" !"Survivor2_DZ" !"Survivor3_DZ" !"Sniper1_DZ" !"Camo1_DZ" !"BanditW1_DZ" !"Bandit1_DZ" !"SurvivorW2_DZ" !"Soldier1_DZ" !"Ins_Soldier_1" !"CDF_Soldier" !"CDF_Soldier_Militia" !"CDF_Soldier_AR" !"Citizen3" !"Worker1" !"Villager1" !"TK_CIV_Takistani01_EP1" !"TK_CIV_Takistani05_EP1" !"TK_INS_Soldier_EP1" !"CZ_Soldier_DES_EP1" !"US_Soldier_EP1" !"GER_Soldier_EP1" !"BAF_Soldier_MTP" !"BAF_Soldier_DDPM" !"BAF_Soldier_L_MTP" !"BAF_Soldier_L_DDPM" !"BAF_Soldier_Officer_MTP" !"BAF_Soldier_Officer_DDPM" !"BAF_Soldier_Sniper_MTP" !"BAF_Soldier_SniperH_MTP" !"BAF_Soldier_SniperN_MTP" !"Soldier_Crew_PMC"

All other skins are banned so you cant use them unless you are using Rmod.
 
I'm using rmod.
If it helps, I'll link what the setup looks like so far in the wardrobe_main.sqf

pathtoclothing = "wardrobe\clothing\";
EXECscript1 = 'player execVM "'+pathtoclothing+'%1"';
if ((getPlayerUID player) in ["#########"]) then {
wardrobe =
[
["",true],
["DayZ Clothing", [2], "#USER:WardrobeDayZ", -5, [["expression", ""]], "1", "1"],
["Custom Clothing", [3], "#USER:WardrobeCustom", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]

];} else {
wardrobe =
[
["",true],
["DayZ Clothing", [2], "#USER:WardrobeDayZ", -5, [["expression", ""]], "1", "1"],
["Custom Clothing", [3], "#USER:WardrobeCustom", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
};

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"]
];

WardrobeDayZ =
[
["",true],
["Male Suvivor", [2], "", -5, [["expression", format[EXECscript1,"survivor_male.sqf"]]], "1", "1"],
["Female Suvivor", [3], "", -5, [["expression", format[EXECscript1,"survivor_female.sqf"]]], "1", "1"],
["Male Bandit", [4], "", -5, [["expression", format[EXECscript1,"bandit_male.sqf"]]], "1", "1"],
["Female Bandit", [5], "", -5, [["expression", format[EXECscript1,"bandit_female.sqf"]]], "1", "1"],
["Camo Clothing", [6], "", -5, [["expression", format[EXECscript1,"camo_clothes.sqf"]]], "1", "1"],
["Ghillie Suit", [7], "", -5, [["expression", format[EXECscript1,"ghille.sqf"]]], "1", "1"],
["Soldier Uniform", [8], "", -5, [["expression", format[EXECscript1,"soldier.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

WardrobeFake =
[
["",true],
["Rocket Uniform", [2], "", -5, [["expression", format[EXECscript1,"fake.sqf"]]], "1", "1"],
["Desert Rocket Uniform", [3], "", -5, [["expression", format[EXECscript1,"fake.sqf"]]], "1", "1"],
["Desert Camo Clothing", [4], "", -5, [["expression", format[EXECscript1,"fake.sqf"]]], "1", "1"],
["Desert Soldier Uniform", [5], "", -5, [["expression", format[EXECscript1,"fake.sqf"]]], "1", "1"],
["Desert Green Uniform", [6], "", -5, [["expression", format[EXECscript1,"fake.sqf"]]], "1", "1"],
["US Soldier Uniform", [7], "", -5, [["expression", format[EXECscript1,"fake.sqf"]]], "1", "1"],
["Czech Soldier Uniform", [8], "", -5, [["expression", format[EXECscript1,"fake.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
showCommandingMenu "#USER:wardrobe";

["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Next page", [12], "#USER:pMC", -5, [["expression", ""]], "1", "1"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

PMC =
[
["",true],
["Team Coordinator", [2], "", -5, [["expression", format[EXECscript2,"Soldier_TL_PMC.sqf"]]], "1", "1"],
["Female Civilian", [3], "", -5, [["expression", format[EXECscript2,"CIV_EuroWoman02_EP1.sqf"]]], "1", "1"],
["Civilian", [4], "", -5, [["expression", format[EXECscript2,"CIV_Contractor2_BAF.sqf"]]], "1", "1"],
["'Murica", [5], "", -5, [["expression", format[EXECscript2,"CIV_Contractor1_BAF.sqf"]]], "1", "1"],
["PMC Sniper", [6], "", -5, [["expression", format[EXECscript2,"Soldier_Sniper_PMC.sqf"]]], "1", "1"],
["PMC Pilot", [7], "", -5, [["expression", format[EXECscript2,"Soldier_Pilot_PMC.sqf"]]], "1", "1"],
["Azn", [8], "", -5, [["expression", format[EXECscript2,"Ry_PMC.sqf"]]], "1", "1"],
["Rey", [9], "", -5, [["expression", format[EXECscript2,"Reynolds_PMC.sqf"]]], "1", "1"],
["Doctor", [10], "", -5, [["expression", format[EXECscript2,"Dr_Hladik_EP1.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];











It's probably way wrong, but that's what it is at the moment. Any corrections would be greatly appreciated.
Edit: I guess my question in the end will be, can I even add the skins from PMC when I have rMod installed?
 
5 ""! "SurvivorW2_DZ"! "Survivor1_DZ"! "Survivor2_DZ"! "Survivor3_DZ"! "Sniper1_DZ"! "Camo1_DZ"! "BanditW1_DZ"! "Bandit1_DZ"! "SurvivorW2_DZ"! "Soldier1_DZ"! "Ins_Soldier_1"! "CDF_Soldier "!" CDF_Soldier_Militia "!" CDF_Soldier_AR "!" Citizen3 "!" worker1 "!" Villager1 "!" TK_CIV_Takistani01_EP1 "!" TK_CIV_Takistani05_EP1 "!" TK_INS_Soldier_EP1 "!" CZ_Soldier_DES_EP1 "!" US_Soldier_EP1 "!" GER_Soldier_EP1 "!" BAF_Soldier_MTP "! "BAF_Soldier_DDPM"! "BAF_Soldier_L_MTP"! "BAF_Soldier_L_DDPM"! "BAF_Soldier_Officer_MTP"! "BAF_Soldier_Officer_DDPM"! "BAF_Soldier_Sniper_MTP"! "BAF_Soldier_SniperH_MTP"! "BAF_Soldier_SniperN_MTP"! "Soldier_Crew_PM
C"
hello, this is all clothing are available without Rmod?
 
Ok the past few days ive looked into scripts, i cannot see the tutorial of how to install this on my server. - A month ago i could see it, but now theres absolutely nothing telling me how to do this and that in any thread, nor this one. So i basically have no idea how to install this ?
 
I've been searching for a way to increase the 1 minute to 3 hours, so players can only change once every serversession, how would I do this?

And is there a way to let only newspawns get the option?
 
I've been searching for a way to increase the 1 minute to 3 hours, so players can only change once every serversession, how would I do this?

And is there a way to let only newspawns get the option?


got it working like 10 minutes after this post :/
 
The original DayZ skins working fine for me with scroll menu on Chernarus @bliss 1.7.7.1 but the custom skins are causing a kick - selectplayer restriction! I have no clue how to fix that. I read a couple of posts ago that I have to change the selectplayer.txt (in BE folder I think) but doesn't take effect. If someone knows, please let me know and pls mention the fitting pbo.

Thanks in advance for good hints.
 
I'm assuming the issue you are all having with the wardrobe not showing up every time you login is due to 1.7.7.1 taking a longer time to load your character into the game. If you go to the wardrobe_activate.sqf, you will see the following code.

Code:
waituntil {!isnull (finddisplay 46)};
sleep 15;
wardrobe = player addaction [("<t color=""#ff8810"">" + ("Wardrobe") +"</t>"),"wardrobe\wardrobe_execute.sqf","",5,false,true,"",""];

You may be able to fix the issue by extending the sleep command a bit. Try changing the code to the following.

Code:
waituntil {!isnull (finddisplay 46)};
sleep 30;
wardrobe = player addaction [("<t color=""#ff8810"">" + ("Wardrobe") +"</t>"),"wardrobe\wardrobe_execute.sqf","",5,false,true,"",""];

This may help the issue of the wardrobe option not appearing upon initial login. However, if your players start complaining about not getting the option after logging out and back in. Tell them to wait 30 seconds and see if it appears because you have added a delay for the scroll wheel option. I just woke up and haven't even wiped the sleep out of my eyes yet, so I hope this all makes sense haha.


You are awesome! This fixed our problems, no more dropping out to the lobby 4 or 5 times to try and get it to show. :)

Now just to go add the custom Oring skins in for our server.

EDIT: Ok, so I got the items from Oring added to the menu for my server, but when I try to change into them it transports me into the ocean miles away, leaving me in whatever clothes I was in before.
Never mind, turns out the place I got the outfit names from was wrong, got them working now. :)
 
Is there a method to continue the Menu Color Text throughout the entire sub-menu's? Would like to have the original "Wardrobe" color text inside the sub menus that follow..;)
 
Will work in origins? please say yes... and also how do i get the merc. cammo clothes back? as in vanilla origins but for origins (it is like baned).
 
After adding this to my server my players get teleported to debug 3 or 4 times and some times they spawn in invisible during this time no loot spawns no zombies spawn and sight and sound does not respond against there character and drink and food are stuck

i am wondering if anyone has this issue and what might cause this
 
Back
Top