@Kombinat в init.c замени override void StartingEquipSetup на ниже указанный код и редактируй вещи как тебе нужно, а если ты хочешь настроить индивидуальный лут определенным игрокам то иди по ссылке указанной @123new.
p.s. после строк // Иж-43 идет закомментированный ванильный код можешь его просто удалить начиная от /* и заканчивая */
override void StartingEquipSetup(PlayerBase player, bool clothesChosen)
{
player.RemoveAllItems();
//EntityAI itemClothing;
EntityAI itemEnt;
ItemBase itemBs;
//float rand;
// Куртка
itemEnt = player.GetInventory().CreateInInventory("TacticalShirt_Tan");
itemBs = ItemBase.Cast(itemEnt);
// Штаны
itemEnt = player.GetInventory().CreateInInventory("CargoPants_Beige");
itemBs = ItemBase.Cast(itemEnt);
// Рюкзак
itemEnt = player.GetInventory().CreateInInventory("TortillaBag");
itemBs = ItemBase.Cast(itemEnt);
// Кепка
itemEnt = player.GetInventory().CreateInInventory("BaseballCap_Beige");
itemBs = ItemBase.Cast(itemEnt);
// Перчатки
itemEnt = player.GetInventory().CreateInInventory("HandsCover_Improvised");
itemBs = ItemBase.Cast(itemEnt);
// Обувь
itemEnt = player.GetInventory().CreateInInventory("HikingBoots_Brown");
itemBs = ItemBase.Cast(itemEnt);
// Маска
itemEnt = player.GetInventory().CreateInInventory("NioshFaceMask");
itemBs = ItemBase.Cast(itemEnt);
// Тряпка
itemEnt = player.GetInventory().CreateInInventory("Rag");
itemBs = ItemBase.Cast(itemEnt);
// Рис
itemEnt = player.GetInventory().CreateInInventory("Rice");
itemBs = ItemBase.Cast(itemEnt);
// Патроны 12
itemEnt = player.GetInventory().CreateInInventory("Ammo_12gaPellets");
itemBs = ItemBase.Cast(itemEnt);
// Патроны 12
itemEnt = player.GetInventory().CreateInInventory("Ammo_12gaPellets");
itemBs = ItemBase.Cast(itemEnt);
// Кабачок
itemEnt = player.GetInventory().CreateInInventory("Zucchini");
itemBs = ItemBase.Cast(itemEnt);
// Бутылка
itemEnt = player.GetInventory().CreateInInventory("WaterBottle");
itemBs = ItemBase.Cast(itemEnt);
// Нож
itemEnt = player.GetInventory().CreateInInventory("BoneKnife");
itemBs = ItemBase.Cast(itemEnt);
// Иж-43
itemEnt = player.GetInventory().CreateInInventory("Izh43Shotgun");
itemBs = ItemBase.Cast(itemEnt);
/* itemClothing = player.FindAttachmentBySlotName( "Body" );
if ( itemClothing )
{
SetRandomHealth( itemClothing );
itemEnt = itemClothing.GetInventory().CreateInInventory( "Zucchini" );
if ( Class.CastTo( itemBs, itemEnt ) )
itemBs.SetQuantity( 2 );
string chemlightArray[] = { "Chemlight_White", "Chemlight_Yellow", "Chemlight_Green", "Chemlight_Red" };
int rndIndex = Math.RandomInt( 0, 4 );
itemEnt = itemClothing.GetInventory().CreateInInventory( chemlightArray[rndIndex] );
SetRandomHealth( itemEnt );
rand = Math.RandomFloatInclusive( 0.0, 1.0 );
if ( rand < 0.35 )
itemEnt = player.GetInventory().CreateInInventory( "Apple" );
else if ( rand > 0.65 )
itemEnt = player.GetInventory().CreateInInventory( "Pear" );
else
itemEnt = player.GetInventory().CreateInInventory( "Plum" );
SetRandomHealth( itemEnt );
}
itemClothing = player.FindAttachmentBySlotName( "Legs" );
if ( itemClothing )
SetRandomHealth( itemClothing );
itemClothing = player.FindAttachmentBySlotName( "Feet" );
*/
}