Goonfather Posted January 6, 2015 Report Share Posted January 6, 2015 Hi Forum. Is it possible in any way to ad the skins from the PlayerMorphs to a Trader, or add it to a certain safe via MySQL - I would like to have the abillity to give som players for example the UN-skin, but i don't wanna morph them via the infistar admin menu because its buggy. So, how do i add them? Link to comment Share on other sites More sharing options...
-Dutchy- Posted January 7, 2015 Report Share Posted January 7, 2015 Hello Goonfather, Not really sure what your question is, Do you want people to be able to buy the clothes in a package from a special clothes trader? This is already out, When using please give credits to the creator(s) of the script(s). Do you want people to be able to buy the clothes and once they bought it their clothes auto change since not all clothes are in packages? Example, the UN skin is not available in a clothes package. Not sure, it might be possible but i wouldn't know where to start. Might be a good idea to contact Zupa, he's the guy who created the script above. Or do you want to give people a certain skin through the database? You can do this but remember some skins from arma come with only 6 inventory slots, 4 pistol ammo slots etc. So you'll need to watch out. I hope i helped you out, if not let me know ;) Kind Regards, Dutchy OmegaGamers Link to comment Share on other sites More sharing options...
Goonfather Posted January 7, 2015 Author Report Share Posted January 7, 2015 Yeah, sorry, my english is not so good, so i will try to explain better: I would like to take the UN-soldier skin and make it buyable in the traders - I'm playing on a DayZ Epoch server, and i have a dream that all the Admins is in UN clothing, but you can only get the UN skins by Infistars PlayerMorph, and thats buggy - So i wanna add the skins to the game, so i dont have to morph people... I can't find the skins in the Spawnmenu in infistar, so i think i have to add them via MySQL DB - But how, thats my question. Link to comment Share on other sites More sharing options...
-Dutchy- Posted January 7, 2015 Report Share Posted January 7, 2015 Hello Goonfather, Like i said before, not all skins come in clothpackages like a Gillie suit/ cammo clothing etc. I do not know if u could add these skins to the trader, why not check this mod out: Hope i helped you out and if not, pop me a message. Kind Regards, Dutchy OmegaGamers Link to comment Share on other sites More sharing options...
Goonfather Posted January 7, 2015 Author Report Share Posted January 7, 2015 But i'm not interested in everybody can buy the UN skin, so i was asking for a solution where i can add the skinpack to a safe, or something - or add it to trader, with the price of for ex. 10 Briefcases... Link to comment Share on other sites More sharing options...
-Dutchy- Posted January 8, 2015 Report Share Posted January 8, 2015 Hello Goonfather, 1. Right so you do not want everyone on the server to be able to buy the UN skin from a trader but you want this to be limited to admins. 2. OR you want to have to ability to add a skin to a admins safe. 1. You might be able to create a white listed only trader where u use the steam ID's from your admins (same ID's you added to the infistar antihack) and only the people that are added to that trader have the ability to use this trader. 2. Like i have said, not all skins come in the skin packages, so you are unable to put non existing items in a safe. What might be a good idea however, is creating a custom spawn loadout for admins only, where you only add the skin they spawn with and the items normal player spawn with. This saves a lot of hassle. Kind Regards, Dutchy OmegaGamers Link to comment Share on other sites More sharing options...
Goonfather Posted January 8, 2015 Author Report Share Posted January 8, 2015 Hey Dutchy! The last thing you said! - That exackly, how do i do so i spawn with at certain skin, every time? Link to comment Share on other sites More sharing options...
Zupa Posted January 8, 2015 Report Share Posted January 8, 2015 Hey Dutchy! The last thing you said! - That exackly, how do i do so i spawn with at certain skin, every time? _adminList = ["465546456465464","4678976454646","464564564646546"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["USMC_LHD_Crew_Blue"],["Skin_SurvivorW2_DZ"]]; }else{ DZE_defaultSkin = [["Skin_Rocker2_DZ","Skin_Functionary1_EP1_DZ","Skin_Haris_Press_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker3_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Rocker4_DZ"],["Skin_SurvivorW2_DZ","Skin_SurvivorWpink_DZ","Skin_SurvivorWurban_DZ","Skin_SurvivorWcombat_DZ","Skin_SurvivorWdesert_DZ","Skin_SurvivorW3_DZ"]]; }; Put that in top of your init.sqf then and fill in your admins PUID : ) Normal players will spawn with random civilian clothing to : ) Link to comment Share on other sites More sharing options...
Goonfather Posted January 8, 2015 Author Report Share Posted January 8, 2015 Okay, assuming that the numbers in you'r code, should be replaced with my admins? Link to comment Share on other sites More sharing options...
Zupa Posted January 8, 2015 Report Share Posted January 8, 2015 Okay, assuming that the numbers in you'r code, should be replaced with my admins? yes, and add more if u have more Link to comment Share on other sites More sharing options...
Goonfather Posted January 8, 2015 Author Report Share Posted January 8, 2015 But lets say, i wanna add this skin: ["USMC_LHD_Crew_Blue"] - Could'nt i just write that directly into a safe in the Mysql tables? Link to comment Share on other sites More sharing options...
Goonfather Posted January 8, 2015 Author Report Share Posted January 8, 2015 Another question: Lets say i have 2 active admins, and they dont have to spawn in with the same skin. Can i make the code like this: _adminList = ["Admin1GUD"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["Something_skin"],["Skin_SurvivorW2_DZ"]]; _adminList = ["Admin2GUD"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["Something_else_skin"],["Skin_SurvivorW2_DZ"]]; }else{ DZE_defaultSkin = [["Skin_Rocker2_DZ","Skin_Functionary1_EP1_DZ","Skin_Haris_Press_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker3_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Rocker4_DZ"],["Skin_SurvivorW2_DZ","Skin_SurvivorWpink_DZ","Skin_SurvivorWurban_DZ","Skin_SurvivorWcombat_DZ","Skin_SurvivorWdesert_DZ","Skin_SurvivorW3_DZ"]]; }; Link to comment Share on other sites More sharing options...
-Dutchy- Posted January 8, 2015 Report Share Posted January 8, 2015 But lets say, i wanna add this skin: ["USMC_LHD_Crew_Blue"] - Could'nt i just write that directly into a safe in the Mysql tables? Depending on if there is a clothes package for the specific skin then yes. I do not believe this skin has its own clothe package. What i mean by cloth package(s) is; A actual in game item that u can find in lootpiles, for example you find a gillie suit that, once put in your inventory, you can wear. Not all skins are able to be found as a clothe package, like the UN skin. So you cannot add these to safes, inventories, vehicle inventories, etc. How ever, you can change a players skin within the database, goto : (NOTE: This is will need to be done manually) 1. Your database, 2. Openup the Character Data 3. Go all the way to the back and goto Model You can change the players skin by changing the model of the player. Another question: Lets say i have 2 active admins, and they dont have to spawn in with the same skin. Can i make the code like this: _adminList = ["Admin1GUD"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["Something_skin"],["Skin_SurvivorW2_DZ"]]; _adminList = ["Admin2GUD"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["Something_else_skin"],["Skin_SurvivorW2_DZ"]]; }else{ DZE_defaultSkin = [["Skin_Rocker2_DZ","Skin_Functionary1_EP1_DZ","Skin_Haris_Press_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker3_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Rocker4_DZ"],["Skin_SurvivorW2_DZ","Skin_SurvivorWpink_DZ","Skin_SurvivorWurban_DZ","Skin_SurvivorWcombat_DZ","Skin_SurvivorWdesert_DZ","Skin_SurvivorW3_DZ"]]; }; Yup you can do this as you like, although i recommend creating a loadout.sqf file and putting all these custom load outs in here. More info can be found here : Hope i helped Kind Regards, Dutchy OmegaGamers Link to comment Share on other sites More sharing options...
Goonfather Posted January 8, 2015 Author Report Share Posted January 8, 2015 Oooh, okay - Cool, i thing i got it now... Many thanks for the help, great you wanna help a complete noob... Link to comment Share on other sites More sharing options...
Goonfather Posted January 8, 2015 Author Report Share Posted January 8, 2015 Hmm, i tried to put it on my server, but i got stuck in the loading screen - It seems that something went wrong for all players, as everybody got stuck on a "field" it looket like nobody got a character. I was pasting this text in the Init.sql in my MPmission dir: _adminList = ["XXX"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["GUE_Commander_DZ"],["Skin_SurvivorW2_DZ"]]; _adminList = ["XXXX"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["UN_CDF_Soldier_EP1"],["Skin_SurvivorW2_DZ"]]; }else{ DZE_defaultSkin = [["Skin_Rocker2_DZ","Skin_Functionary1_EP1_DZ","Skin_Haris_Press_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker3_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Rocker4_DZ"],["Skin_SurvivorW2_DZ","Skin_SurvivorWpink_DZ","Skin_SurvivorWurban_DZ","Skin_SurvivorWcombat_DZ","Skin_SurvivorWdesert_DZ","Skin_SurvivorW3_DZ"]]; }; What did i do wrong? Link to comment Share on other sites More sharing options...
Zupa Posted January 8, 2015 Report Share Posted January 8, 2015 Hmm, i tried to put it on my server, but i got stuck in the loading screen - It seems that something went wrong for all players, as everybody got stuck on a "field" it looket like nobody got a character. I was pasting this text in the Init.sql in my MPmission dir: _adminList = ["XXX"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["GUE_Commander_DZ"],["Skin_SurvivorW2_DZ"]]; _adminList = ["XXXX"]; if(getPlayerUID player in _adminList2)then{ DZE_defaultSkin= [["UN_CDF_Soldier_EP1"],["Skin_SurvivorW2_DZ"]]; }else{ DZE_defaultSkin = [["Skin_Rocker2_DZ","Skin_Functionary1_EP1_DZ","Skin_Haris_Press_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker3_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Rocker4_DZ"],["Skin_SurvivorW2_DZ","Skin_SurvivorWpink_DZ","Skin_SurvivorWurban_DZ","Skin_SurvivorWcombat_DZ","Skin_SurvivorWdesert_DZ","Skin_SurvivorW3_DZ"]]; }; What did i do wrong? _adminList = ["XXX"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["GUE_Commander_DZ"],["Skin_SurvivorW2_DZ"]]; }; _adminList2 = ["XXXX"]; if(getPlayerUID player in _adminList2)then{ DZE_defaultSkin= [["UN_CDF_Soldier_EP1"],["Skin_SurvivorW2_DZ"]]; }else{ DZE_defaultSkin = [["Skin_Rocker2_DZ","Skin_Functionary1_EP1_DZ","Skin_Haris_Press_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker3_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Rocker4_DZ"],["Skin_SurvivorW2_DZ","Skin_SurvivorWpink_DZ","Skin_SurvivorWurban_DZ","Skin_SurvivorWcombat_DZ","Skin_SurvivorWdesert_DZ","Skin_SurvivorW3_DZ"]]; }; u forget } 's and shit Link to comment Share on other sites More sharing options...
Goonfather Posted January 9, 2015 Author Report Share Posted January 9, 2015 Okay, now the script is working fine with the server - But - The admins list isn't working - I have put the right GUID, but admins i have given a certain skin seems to spawn in with default skins from det buttom line, preist, police ect. What's wrong? Please help, thanks :) Link to comment Share on other sites More sharing options...
Zupa Posted January 9, 2015 Report Share Posted January 9, 2015 Okay, now the script is working fine with the server - But - The admins list isn't working - I have put the right GUID, but admins i have given a certain skin seems to spawn in with default skins from det buttom line, preist, police ect. What's wrong? Please help, thanks :) player id's, not guid's and this code ( small changes) _adminList = ["XXX"]; if(getPlayerUID player in _adminList)then{ DZE_defaultSkin= [["GUE_Commander_DZ"],["Skin_SurvivorW2_DZ"]]; }else{ _adminList2 = ["XXXX"]; if(getPlayerUID player in _adminList2)then{ DZE_defaultSkin= [["UN_CDF_Soldier_EP1"],["Skin_SurvivorW2_DZ"]]; }else{ DZE_defaultSkin = [["Skin_Rocker2_DZ","Skin_Functionary1_EP1_DZ","Skin_Haris_Press_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker3_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Rocker4_DZ"],["Skin_SurvivorW2_DZ","Skin_SurvivorWpink_DZ","Skin_SurvivorWurban_DZ","Skin_SurvivorWcombat_DZ","Skin_SurvivorWdesert_DZ","Skin_SurvivorW3_DZ"]]; }; }; Link to comment Share on other sites More sharing options...
Goonfather Posted January 9, 2015 Author Report Share Posted January 9, 2015 Sorry, i was ment to say PlayerUID - but still, it dosent work with the admin skins... :( Link to comment Share on other sites More sharing options...
Zupa Posted January 9, 2015 Report Share Posted January 9, 2015 Sorry, i was ment to say PlayerUID - but still, it dosent work with the admin skins... :( u took that new code i posted? Link to comment Share on other sites More sharing options...
Goonfather Posted January 9, 2015 Author Report Share Posted January 9, 2015 no sorry, havent tryed that... I will try that out at next server restart, thanks! Link to comment Share on other sites More sharing options...
Goonfather Posted January 9, 2015 Author Report Share Posted January 9, 2015 u took that new code i posted? Hey Zupa, it didn't work, i spawn with a random skin, but not that skin i have selectet specific for me... Any ideas? Link to comment Share on other sites More sharing options...
Goonfather Posted January 10, 2015 Author Report Share Posted January 10, 2015 No solutions, anyone? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now