Jump to content
boyd

[Release] Skin Trader 0.6 (Buy any arma skin)

Recommended Posts

I have finally made a release able version of my skin trader, it is far from being done but it works great.

 

The skin trader has all skins from Arma but if your on Overpoch or any other Addons on your server, you can easily add the skins to the list of either men or woman clothing.

Before you buy a new skin you have to make sure your not wearing a backpack, once you bought a skin you can no longer use the epoch skins to change into any other skin you need to buy the skin on top of the list to do this again.

 

As this is not a final release any bugs or problems are all welcome and i will try to solve them.

 

Video

https://www.youtube.com/watch?v=M85nF3Ve698

 

Q&A

Q: Are the skins persistent after restart?

A: Yes

 

 

Installation:

 

Download link here.

 

1. Open description.ext at very bottom add this:

//Skin Trader
#include "Skin_Trader\dialog\common.hpp"
#include "Skin_Trader\dialog\SkinGui.hpp"

2. Open your custom variables and change this:

//Model Variables
Bandit1_DZ = 	"Bandit1_DZ";
Bandit2_DZ = 	"Bandit2_DZ";
BanditW1_DZ = 	"BanditW1_DZ";
BanditW2_DZ = 	"BanditW2_DZ";
Survivor1_DZ = 	"Survivor2_DZ";
Survivor2_DZ = 	"Survivor2_DZ";
SurvivorW2_DZ = "SurvivorW2_DZ";
SurvivorW3_DZ = "SurvivorW2_DZ";
Sniper1_DZ = 	"Sniper1_DZ";
Camo1_DZ = 		"Camo1_DZ";
Soldier1_DZ = 	"Soldier1_DZ";
Rocket_DZ = 	"Rocket_DZ";

AllPlayers = ["Survivor2_DZ","SurvivorWcombat_DZ","SurvivorWdesert_DZ","SurvivorWurban_DZ","SurvivorWsequishaD_DZ","SurvivorWsequisha_DZ","SurvivorWpink_DZ","SurvivorW3_DZ","SurvivorW2_DZ","Bandit1_DZ","Bandit2_DZ","BanditW1_DZ","BanditW2_DZ","Soldier_Crew_PMC","Sniper1_DZ","Camo1_DZ","Soldier1_DZ","Rocket_DZ","Rocker1_DZ","Rocker2_DZ","Rocker3_DZ","Rocker4_DZ","Priest_DZ","Functionary1_EP1_DZ","GUE_Commander_DZ","Ins_Soldier_GL_DZ","Haris_Press_EP1_DZ","Pilot_EP1_DZ","RU_Policeman_DZ","pz_policeman","pz_suit1","pz_suit2","pz_worker1","pz_worker2","pz_worker3","pz_doctor","pz_teacher","pz_hunter","pz_villager1","pz_villager2","pz_villager3","pz_priest","Soldier_TL_PMC_DZ","Soldier_Sniper_PMC_DZ","Soldier_Bodyguard_AA12_PMC_DZ","Drake_Light_DZ","CZ_Special_Forces_GL_DES_EP1_DZ","TK_INS_Soldier_EP1_DZ","TK_INS_Warlord_EP1_DZ","FR_OHara_DZ","FR_Rodriguez_DZ","CZ_Soldier_Sniper_EP1_DZ","Graves_Light_DZ","GUE_Soldier_MG_DZ","GUE_Soldier_Sniper_DZ","GUE_Soldier_Crew_DZ","GUE_Soldier_CO_DZ","GUE_Soldier_2_DZ","TK_Special_Forces_MG_EP1_DZ","TK_Soldier_Sniper_EP1_DZ","TK_Commander_EP1_DZ","RU_Soldier_Crew_DZ","INS_Lopotev_DZ","INS_Soldier_AR_DZ","INS_Soldier_CO_DZ","INS_Bardak_DZ","INS_Worker2_DZ"];

To this:

AllPlayers set [count AllPlayers, "Bandit1_DZ",
					"Bandit2_DZ",
					"BanditW1_DZ",
					"BanditW2_DZ",
					"Survivor2_DZ",
					"SurvivorW2_DZ",
					"Sniper1_DZ",
					"Camo1_DZ",
					"Soldier1_DZ",
					"Rocket_DZ"];

