Jump to content

[Release] 1.0 Custom Skin Textures


Zupa

Recommended Posts

still getting kicked for restriction 0: 

edit: I am wearing worker skin when adding clicking Suit Up

 

5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVOZ_adminSkin"
5 "norrn" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRLact" !="norrnRALW" !="norrnRDead" !="PVOZ_adminSkin"
5 "usec" !="usecMorphine" !="usecBandage" !="usecBleed"
5 "PVDZE_" !"PVDZE_player" !="PVDZE_send" !="PVDZE_log_lockUnlock" !="PVDZE_Server_Simulation" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_obj_setlocalVars" !="PVDZE_obj_getlocalVars"
5 "PVAHR_" !"PVAHR_0_"
5 "remExFP" !="\"remExFP\" = \[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" !"\[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]"
5="player"
5="server"
5 "fnc_plyrHit"
1="PVAH_AdminReq"
1="PVAH_WriteLogReq"
1 "PVAHR_0_"
1 "Delete"
Link to comment
Share on other sites

 

still getting kicked for restriction 0: 

edit: I am wearing worker skin when adding clicking Suit Up

 

5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVOZ_adminSkin"
5 "norrn" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRLact" !="norrnRALW" !="norrnRDead" !="PVOZ_adminSkin"
5 "usec" !="usecMorphine" !="usecBandage" !="usecBleed"
5 "PVDZE_" !"PVDZE_player" !="PVDZE_send" !="PVDZE_log_lockUnlock" !="PVDZE_Server_Simulation" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_obj_setlocalVars" !="PVDZE_obj_getlocalVars"
5 "PVAHR_" !"PVAHR_0_"
5 "remExFP" !="\"remExFP\" = \[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" !"\[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]"
5="player"
5="server"
5 "fnc_plyrHit"
1="PVAH_AdminReq"
1="PVAH_WriteLogReq"
1 "PVAHR_0_"
1 "Delete"

 

Are you using Infistar as well?

If so what version? My Battleye has this.

Line 1 is //New

//new
5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="currentInvites" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVDZE_bank_Save" !="owner_B1" !="owner_B2" !="owner_B3" !="owner_H1" !="owner_H2" !="owner_H3" !="owner_SG" !="owner_LG" !="owner_KING" !="owner_SH" !="OriginsLockUnlock" !="PVOZ_adminSkin"
5 "norrn" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRLact" !="norrnRALW" !="norrnRDead"
5 "usec" !="usecMorphine" !="usecBandage" !="usecBleed"
5 "PVDZE_" !"PVDZE_player" !="PVDZE_send" !="PVDZE_log_lockUnlock" !="PVDZE_Server_Simulation" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_obj_setlocalVars" !="PVDZE_obj_getlocalVars" 
5 "PVAHR_" !"PVAHR_0_"
1 "PVAH"
5 "remExFP" !="\"remExFP\" = \[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" !"\[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]"
5="player"
5="server"
5 "fnc_plyrHit"
5 "AntiHack"
1 "Delete"
Link to comment
Share on other sites

I am also getting kicked for "PublicVariable Restriction #0"

 

My publicvariable.log - 20.10.2014 06:37:10: piXm8 (88.88.88.888:8888) 888888888888888888888888888888888 - #0 "PVOZ_adminSkin" = [<NULL-object>,"gui\admin.jpg"]

 

I have added the variable into the PublicVariable file on the first line, at the end with !="PVOZ_adminSkin"

 

It still kicks me, Is there something I have missed?

Link to comment
Share on other sites

I am also getting kicked for "PublicVariable Restriction #0"

 

My publicvariable.log - 20.10.2014 06:37:10: piXm8 (88.88.88.888:8888) 888888888888888888888888888888888 - #0 "PVOZ_adminSkin" = [<NULL-object>,"gui\admin.jpg"]

 

I have added the variable into the PublicVariable file on the first line, at the end with !="PVOZ_adminSkin"

 

It still kicks me, Is there something I have missed?

Very first line, or very first line with 5 "" ?

Needs to be on the end of the 5"" line as my file shows.

//new
5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="currentInvites" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVDZE_bank_Save" !="owner_B1" !="owner_B2" !="owner_B3" !="owner_H1" !="owner_H2" !="owner_H3" !="owner_SG" !="owner_LG" !="owner_KING" !="owner_SH" !="OriginsLockUnlock" !="PVOZ_adminSkin"
Link to comment
Share on other sites

guys it would be nice if you deleted your BE filters for security reasons, you know. People should be better off actually learning how they work, it's not that hard, instead of posting whole file here asking for obvious where answer was already given, just sayin.

 

Also keep in mind there are 2 files responsible for public variable kicks.

Link to comment
Share on other sites

 

Very first line, or very first line with 5 "" ?

Needs to be on the end of the 5"" line as my file shows.

//new
5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="currentInvites" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVDZE_bank_Save" !="owner_B1" !="owner_B2" !="owner_B3" !="owner_H1" !="owner_H2" !="owner_H3" !="owner_SG" !="owner_LG" !="owner_KING" !="owner_SH" !="OriginsLockUnlock" !="PVOZ_adminSkin"
5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="currentInvites" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !"cad_pvar_s" !="PVOZ_adminSkin"

That's what mine looks like. Same as yours I believe.

 

Also, thanks for your helpful, contributing words there, raymix. People wouldn't ask for help if it were so simple. I've read through this thread multiple times and have tried what has been suggested yet I still cannot fix it. I generally like to resolve issues myself, but when one asks for help on a forum, usually an appropriate response would be somewhat helpful.

Link to comment
Share on other sites

5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="currentInvites" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !"cad_pvar_s" !="PVOZ_adminSkin"

That's what mine looks like. Same as yours I believe.

 

Also, thanks for your helpful, contributing words there, raymix.

I've read through this thread multiple times and have tried what has been suggested yet I still cannot fix it. I generally like to resolve issues myself, but when one asks for help on a forum, usually an appropriate response would be somewhat helpful.

Sarcasm and a bs in one context, heh...

Bro no offence, I've been helping people as much as I could (I just prefer people tying to understand instead of copy/pasting code), the post you replied to is just me repeating myself for the third time in this topic. In fact I wasn't even replying to you as Frenzy's post should fix your issue. If it didn't then you are in the same basket as the other guy who instead of failing to see me pointing at line #44 posted a full fking vars filter so script kiddos could fix their hacks and asking someone else to change 5 to 1 in line #44...

 

Solution - http://epochmod.com/forum/index.php?/topic/19731-release-10-custom-skin-textures/?p=144115 (read trough it! you could have different line causing this)

 

 

Think I might do a tutorial on these when I get back home sometime soon, while filters are dead simple, guess it just does not click for everyone.

Link to comment
Share on other sites

Where can one get hold of all the Default Epoch skins.

Where is it located?

Or even if somebody can just link me to a default Ghillie Suit.

I would really like to edit and spice up that Suit for me ^^.

 

Thanks

 

EDIT:Ok I found where the ghillie suit is stored but it is in the format .paa

Anyway I can convert this to .jpg?

Link to comment
Share on other sites

 

EDIT:Ok I found where the ghillie suit is stored but it is in the format .paa

Anyway I can convert this to .jpg?

 

texview from bi tools 2.5, change extension as you file>save as to convert between formats, simple as that

my post in first page shows location for most skins

Link to comment
Share on other sites

  • 2 weeks later...

Aren't all this problems with getting kicked, because of the public variable solved if you just not use a public variable? ^^

 

Please correct me if this is in some way no good.

But isn't the point of using public variable unnecessary by executing this ONCE for the player object, which should be reskined.

player setVehicleInit "this setObjectTexture [0, 'gui\upg\admin.jpg'];";
processInitCommands;

Can be executed on the client pc or on the server, works both.

So far I am using this on my server for reskinning vehicles and player figures are nothing less than vehicles..

With this set on the player, everyone currently logged in, also everyone relogging or logging in new will see the new skin. Till now no problems found, at least no one I could backtrack to this script :D.

 

 

Other way by not changing your way of doing it, just not put the full path of your skin in the public variable, which i think is the cause of the battleye restrictions. Because the path includes not allowed phrases in it, like raymix quoted ;D

Solution - http://epochmod.com/forum/index.php?/topic/19731-release-10-custom-skin-textures/?p=144115 (read trough it! you could have different line causing this)

 

Just create an Array beforehand (means like in your variables.sqf) like

ChangeInSkinArray = [
"gui\upg\admin.jpg",
"custom\pics\heavyrocker.paa",
"some\really\important\SKIN.jpg"
];

Change following:

