Komplex Posted August 25, 2014 Report Share Posted August 25, 2014 I've been using this costum loadout script for some of the clans on my server but would like to add a skin to it. Right now it looks like: //CLAN Loadout if ((getPlayerUID player) in ["########"]) then { //Clan: Name, Name DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; }; When I add: DefaultModel = "Rocket_DZ"; it sort of works, as in you can see both skins at the same time lol. So Then I tried something like this: //CLAN Loadout if ((getPlayerUID player) in ["########"]) then { //Clan: Name, Name DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; DefaultModel = "['Sniper1_DZ'] spawn player_humanityMorph"; }; and variations of that default model line as I have no clue what I'm doing such as: [dayz_playerUID,dayz_characterID,'Sniper1_DZ'] spawn player_humanityMorph; However I'm not really sure what to try from here. Any ideas? Link to comment Share on other sites More sharing options...
0 Komplex Posted August 27, 2014 Author Report Share Posted August 27, 2014 bump Link to comment Share on other sites More sharing options...
0 Externized Posted August 27, 2014 Report Share Posted August 27, 2014 Just add it in the inventory so they can just put it on themselves? Link to comment Share on other sites More sharing options...
0 Komplex Posted September 1, 2014 Author Report Share Posted September 1, 2014 Just add it in the inventory so they can just put it on themselves? This is what Im doing now, and is the lazy way. My admin tools can morph live whenever, so it must be possible. Link to comment Share on other sites More sharing options...
0 Jossy Posted September 2, 2014 Report Share Posted September 2, 2014 if ((getPlayerUID player) in ["#######"]) then { //Clan: Name, Name DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; [] spawn { waitUntil {(!isNil "PVDZE_plr_LoginRecord")}; if (!isNil "dayz_selectGender") then { waitUntil { (getPosATL player select 2 < .1 && (vehicle player == player)) }; if (alive player) then { _charID = player getVariable ["CharacterID", "0"]; _playerUID = getPlayerUID player; [_playerUID,_charID,"Sniper1_DZ"] spawn player_humanityMorph; }; }; }; }; Link to comment Share on other sites More sharing options...
0 Outlaw Posted September 2, 2014 Report Share Posted September 2, 2014 if ((getPlayerUID player) in ["#######"]) then { //Clan: Name, Name DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; [] spawn { waitUntil {(!isNil "PVDZE_plr_LoginRecord")}; if (!isNil "dayz_selectGender") then { waitUntil { (getPosATL player select 2 < .1 && (vehicle player == player)) }; if (alive player) then { _charID = player getVariable ["CharacterID", "0"]; _playerUID = getPlayerUID player; [_playerUID,_charID,"Sniper1_DZ"] spawn player_humanityMorph; }; }; }; }; Can anyone confirm that this works? Also use DefaultBackpackItems = [""]; instead of DefaultBackpackWeapon = ""; Link to comment Share on other sites More sharing options...
Question
Komplex
I've been using this costum loadout script for some of the clans on my server but would like to add a skin to it. Right now it looks like:
When I add: DefaultModel = "Rocket_DZ"; it sort of works, as in you can see both skins at the same time lol.
So Then I tried something like this:
and variations of that default model line as I have no clue what I'm doing such as:
[dayz_playerUID,dayz_characterID,'Sniper1_DZ'] spawn player_humanityMorph;
However I'm not really sure what to try from here. Any ideas?
Link to comment
Share on other sites
5 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