Search the Community
Showing results for tags 'customloot'.
-
Version 1.2.2
7,302 downloads
Formerly NPCLoot. Populate npc corpses, containers, and barrels with custom loot. General info. Users can create as many loottables as required, and assign them to npc/container types by name. To create a new loot table, simply set the "lootTable" entry for some container type in config to a new made up name. This will create a new /data file of that name, which you can customise. The same loot table can be used for multiple corpse or container types. New categories and items are added automatically so, hopefully, data should never need to be wiped. Default loottable has all probabilities set to zero ( no loot) and will require customisation. I intend to provide some sample loottables for free download in the near future. Item choice is done by two-tier probability. For each spawned item a category is chosen first, based on your category probabilities, then an item is chosen from that category, based on your item probabilities for that category. See notes at bottom for further info on probabilities. Dec '23 1.2.2 update. Customloot now supports treating specific skinned items as if they are unique items. For example you could create skinned paper as ‘Money’, and it will be treated as unique, with totally separate settings and options from regular paper. The format for creating items is that you hold your skinned item and type /CustomLoot ExistingLootTable Category CustomName so, for example, if you want to skin paper with skin 012345 and use it as ‘Money’ in a loottable called ‘AirdropTable’, hold some paper with that money skin and type /CustomLoot AirdropTable Resources Money You can also specify “All” instead of a specific loottable /CustomLoot All Resources Money Optional dependencies - BotReSpawn Configuration. Global. corpseTypePerBotReSpawnProfile - true/false allowDuplicates - true/false Include_DM_Crates - true/false AllowSkinsFor - { "add", "items", "like", this" } NPC types. OilRig Excavator CompoundScientist BanditTown MountedScientist JunkPileScientist DungeonScarecrow ScareCrow MilitaryTunnelScientist CargoShip HeavyScientist TunnelDweller UnderwaterDweller Trainyard Airfield DesertScientist ArcticResearchBase LaunchSite Gingerbread ZombieHorde *if Global option 1 is true, this entry is replaced with one entry per existing BotReSpawn profile, by name. Eg, The Dome 0, Airfield 0, LaunchSite 0, etc. Container Types bradley_crate heli_crate supply_drop dm ammo dm c4 dm construction resources dm construction tools dm food dm medical dm res dm tier1 lootbox dm tier2 lootbox dm tier3 lootbox loot_barrel_1 loot_barrel_2 loot-barrel-1 loot-barrel-2 oil_barrel codelockedhackablecrate crate_basic crate_elite crate_mine crate_normal crate_normal_2 crate_normal_2_food crate_normal_2_medical crate_tools crate_underwater_advanced crate_underwater_basic foodbox minecart trash-pile-1 ...There may be more, as the plugin automatically adds new ones as they appear in-game. Options per type: "enabled": true/false (governs corpse loot-giving) "lootTable": "default" "minItems": 6 "maxItems": 6 "gunsWithAmmo": true/false "noGuns": true/false "MaxBps": 3 "WaterPreFillPercent": 20 "ClearContainerFirst": true/false Data: By default there is one data file : /data/CustomLoot/default.json If you specify a unique lootTable name for any corpse or container type, a new file will be created in the same folder, by name. Eg /CustomLoot/JunkPileLootTable.json Each data file contains: Blacklist : [] - These items will never spawn, and are removed from loottable. Setting to [] will repopulate with default blacklist. AlwaysSpawnList : [] - These items will always spawn, regardless of probabilities. allowChristmas = false allowHalloween = false allowKeycards = false By default all Christmas, Halloween and Keycard items are disabled. Items, grouped by category. *Each item has:* "probability": 5 "minStack": 10 "maxStack": 50 "blueprintChancePerfect": 0 - where applicable "skins": [] - where applicable "IncludeAllApprovedSkins" - false "MinConditionPercent": 90 - where applicable "MaxConditionPercent": 100 - where applicable Categories: Ammunition Attire Component Construction Electrical Food Fun Items Medical Misc Tool Traps Resources Weapon ...There may be more, as the plugin automatically adds new ones as they appear in-game. Options per category: "probability": 5 "allowBlueprints": true API. If the called config profile doesn't exist CustomLoot will create it under 'API'. Example call. [PluginReference] private Plugin CustomLoot; List<Item> lootcall = CustomLoot?.Call("MakeLoot", "Profile_Name"; if (lootcall is string) PrintWarning(string)lootcall); Object hooks are provided to prevent this plugin giving loot to your spawned npcs, or containers. Return non-null for the following. OnCustomLootNPC(uint) OnCustomLootContainer(uint) Notes. *Probability, in both cases above, is relative; There is no scale. If there were two categories with probabilities of 9 and 1, the first would have a 9 out of 10 chance of being picked. Probability of zero effectively means the item, or category is disabled. Categories with no enabled items will never be chosen. Their probability is irrelevant. Disabled categories will never be chosen. Their probability is irrelevant. Users should never have to manually add, or remove, items in the /data files. New items in Rust should be added automatically. The blacklist can be used to remove entries from the data file, if that's preferred. Reloading is not required to catch up with profile changes made in BotReSpawn.Free- 212 comments
- 3 reviews
-
- 9
-
Version 125 101124a
587 downloads
Eden Falls is a fully custom map 3000 in size It features a road, river and now a rail network covering most corners of the map, Some standard monuments are here along with a number of new and unique monuments created by me. The additional monuments are LUMBER MILL MISSILE SILO MARINA ICESTATION THULE EDEN FALLS CANYON RAVENSCROFT ASYLUM FORT KNOX COLDITZ CASTLE BAYOU HMS RACE HORSE CAR REPAIR RACE TRACK OIL DERICK ALCATRAZ SKULL TUNNEL Video is not fully representative of the map as it was originally done many years ago, E&OE Finally, please make yourself aware of the TOS-Restrictions for use$39.95- 30 comments
- 6 reviews
-
- 3
-
Version 2.1.4
9,462 downloads
Say goodbye to configuration and data files. This plugin lets yo edit the loot of (almost) every lootable object directly over a custom UI. It also includes a graphical stack size editor thus making it ideal for anyone who is not familiar with editing config files. Do not use in combination with any other stack size controller or loot plugin. Features: User friendly GUI - no need to edit config files Loot configuration for every prefab in the game Stack size controller supports individual stack sizes for every prefab Support for custom items Support for third party plugins Fully backwards compatible with version 1.x.x Default config included for every prefab Configuration for Smelting Speed, Recycler Speed and Efficiency Supply Drop configuration Supported prefabs: Crates, Barrels NPCs Trees, Ores, Animal corpses Excavator, Quarries Christmas Presents, Eggs, Loot Bags Collectables like Hemp, Corn, etc. Additional Configuration: Smelting Speed Supply Drop Recycler Speed / Efficiency Commands: loottable - Open the Loottable UI loottable reload - Manually refresh loot Permission: loottable.edit - Required to use the Loottable UI Required Dependencies (Oxide only): Image Library: https://umod.org/plugins/image-library Translations: This plugin fully supports translation. Out of the box only english is included. For item names to be translated, the plugin https://umod.org/plugins/rust-translation-api is required. English translations are located in /oxide/lang/en/Loottable.json For Developers: Loot Api: Developers can use the Loot Api to register loot profiles for custom NPCs or other plugin related loot. It is highly recommended to use one of the provided wrappers to access the api. Both wrappers offer the same functionality. Non-static (with documentation): https://gist.github.com/TheKiiiing/53a37e8bbb48d8a24c8e8b21b9da37ac Static (with documentation): https://gist.github.com/TheKiiiing/77ee60fa5d23934fd138fde58a2b147f Loot Api Example: // This example uses the non-static version of the Loot Api private LoottableApi loottableApi; void OnServerInitialized() { loottableApi = new LoottableApi(this); timer.In(5f, () => { loottableApi.ClearPresets(); loottableApi.CreatePresetCategory("Crates"); loottableApi.CreatePreset("c_locked", "Locked Crate", "crate_hackable"); loottableApi.CreatePreset("c_elite", "Elite Crate", "crate_elite"); loottableApi.CreatePreset("c_military", "Military Crate", "crate_military"); loottableApi.CreatePreset("c_normal", "Normal Crate", "crate_normal"); loottableApi.CreatePresetCategory("NPCs"); loottableApi.CreatePreset(true, "npc_cargo", "Cargo Ship NPC", "npc_militunnel"); loottableApi.CreatePreset(true, "npc_control", "Control Center NPC", "npc_militunnel"); }); } void SpawnNpc() { // Spawn NPC here ScientistNPC npc; // Assign a loot preset to the NPC loottableApi.AssignPreset(scientist, "npc_control"); } void SpawnCrate() { // Spawn crate here LootContainer crate; // Assign a preset to the crate if (loottableApi.AssignPreset(container, "c_locked")) { // The container has been filled with loot return; } else { // The container is not handled by Loottable // Default loot logic goes here } } The resulting configuration page would look like this: Custom Items API: Developers can use the Custom Items Api to add a custom item to the Loottable item list. If an item is marked as persistent it will remain in the custom item list until it is removed by ClearCustomItems. All non-persistent items will be removed after the plugin that registered them has been unloaded. (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, bool persistent) //(v1.0.27 or higher) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName, bool persistent) //(v1.0.27 or higher) (void) ClearCustomItems(Plugin plugin) //(v1.0.27 or higher) Hooks: (object) OnContainerPopulate(LootContainer container) This hook is called every time a loot container is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that crate. (object) OnCorpsePopulate(LootableCorpse corpse) This hook is called every time an npc corpse is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that corpse. (object) OnCustomAirdrop(SupplySignal signal) This hook is called every time a custom supply drop is about to be delivered. Returning a non-null value will cancel the custom supply drop. Outdated documentation for Version 1: New with version 1.0.27: Custom Items can now be created and edited directly in the GUI. They can be created from any existing item and modified in the Item Select menu You can now create and load backups of your configuration. Commands (F1 or Server Console): loottable.backup load <name> - Load backup with the given name from the backups folder (will wipe your current configuration) loottable.backup create <name> - Create backup of everything with the given name Backups will be created in the data/Loottable/backups folder. To load a backup, the backup file needs to be present in that folder. When creating backups in the in-game console, the permission loottable.debug is required. IMPORTANT: DO NOT LOAD BACKUPS FORM SOURCES YOU DO NOT TRUST, they might cause harm to your server New with version 1.0.16: Custom Items: Now you can add custom items used by other plugins directly to your loot table. Other plugins can can register these items using the api (documentation below). Screenshots: Overview of crates and their current loot table Stacksize Editor Commands: loottable - Open the editor loottable refresh - Manually refresh crate loot loottable flags - List available flags (explained below) loottable flags <name> <1|0> - Enable / disable a certain flag loottable reload_vanilla_profiles - Manually re-download vanilla loot profiles (only for debuging) Permission: loottable.edit - Required to use the editor Flags: There are flags to disable some limits in the editor. Only enable these flags if you really need to as they might cause unexpected behavior of the editor. There are currently 3 flags available: Debug If enabled, the Debug flag provides more detailed information about errors and other actions in the editor. Don't enable this flag unless you want your console full of spam. UnlockGatherMultiplier allows you to use gahter multipliers less than one and higher than 1000. Note that multipliers less than one might lead to unexpected results in some cases. DisableItemLimit Probably the safest flag to use is DisableItemLimit as it simply lets you set stack sizes and every other item amount in the editor as high as 2,147,483,647 which is the biggest possible value of a 32-bit integer. UnlockFurnaceMultiplier lets you use any value as the furnace speed multiplier. Don't enable this flag unless you know what you are doing, since the default value range from 0.1 to 100 should cover most use cases and larger values might impact server performance. UnlockItemMultiplier unlocks the multiplier when multiplying a loot table. DisableStackingHooks will disable all stacking related hooks. Enable if you encounter problems when stacking items. RefreshLootOnExit controls if all crates get refreshed after closing the editor or when reloading the plugin. Enable this only for testing, there might be an increase in entities. Refer to the Commands section for more information about enableing flags. Vanilla Configurations: Since version 1.0.7 there are vanilla loot profiles available for most crates and NPCs. These profiles can be loaded using the "Load default loot table" button at the top center of the editor. DISCLAIMER: The vanilla loot profiles in the editor might not exactly match the vanilla loot distribution of the game as it uses a completely different loot distribution system than Rust. These profiles rather serve as a reference point for custom loot profiles. Important for Carbon users: In order for this plugin to work with carbon, Harmony references need to be enabled. This can be done with the following command: c.harmonyreference 1 Required Dependencies (Oxide only): Image Library: https://umod.org/plugins/image-library Custom Items API: Add a custom item to the item list. If an item is marked as persistent it will remain in the custom item list until it is removed by ClearCustomItems. All non-persistent items will be removed after the plugin that registered them has been unloaded. (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, bool persistent) //(v1.0.27 or higher) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName) (void) AddCustomItem(Plugin plugin, int itemId, ulong skinId, string customName, bool persistent) //(v1.0.27 or higher) (void) ClearCustomItems(Plugin plugin) //(v1.0.27 or higher) Example: Its recommended to delay the call a little bit to make sure Loottable is loaded private void Init() { timer.In(1f, () => { Loottable?.Call("AddCustomItem", this, -946369541, 2664651800, "High Quality Fuel"); }); } Hooks: (object) OnContainerPopulate(LootContainer container) This hook is called every time a loot container is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that crate. (object) OnCorpsePopulate(LootableCorpse corpse) This hook is called every time an npc corpse is about to be populated with loot. Returning a non-null value prevents the plugin from spawning loot into that corpse. (object) OnCustomAirdrop(SupplySignal signal) This hook is called every time a custom supply drop is about to be delivered. Returning a non-null value will cancel the custom supply drop.$40.00- 929 comments
- 27 reviews
-
- 13
-
- #loot
- #customloot
- (and 13 more)
-
Version 1.0.0
102 downloads
Research Outpost is a small ocean monument designed to give your sea-fairing players a place of refuge and replenishment. This asset is excellent for large or small maps and is easy to place. Use the white lines on the dockwall to choose the correct height related to the waterline. Loot 4 barrels 2 Fuel Crates 1 Green Crate 1 Normal Crate 1 Tool CrateFree-
- 2
-
- #free
- #free prefabs
- (and 10 more)
-
Version 1.0.0
83 downloads
The LPG Terminal is an early-game ocean-side monument, giving your players decent loot early to mid-game. With plenty of places to hide and defend, you are assured that cheesy plays will happen here. This asset will blend well into any map, big or small. Puzzle Type Electric Flip both light switches to solve the puzzle, and the two doors will open. Loot 4 Green Crates 2 Normal Crates 2 Diesel Barrels 1 Components Pile 1 Tool Crate 1 Food Crate Recycler Sub-1000 Prefabs When installing, line up the water level with floating debris.Free-
- 1
-
- #free
- #free prefab
- (and 11 more)
-
Version 1.0.0
142 downloads
The Gas plant is a vanilla-friendly custom monument meant to give your players an extra option when wanting to gather loot early and mid-game. Made in the style of existing rust monuments, Gas Plant provides a custom feel to a vanilla experience. This monument is excellent for all servers and maps, big or small. Puzzle Type Parkour Loot 5 Green Crates 3 Normal Crates 2 Diesel Barrels 1 ToolboxFree-
- 5
-
- #monument
- #monuments
- (and 15 more)
-
Version 1.88
8 downloads
The Island is a 3k custom map and optimally designed for PVE. PVP is also possible. The map consists almost exclusively of Costom Monuments. The map was created from a heighmap of "ARK-The Island". Custom Monuments are for example: Broken Excavator, The Castle, Modified Bridge (original by Shaddar), Small Harbour, The Bunker, The Castle, The Prison, Helipad and any more Also avalaible here : https://rust-custom-designs.biz for € Join our Discord : https://discord.gg/Wx2tUFg a lot of custom monuments broken excavator the bunker castle prison small harbour and many more requires oxide & oxide.Ext.RustEdit.dll$29.90-
- #custom map
- #rustedit
-
(and 6 more)
Tagged with: