Jump to content

[Release] Arma & Overpoch Clothing 3.0 Updated.


Zupa

Recommended Posts

aaaaaah, give me a second :)

 

EDIT:

 

in player_switchModel:

 

replace this:

//Clear New Character
{_newUnit removeMagazine _x;} count  magazines _newUnit;
removeAllWeapons _newUnit;	

with this:

//Clear New Character
{_newUnit removeMagazine _x;} count  magazines _newUnit;
	removeAllWeapons _newUnit;	
	_newUnit removeWeapon "ItemRadio";
    _newUnit removeWeapon "ItemMap";
    _newUnit removeWeapon "ItemCompass";
    _newUnit removeWeapon "ItemWatch";
    _newUnit removeWeapon "ItemGPS";
    _newUnit removeWeapon "NVGoggles";
	

If this still not working try also this:

 

in player_monitor.fsm:

 

search for 

"dayzGearSave = false;" \n

and right above it:

"player removeWeapon ""ItemRadio"";" \n
		"player removeWeapon ""ItemMap"";" \n
		"player removeWeapon ""ItemCompass"";" \n
		"player removeWeapon ""ItemWatch"";" \n
		"player removeWeapon ""ItemGPS"";" \n
		"player removeWeapon ""NVGoggles"";" \n

so it looks something like this:

       "_usedFood = 0;" \n
       "_usedWater = 0;" \n
       "" \n
	   	"player removeWeapon ""ItemRadio"";" \n
		"player removeWeapon ""ItemMap"";" \n
		"player removeWeapon ""ItemCompass"";" \n
		"player removeWeapon ""ItemWatch"";" \n
		"player removeWeapon ""ItemGPS"";" \n
		"player removeWeapon ""NVGoggles"";" \n
       "dayzGearSave = false;" \n
       "_inventory call player_gearSet;" \n
Link to comment
Share on other sites

I have the original player_switchModel commented out, and I have this at the bottom of my compiles.

 

if (!isDedicated) then {

player_build = compile preprocessFileLineNumbers "custom\snap_pro\player_build.sqf";
snap_build = compile preprocessFileLineNumbers "custom\snap_pro\snap_build.sqf";
dayz_spaceInterrupt = compile preprocessFileLineNumbers "custom\snap_pro\dayz_spaceInterrupt.sqf";
player_unlockVault =            compile preprocessFileLineNumbers "custom\BuildVectors\compile\player_unlockVault.sqf";
    player_lockVault =          compile preprocessFileLineNumbers "custom\BuildVectors\compile\player_lockVault.sqf";
    fnc_SetPitchBankYaw =       compile preprocessFileLineNumbers "custom\BuildVectors\fnc_SetPitchBankYaw.sqf";
    DZE_build_vector_file =         "custom\BuildVectors\build_vectors.sqf";
    build_vectors =                 compile preprocessFileLineNumbers DZE_build_vector_file;
FillSkinList  = compile preprocessFileLineNumbers "custom\skins\getList.sqf";
ApplySkinList  = compile preprocessFileLineNumbers "custom\skins\changeClothes.sqf";
player_wearClothes  = compile preprocessFileLineNumbers "custom\skins\player_wearClothes.sqf"; 
player_switchModel  = compile preprocessFileLineNumbers "custom\skins\player_switchModel.sqf";
};
Link to comment
Share on other sites

  • 2 months later...

Hi, I can't change my skins... My mod: Epoch 1.0.5.1

 

When I try to put any skin a windows show but the list of clothes don't show up Ex. for clothes I try: Sergei, Civilian Clothing, Bandit Sniper, Bandit gunner, Marksman, etc....

 

My compile.sqf

https://www.dropbox.com/s/0b5tj5fxn51ox3o/compiles.sqf?dl=0

 

My variables.sqf

https://www.dropbox.com/s/ktrr7jhvdjwn8gp/variables.sqf?dl=0

 

My selfActions

https://www.dropbox.com/s/wzd2rex4lpcktev/fn_selfActions.sqf?dl=0

 

My switchModels

https://www.dropbox.com/s/utmy2qjuuvh5bfv/player_switchModel.sqf?dl=0

 

 

I add the two .hpp files in the description.ext

 

It's like the getList.sqf never showup.. By the way NO errors in rpt

same here....

Link to comment
Share on other sites

still problems

 

client rpt:

Error in expression <"",""];

};

} else {

player removeAction s_clothes;

s_clothes = -1;

};

_player_>

  Error position: <s_clothes;

s_clothes = -1;

};

 

Cannot create non-ai vehicle c_grasstall,

Error in expression <ems)then{

Men_Clothing  = Men_Clothing+ Clothing10;};

if("Skin_FR_Rodriguez_DZ" >

  Error position: <Clothing10;};

if("Skin_FR_Rodriguez_DZ" >

  Error Nicht definierte Variable in Ausdruck: clothing10

File mpmissions\__CUR_MP.chernarus\zupa\skins\getList.sqf, line 23

Error in expression <" in _playerItems)then{

Men_Clothing  = Men_Clothing +  ["Survivor2_DZ"];

};

if(>

  Error position: <Men_Clothing +  ["Survivor2_DZ"];

};

