groundobsession 0 Posted April 5, 2023 (edited) override void StartingEquipSetup(PlayerBase player, bool clothesChosen) { if(player.IsMale()) { player.RemoveAllItems(); EntityAI itemEnt; ItemBase itemBs; switch (Math.RandomInt(0, 8)) { case 0: // Noah Sterling threat to every survivor if he launches a nuke with parts found in the world player.GetInventory().CreateInInventory("Military_Sweater_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_PlainBat_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE1");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_LiveWire");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 1: // Kareem Allen expert in radiation survival also trying to stop Noah from launching the Nuke that'll wipe out every survivor instantly player.GetInventory().CreateInInventory("TrackSuitJacket_Red");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_PlainBat");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE2");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_CodeRed");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 2: // Ciarán O'Flaherty Bow n Arrow Hunter no bear is safe afer one beers player.GetInventory().CreateInInventory("QuiltedJacket_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BeanBasher");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE3");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 3: // Shawn Tyler-Addison ruthless with a shotgun but great at making anything that drives player.GetInventory().CreateInInventory("RidersJacket_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_PipeAxe");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE4");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_ClassicCoke");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 4: // Aaron Stone Doctor at heart always repairing a survivor player.GetInventory().CreateInInventory("HikingJacket_Red");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_GoodNightBat");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE5");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_CokeZero");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 5: // Zeke Marshall Looking to create a better place but Joe Berry is a threat to his plans of survival player.GetInventory().CreateInInventory("LeatherHat_Natural");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("GP5GasMask");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("PoliceJacket");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("PolicePants");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_Sawblade");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE6");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_Water1");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 6: // James Lugnball great at making tools from a log player.GetInventory().CreateInInventory("Shirt_GreenCheck");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BaseballBat");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE7");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 7: // Joe Berry leader of his clan ruthless and will kill without thinking twice player.GetInventory().CreateInInventory("Hoodie_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BaseballBat_Chain");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Apple");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 8: // Farmer Jason MacCormack wife is looking for him whilst another crew had taken him underground player.GetInventory().CreateInInventory("Layered_Shirt_White");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("PMK_5A_Gas_Mask");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BaseballBat_BarbedWire");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_Water2");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_Anabolic");itemBs = ItemBase.Cast(itemEnt); break; } } else { player.RemoveAllItems(); EntityAI itemEnt; ItemBase itemBs; switch (Math.RandomInt(0, 8)) { case 0: // June Sterling Bomb expert no base is safe player.GetInventory().CreateInInventory("mm_survival_pants_blue");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("mm_longsleeve_white_blue");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_PlainBat_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE1");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_LiveWire");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 1: // Grace Allen Lab technician great at making a cure for anything player.GetInventory().CreateInInventory("mm_hoodie_yellow");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Latex_White_Leggings");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_PlainBat");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE2");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_CodeRed");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 2: // Sarah O'Flaherty Trying to find her crew escape artist rouge and not to be approached player.GetInventory().CreateInInventory("Layered_Shirt_White");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Red_Leggings");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("High_Knee_Sneakers");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BeanBasher");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE3");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 3: // Zama Morgan expert in engineering player.GetInventory().CreateInInventory("Layered_Shirt_Courage");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Adidas_Leggings");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_PipeAxe");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE4");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_ClassicCoke");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 4: // Alina Dudina bomb expert by day horde slasher by night player.GetInventory().CreateInInventory("Layered_Shirt_Lily");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Purple_Leggings");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_GoodNightBat");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE5");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_CokeZero");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 5: // Khasi Cat Sister to Amy Reed not so tough but great at hunting player.GetInventory().CreateInInventory("LeatherHat_Natural");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("GP5GasMask");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Layered_Shirt_Cheburashka");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Red_Leggings");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_Sawblade");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE6");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_Water1");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 6: // Amy Reed Petrovi Tough nothing stops her true survivor player.GetInventory().CreateInInventory("Shirt_GreenCheck");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BaseballBat");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_MRE7");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 7: // Carina Addison Radiation specialist trying to contain the infected player.GetInventory().CreateInInventory("AGT_NBC_Jacket_GoldGamer");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BaseballBat_Chain");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Apple");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("alp_radboxtablets");itemBs = ItemBase.Cast(itemEnt); break; case 8: // Farmer "" player.GetInventory().CreateInInventory("AGT_NBC_Jacket");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Kneepads_Jeans_Black");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("PMK_5A_Gas_Mask");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Msp_BaseballBat_BarbedWire");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_Water2");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("MFP_BajaBlast");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("CombatBoots_Grey");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Flashlight");itemBs = ItemBase.Cast(itemEnt); player.GetInventory().CreateInInventory("Battery9V");itemBs = ItemBase.Cast(itemEnt); break; } } Credits https://github.com/GravityWolfNotAmused/SpawnLoadoutThingy https://github.com/scalespeeder/DayZ-SpawnLoadoutThingy-Common-Items-and-Kits-One.git Edited April 7, 2023 by groundobsession Took the time to fix the error Share this post Link to post Share on other sites