3. Now look for this in your Mission.sqm

    class Groups
    {
        items=2;

Change it to:

	class Groups
	{
		items=3;

Now look for this at around line 1155:

		class Item1
		{
			side="LOGIC";
			class Vehicles
			{
				items=1;
				class Item0
				{
					position[]={8810.7705,138.52499,11751.518};
					id=50;
					side="LOGIC";
					vehicle="FunctionsManager";
					leader=1;
					lock="UNLOCKED";
					skill=0.60000002;
				};
			};
		};

After the "};" add this:

		class Item2
		{
			side="GUER";
			class Vehicles
			{
				items=1;
				class Item0
				{
					position[]={6303.8,0.001,7795.03};//Trader City Stary
					azimut=138.222;
					special="NONE";
					id=101;
					side="GUER";
					vehicle="UN_CDF_Soldier_SL_EP1";
					leader=1;
					skill=0.60000002;
					init="this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;this enableSimulation false;this setcaptive true;this addAction [""Men Clothing"",""Skin_Trader\open_dialog.sqf""];this addAction [""Women Clothing"",""Skin_Trader\open_dialog2.sqf""]";
				};
			};
		};

4. Now copy the Skin_Trader to your MPMissions folder.

 

 

Infistart FIX

 

Open AHconfig.sqf and find this:

/*  ALLOWED Dialogs       */ _ALLOWED_Dialogs = [-1,106,2200,6900,6901,6902,6903,420420,41144];

Change it to this:

/*  ALLOWED Dialogs       */ _ALLOWED_Dialogs = [-1,106,2200,6900,6901,6902,6903,420420,41144,20001,20002,20003,20004,20005,20006];

Future Plans:

 

The ability to preview the skin with a better camera view.

 

Change log:

 

0.6

Removed all the clothing from men and woman that are being used by traders from any map.

Removed all woman clothing that din't work, only civilian left now.

 

Credits:

 

Original script: http://www.armaholic.com/page.php?id=12113

Share this post


Link to post
Share on other sites

Do all the female skins work? Most of them break the inventory system.

 

 hope so as i know ther civys so there not boned and aminated for guns and sustch :(

 

This is arma skins so there is no way to fix this, so all the skins that break your inventory or don't do the animations right have to be removed.

Share this post


Link to post
Share on other sites

Trader does not appear  :huh:

only thing I changed was the position

 

class Item1
{
side="LOGIC";
class Vehicles
{
items=1;
class Item0
{
position[]={-143.93861,0.52647489,2319.5012};
id=50;
side="LOGIC";
vehicle="FunctionsManager";
leader=1;
lock="UNLOCKED";
skill=0.60000002;
};
};
};
class Item2
{
side="GUER";
class Vehicles
{
items=1;
class Item0
{
position[]={12568,14556.9,0.064};//Chrveni Gradok
azimut=65;
special="NONE";
id=101;
side="GUER";
vehicle="USMC_LHD_Crew_Yellow";
leader=1;
skill=0.60000002;
init="this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;this enableSimulation false;this setcaptive true;this addAction [""Men Clothing"",""Skin_Trader\open_dialog.sqf""];this addAction [""Women Clothing"",""Skin_Trader\open_dialog2.sqf""]";
};
};
};
};

Share this post


Link to post
Share on other sites

RPT Error if someone logs into the server:

2014/06/07, 18:42:31 [DZMS]: (DZMSUnitsMinor) 9 AI Spawned, 9 units in mission.
2014/06/07, 18:42:33 [DZMS]: (DZMSUnitsMinor) Waiting for 9/9 Units or Less to be Alive and a Player to be Near the Objective.
2014/06/07, 18:44:43 "STARTING LOGIN: ["88354822",B 1-1-A:1 (Andreas) REMOTE]"
2014/06/07, 18:44:43 "LOGIN ATTEMPT: "########" blaaaaa"
2014/06/07, 18:44:43 "LOGIN RESULT: ["PASS",false,"941",[DIR,[XX,YY,ZZ]],[["ItemMap","ItemToolbox","Binocular_Vector","ItemRadio","ItemFlashlightRed","ItemGPS","ItemHatchet_DZE","NVGoggles","MakarovSD","ItemKeyKit","ItemKnife","ItemEtool","ItemCrowbar","ItemCompass","ItemMatchbox_DZE","SCAR_L_STD_Mk4CQT"],["ItemBriefcase70oz","ItemGoldBar4oz","ItemBriefcaseS80oz","ItemSilverBar2oz","ItemBandage","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov","ItemBandage","ItemBandage","ItemBandage","ItemBandage"]],["DZ_CivilBackpack_EP1",[[],[]],[[],[]]],[0,995,995],"FR_Rodriguez_DZ",0.96]"

2014/06/07, 18:44:43 Error in expression <r = _primary select 8;
if (!(_model in AllPlayers)) then {
_model = "Survivor2_>
2014/06/07, 18:44:43 Error position: <AllPlayers)) then {
_model = "Survivor2_>
2014/06/07, 18:44:43 Error Undefined variable in expression: allplayers
2014/06/07, 18:44:43 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 53

2014/06/07, 18:44:44 Server: Object 8:10 not found (message 70)
2014/06/07, 18:44:44 SetFace error: class CfgFaces.RodriguezHead.Facegrover_EP1 not found
2014/06/07, 18:44:44 Error: Error during SetFace - class CfgFaces.RodriguezHead.Facegrover_EP1 not found
2014/06/07, 18:44:44 "LOGIN PUBLISHING: B 1-1-E:1 (blaaaaa) REMOTE Type: FR_Rodriguez_DZ"

the line changed in variables.sqf :

AllPlayers set [count AllPlayers, "Bandit1_DZ","Bandit2_DZ","BanditW1_DZ","BanditW2_DZ","Survivor2_DZ","SurvivorW2_DZ","Sniper1_DZ","Camo1_DZ","Soldier1_DZ","Rocket_DZ"];

Share this post


Link to post
Share on other sites

I changed both //Model Variables and all players to the single 

AllPlayers set [count AllPlayers, "Bandit1_DZ","Bandit2_DZ","BanditW1_DZ","BanditW2_DZ","Survivor2_DZ","SurvivorW2_DZ","Sniper1_DZ","Camo1_DZ","Soldier1_DZ","Rocket_DZ"];

as instructed and it works great

Share this post


Link to post
Share on other sites

I changed both //Model Variables and all players to the single 

AllPlayers set [count AllPlayers, "Bandit1_DZ","Bandit2_DZ","BanditW1_DZ","BanditW2_DZ","Survivor2_DZ","SurvivorW2_DZ","Sniper1_DZ","Camo1_DZ","Soldier1_DZ","Rocket_DZ"];

as instructed and it works great

404 instructions not clear, blew up my house :o

thx

Share this post


Link to post
Share on other sites

 

RPT Error if someone logs into the server:

2014/06/07, 18:42:31 [DZMS]: (DZMSUnitsMinor) 9 AI Spawned, 9 units in mission.
2014/06/07, 18:42:33 [DZMS]: (DZMSUnitsMinor) Waiting for 9/9 Units or Less to be Alive and a Player to be Near the Objective.
2014/06/07, 18:44:43 "STARTING LOGIN: ["88354822",B 1-1-A:1 (Andreas) REMOTE]"
2014/06/07, 18:44:43 "LOGIN ATTEMPT: "########" blaaaaa"
2014/06/07, 18:44:43 "LOGIN RESULT: ["PASS",false,"941",[DIR,[XX,YY,ZZ]],[["ItemMap","ItemToolbox","Binocular_Vector","ItemRadio","ItemFlashlightRed","ItemGPS","ItemHatchet_DZE","NVGoggles","MakarovSD","ItemKeyKit","ItemKnife","ItemEtool","ItemCrowbar","ItemCompass","ItemMatchbox_DZE","SCAR_L_STD_Mk4CQT"],["ItemBriefcase70oz","ItemGoldBar4oz","ItemBriefcaseS80oz","ItemSilverBar2oz","ItemBandage","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov","ItemBandage","ItemBandage","ItemBandage","ItemBandage"]],["DZ_CivilBackpack_EP1",[[],[]],[[],[]]],[0,995,995],"FR_Rodriguez_DZ",0.96]"

2014/06/07, 18:44:43 Error in expression <r = _primary select 8;
if (!(_model in AllPlayers)) then {
_model = "Survivor2_>
2014/06/07, 18:44:43 Error position: <AllPlayers)) then {
_model = "Survivor2_>
2014/06/07, 18:44:43 Error Undefined variable in expression: allplayers
2014/06/07, 18:44:43 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 53

2014/06/07, 18:44:44 Server: Object 8:10 not found (message 70)
2014/06/07, 18:44:44 SetFace error: class CfgFaces.RodriguezHead.Facegrover_EP1 not found
2014/06/07, 18:44:44 Error: Error during SetFace - class CfgFaces.RodriguezHead.Facegrover_EP1 not found
2014/06/07, 18:44:44 "LOGIN PUBLISHING: B 1-1-E:1 (blaaaaa) REMOTE Type: FR_Rodriguez_DZ"

the line changed in variables.sqf :

AllPlayers set [count AllPlayers, "Bandit1_DZ","Bandit2_DZ","BanditW1_DZ","BanditW2_DZ","Survivor2_DZ","SurvivorW2_DZ","Sniper1_DZ","Camo1_DZ","Soldier1_DZ","Rocket_DZ"];

 

You can ignore this.

Share this post


Link to post
Share on other sites

any thoughts why after I changed the hight the trader still spawns in the same spot on the roof

 

position[]={12568,0.064,14556.9};//Chrveni Gradok

12568,0.014,14556.9

 

also would a marker be as easy asa adding it like this

 

class Markers
{
items=28;  Change to 29
 
class Item28
{
position[]={12568,0.014,14556.9};
name="skin trader";
text="skin trader";
type="mil_box";
colorName="ColorBlack";
};

Share this post


Link to post
Share on other sites

Works great for me <-- admin.   but the trader menu closes 1 seconmd after opening it for normal players.

 

I added in the if ((isNull (findDisplay 106)) && (isNull (findDisplay 20001)) && (isNull (findDisplay -1)) && (isNull (findDisplay 41144)) but still no joy.

 

I use infiSTAR anti hack.

 

Let me know if any one has an idea on this

 

Many thanks

 

MJR

Share this post


Link to post
Share on other sites

what file has the text cost is 2 gold displayed text at the top of the GUI???

I would like to add " you must drop backpack before purchase"..

if you don't drop it first it will not give but still takes the gold

 

The trader gives you a warning if your wearing a backpack and it won't change, but if you looking for that text you can find it in List_Men.sqf and List_Woman.sqf on line 14.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Adam1911
      TWZ - The Walking Z Overpoch Server
      Server IP: 54.37.244.16:2302
      Discord: Discord
      Website: Website
      Top Server Features:
      Full Day / Night cycle with Time Acceleration. (No Voting)
      Build Limit based off humanity.
      Custom PvP Zone.
      Indestructible Bases with in the PvE Zone Only.
      Custom AI Missions.
      High Loot Spawns.
      Slow Zombies (still a threat and more of them.)
      Custom Traders for 10k / 50k / 100k / 500k Humanity.
      Mystery Briefcase.
      Custom AI Missions.
      Roaming AI.
      Paychecks (get x amount of money every hour)
      Locate Vehicle.
      Quests
      Simi-Militarised.
      1 Million Coin Start
    • By FG_Trap
      Made this in my free time awhile ago thought id make it public.
      Right Alt is the key to open the menu.
      Install instructions are inside the download.
      https://github.com/NWDZ-Trapxxgods/traps-menu
       
       
      here is a picture of the server menu
       
    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      Find
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
    • By JasonTM
      Download the files for DZMS Overpoch 1.0.6.2 Here: https://github.com/worldwidesorrow/DZMS-DayZMissionSystem-Overpoch
       
      This is an update to the DayZ Mission System by Vampire that was updated for DayZ Epoch 1.0.6.1 by ebayShopper: https://github.com/ebayShopper/DZMS-DayZMissionSystem
      This includes adding a few missions from EMS 0.3 by Fuchs:
       
      Updates:
      1. Added a variable in DZMSConfig.sqf to enable the AI to have money in their wallets if ZSC is installed.
      //If you have ZSC installed then you can set this to true to place money in ai wallets. DZMSAICheckWallet = false; 2. Added the Overwatch weapons to the AI and Crate configs.
      3. Expanded the selection of gear and vehicles available to the missions, AI config, and crate spawns.
      4. Created additional crate spawning options.
      5. Changed "UH60Wreck_DZ" to "UH60_ARMY_Wreck_burned_DZ" in minor mission SM4 because of "Cannot create non-ai vehicle UH60Wreck_DZ" error.
      6. Converted the format of a few EMS 0.3 missions and added them to the mission spawning arrays.
      7. There is an issue with the new small ammo boxes and medical crates which is not resolved.

      Here is a list of all of the Major and Minor missions with a few notes.
       
       
      Demo Video
       
       
    • By Joseph Thompson
      Hello all,
      My name is Joseph. I am looking for active members on Arma 2-Overpoch to join a Team. You must have some knowledge in playing the game and  you must have a working mic (No Echo).
      We will be playing on a server that has recently started up but has big hopes for its self. The staff/Admins are really helpful and have helped to create other servers in the past.
      We will be working together as a team to attend and capture missions also Helping with base building ECT. How you play is entirely up to you if you (this meaning if you want to be a bandit or a hero)
      You must be over the ages of 16 and have a strong sense of humor.
      ------------------------------------------------------------------------------------------------------------------------------------------------
      Please ensure you have one of the following programs:
      ------------------------------------------------------------------------------------------------------------------------------------------------
      Team-speak
      Skype
      Discord
      ------------------------------------------------------------------------------------------------------------------------------------------------
      Please fill in this form if you are interested in joining us.
      ------------------------------------------------------------------------------------------------------------------------------------------------
      Age-
      Name
      SteamName-
      SkypeName-
      DiscordName-
      Playtime-
      And last one: Are you from the UK?-
      ------------------------------------------------------------------------------------------------------------------------------------------------
      If you would like to contact me
      Discord: Joseph_Richards#3973
       
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...