if(>

  Error Nicht definierte Variable in Ausdruck: men_clothing

File mpmissions\__CUR_MP.chernarus\zupa\skins\getList.sqf, line 92

Error in expression <Loaded";

{

lbAdd [20014, _x];

} foreach Men_Clothing;>

  Error position: <Men_Clothing;>

  Error Nicht definierte Variable in Ausdruck: men_clothing

File mpmissions\__CUR_MP.chernarus\zupa\skins\getList.sqf, line 115

Add s_clothes = -1; in dayz_resetSelfActions = { in veriables.sqf

Link to comment
Share on other sites

just started getting this problem when I try to change skin the menu appears then disappears before I have change to do anything but I am getting and error. 

 

RPT logs show nothing and I am using Infistar AH (if that makes any difference)

 

clothing_error.jpg

Link to comment
Share on other sites

  • 2 weeks later...

have this installed but have 1 issues which I am hoping can be sorted out, I also have SIngle Currency & Banking 1 installed and no problems with that.

 

1. Must remove Backpack to wear change clothes

 

Anyone got a fix for these please.

 

EDITED

Got this sorted removed

 

cutText ["You cannot change your Skin while wearing a backpack", "PLAIN"];
}else{                                          

 

from the changeclothes.sqf file and it works fine at the moment

Link to comment
Share on other sites

Hi People Installed this today, I get no errors in Either Client or Server RTP but when i choose a skin in my inventory and click wear, I get a menu up for about 1-2 seconds and it disapears before I can choose any skin with some text in bottom left of screen saying Items Loaded. Any idea what i need to check.

Straight install - Had to Diffmerge 2 files but still call them from this script  - player_wearClothes & player_switchModel - I have tried it with and without AH so I know its not the issue

thanks

MegaZ

Link to comment
Share on other sites

think it is the merge there is no need to merge them, that is what happen with me.

 

When I split them it worked fine.

 Hi Thanks Willids, I deleted both merged files and used originals and it worked so replaced and used my merged player_switchModel and it still worked ok so it was the player_wear clothes causing the problem as the one from here only has 2 lines.

 

What I would also like to do is remove the taking of skins from The AI i have on the server these all wear the Bandit Skins - Bandit2_DZ, Bandit1_DZ, BanditW1_DZ and BanditW2_DZ

 

Any idea if its possible ?? 

 

I have tried to remove these skins from the removeclothes.sqf on lines 48- 54 and line 20 but it still allows me to remove the dead AI clothes

 

Thanks

MegaZ

Link to comment
Share on other sites

I removed some taliban from the list (variables.sqf) I had to install so no one can use them as I have plans to use those from traders, upto now no one has got one but I am sure someone will put me straight if I am wrong.

 

You may also want to look at the AI code there may be something in there.

Link to comment
Share on other sites

Anyone found a solution for that buggy skins, where players could repair any vehicle via scroll menu without having the parts to repair ?!

 

It's not really that easy, Overwatch build the skin on the egineer skin. Which has free repairs to driving state.

 

You cannot edit vehicleconfigs ( players are vehicles) in mission file. So this is kindoff MOD level coding.

 

Unless someone finds a magical way to delete the option. ( I tried ALOT of ways.)

Link to comment
Share on other sites

Hey, sorry to revive an older thread, but after installing Plot for Life and Door Management, I'm getting these errors in my Client RPT.

 

I  have a feeling they have to do with the fact that there are no skins in the list when I go to change skins but I couldn't find any syntax errors.

 

Men_Clothing  = Men_Clothing + Clothing26;};


if("Skin_GUE_Soldier_CO_DZ>
  Error position: <Clothing26;};
if("Skin_GUE_Soldier_CO_DZ>
  Error Undefined variable in expression: clothing26
File mpmissions\__CUR_MP.chernarus\zupa\skins\getList.sqf, line 58
Error in expression <fucka!";
{
lbAdd [20014, _x];
} foreach Men_Clothing;>
  Error position: <Men_Clothing;>
  Error Undefined variable in expression: men_clothing
File mpmissions\__CUR_MP.chernarus\zupa\skins\getList.sqf, line 115
Error in expression <_version = productVersion select 3;
if (DayZ_UseSteamID) then {
_PID = GetPlayer>
  Error position: <DayZ_UseSteamID) then {
_PID = GetPlayer>
  Error Undefined variable in expression: dayz_usesteamid
File mpmissions\__CUR_MP.chernarus\custom\compiles.sqf, line 565
Error in expression <;

} else { 

 

Also, Plot Management seems to go away after I die but that's not relevant to this discussion.

Link to comment
Share on other sites

Hey, sorry to revive an older thread, but after installing Plot for Life and Door Management, I'm getting these errors in my Client RPT.

 

I  have a feeling they have to do with the fact that there are no skins in the list when I go to change skins but I couldn't find any syntax errors.

 

Men_Clothing  = Men_Clothing + Clothing26;};

if("Skin_GUE_Soldier_CO_DZ>

  Error position: <Clothing26;};

if("Skin_GUE_Soldier_CO_DZ>

  Error Undefined variable in expression: clothing26

File mpmissions\__CUR_MP.chernarus\zupa\skins\getList.sqf, line 58

Error in expression <fucka!";

{

lbAdd [20014, _x];

} foreach Men_Clothing;>

  Error position: <Men_Clothing;>

  Error Undefined variable in expression: men_clothing

File mpmissions\__CUR_MP.chernarus\zupa\skins\getList.sqf, line 115

Error in expression <_version = productVersion select 3;

if (DayZ_UseSteamID) then {

_PID = GetPlayer>

  Error position: <DayZ_UseSteamID) then {

_PID = GetPlayer>

  Error Undefined variable in expression: dayz_usesteamid

File mpmissions\__CUR_MP.chernarus\custom\compiles.sqf, line 565

Error in expression <;

} else { 

 

Also, Plot Management seems to go away after I die but that's not relevant to this discussion.

 

You messed up your variables.sqf file, there are missing variables

Link to comment
Share on other sites

Quote from first page : 

The scripts let u right click a clothing and give u a dialog to choose serveral linked skins to that specific skin. It shows you every possible skin you can have with your current inventory. No more trader needed. Make it harder to find a skin! 
 
You can change skin even when you are wearing a overwatch or arma skin!
 
It also allows you to pickup skins!
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...