Jump to content

erikgryshchuk

Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by erikgryshchuk

  1. what did you mean . Chance of a slot dropping ? Not exactly — vanilla Rust only assigns slots when armor is crafted (and only if the player has a crafting quality modifier). Armor that spawns in loot crates always has 0 slots by default.This plugin adds configurable slot chances specifically for looted armor, which vanilla doesn't do at all. public class ItemModContainerArmorSlot : ItemModContainer public int MinSlots; public int MaxSlots = 3; public bool CraftedItemsOnly = true; private static float[] RollChances = new float[] { 0.25f, 0.1f, 0.05f }; With default MinSlots=0, MaxSlots=3, no crafting quality modifier: SlotsChance 0 75% (50% early exit + 25% loop miss) 1 Slot 15% Chance 2 Slots 5% Chance 3 Slots 5% Chance
  2. yes, I'll implement it on the weekend
  3. Version 1.1.0

    155 downloads

    Ballistic Armor Slots gives Ballistic Vests and Ballistic Leg Armor a random number of insert slots when they spawn inside loot crates, so players can slot protective plates (lead, asbestos, etc.). You decide how common each amount is with simple percentage chances. Features Random 0 to 3 insert slots on armor found in loot crates Per-amount percentage chances, fully configurable Make 3-slot armor rare loot, or keep it always maxed Console warning if your chances don't add up to 100% Never overwrites armor that already has slots How it works When ballistic armor is generated inside a loot container (Locked / Hackable Crates, Supply Drops, Elite Crates, Underwater Lab crates, etc.), the plugin rolls a slot count from your chances and applies it once, the moment the crate fills its loot. Player storage is never touched. Always 3 slots Set the 3-slot chance to 100 and the rest to 0. Configuration { "Chance (%) - 0 slots": 50, "Chance (%) - 1 slot": 30, "Chance (%) - 2 slots": 10, "Chance (%) - 3 slots": 10 } Each value is the % chance that armor spawns with that many slots; they should total 100. If they don't, the plugin still works (it treats them proportionally) and prints a warning so you can fix it. Reload the plugin after editing. Note: Ballistic Helmet is excluded, armor slots for it are not implemented in the game by Facepunch.
    Free
  4. Temporarily fixed this bug. If you copy the already created configuration files to data/Loottable/default By default, there are no files in the directory. cfg; npc_launchsite.json npc_missilesilo.json npc_missilesilo_nvg.json
  5. NVG Scientist, Launch Site NPC, Missile Silo NPC Do not accept new configuration. Blacklist and custom loot do not work. The list is enabled in the settings. There are no other problems.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.4k
Customers served
Files Sold
163.2k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.