"PVOZ_adminSkin" addPublicVariableEventHandler {
		 _obj =  (_this select 1) select 0 ;
		 _colourNum =  (_this select 1) select 1;	
	                          _obj setObjectTexture [0, ChangeInSkinArray select _colourNum];
               	};
{
_adminated = _x getVariable ["adminated",0];
if( !isNil "_adminated" &&  _adminated != 0)then{
_x setObjectTexture [0, _x getVariable "adminatedSkinNum"];
};
}forEach playableUnits; // if your antihack doesnt allow this use nearestObjects[player, ["Survivor2_DZ"],25000];
adminskinning = {
_wantedSkinNum = 0;
PVOZ_adminSkin  =  [player , _wantedSkinNum];
publicVariable "PVOZ_adminSkin";
player setObjectTexture [0, ChangeInSkinArray select _wantedSkinNum]; // (to also see it yourself)
player setVariable["adminated",1,true];
player setVariable["adminatedSkinNum",_wantedSkinNum,true];
};

regards

Link to comment
Share on other sites

Is it possible to make multiple levels of skins? Say lowlevel admins (moderators in my case) would get a diff skin with the *mod* tag and diff color, normal admins would get an admin skin, and super admins would get like Super admin or owner tags etcetc (I know I am making 3 diff images atm...) so would it be possible?

Link to comment
Share on other sites

Is it possible to make multiple levels of skins? Say lowlevel admins (moderators in my case) would get a diff skin with the *mod* tag and diff color, normal admins would get an admin skin, and super admins would get like Super admin or owner tags etcetc (I know I am making 3 diff images atm...) so would it be possible?

yeah of course:

something like that:

in init.sqf         !!! change path and model

{
_moderated = _x getVariable ["moderated",0];
if( !isNil "_moderated" &&  _moderated != 0)then{
_x setObjectTexture [0, "scripts\gui\upg\moder.jpg"];
};
}forEach playableUnits; // if your antihack doesnt allow this use nearestObjects[player, ["Survivor2_DZ"],25000];

In infistar:

In menu of moder

 

		adminadd = adminadd + ["  Suit UP",moderskinning,"0","0","0","1",[0,0.8,1,1]];

and that after _adminskinning !!!!! !!! change path

	moderskinning = 
	{
		PVOZ_moderSkin  =  [player , "scripts\gui\upg\moder.jpg" ]; // (or color , "#(argb,1,1,1)color(0,0,0,1)" )
			publicVariable "PVOZ_moderSkin";
			player setObjectTexture [0, "scripts\gui\upg\moder.jpg"]; // (to also see it yourself)
			player setVariable["adminated",1,true];
	};

Done lol :3 

Link to comment
Share on other sites

yeah of course:

something like that:

in init.sqf         !!! change path and model

{
_moderated = _x getVariable ["moderated",0];
if( !isNil "_moderated" &&  _moderated != 0)then{
_x setObjectTexture [0, "scripts\gui\upg\moder.jpg"];
};
}forEach playableUnits; // if your antihack doesnt allow this use nearestObjects[player, ["Survivor2_DZ"],25000];

In infistar:

In menu of moder

 

		adminadd = adminadd + ["  Suit UP",moderskinning,"0","0","0","1",[0,0.8,1,1]];

and that after _adminskinning !!!!! !!! change path

	moderskinning = 
	{
		PVOZ_moderSkin  =  [player , "scripts\gui\upg\moder.jpg" ]; // (or color , "#(argb,1,1,1)color(0,0,0,1)" )
			publicVariable "PVOZ_moderSkin";
			player setObjectTexture [0, "scripts\gui\upg\moder.jpg"]; // (to also see it yourself)
			player setVariable["adminated",1,true];
	};

Done lol :3 

That was my guess I just was not sure hahahah! Thank you for clearing that up

Link to comment
Share on other sites

I tried changing one of the skin on here to my needs, and it seemed nice on photoshop. Ingame though its a diff story...
saving them in 512x512 on 7 quality on photoshop...

PHOTOSHOP OUTPUT (JPG):  http://prntscr.com/55ilzy

 

INGAME:  http://prntscr.com/55img8

 

 

Take note: the moderator skin which is green works perfectly fine and renders like the original file... I am lost right now!

Link to comment
Share on other sites

I tried changing one of the skin on here to my needs, and it seemed nice on photoshop. Ingame though its a diff story...

saving them in 512x512 on 7 quality on photoshop...

PHOTOSHOP OUTPUT (JPG):  http://prntscr.com/55ilzy

 

INGAME:  http://prntscr.com/55img8

 

 

Take note: the moderator skin which is green works perfectly fine and renders like the original file... I am lost right now!

 

what skin is that?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...