I'm building a Namalsk server and I need to assign gender to the three skins Skin_Sniper1W_DZN, Skin_CamoWinterW_DZN, Skin_CamoWinter_DZN but I cannot see how to do it.
I added the skins to the arrays AllPlayers and DayZ_Male in custom variables but there is an extra step to assign gender to the skins.
I see in player_wearClothes.sqf there are these lines.
// Current sex of player skin
_currentSex = getText (configFile >> "CfgSurvival" >> "Skins" >> _itemNew >> "sex");
// Sex of new skin
_newSex = getText (configFile >> "CfgSurvival" >> "Skins" >> _item >> "sex");
Is there a file called CfgSurvival.hpp that I have to edit. I can't find one.
There is a file in the CfgVehicles folder called Skins.hpp but I don't see any reference to gender.
Question
JasonTM
I'm building a Namalsk server and I need to assign gender to the three skins Skin_Sniper1W_DZN, Skin_CamoWinterW_DZN, Skin_CamoWinter_DZN but I cannot see how to do it.
I added the skins to the arrays AllPlayers and DayZ_Male in custom variables but there is an extra step to assign gender to the skins.
I see in player_wearClothes.sqf there are these lines.
// Current sex of player skin _currentSex = getText (configFile >> "CfgSurvival" >> "Skins" >> _itemNew >> "sex"); // Sex of new skin _newSex = getText (configFile >> "CfgSurvival" >> "Skins" >> _item >> "sex");
Is there a file called CfgSurvival.hpp that I have to edit. I can't find one.
There is a file in the CfgVehicles folder called Skins.hpp but I don't see any reference to gender.
Do I just add them in Skins.hpp?
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now