Gmod NPC Death Loot Manager - Script
NPC Death Loot Manager is my 5th GMod addon of the year 2021. It is about adding a gameplay mechanic to your server that is usually found in MMORPGs. It allows you to configure in real time from a clean and intuitive interface, the loot inventory of each class of Npc dropped when they die, choose the probability of dropping the npc, the quantity possible. All of this allows you to make items more or less rare from the list. For example you can set up special loots for a Boss.
❮
❯
Description of Gmod NPC Death Loot Manager
๐ Presentation
"NPC Death Loot Manager" is a Gmod addon that allows you to create a loot inventory and choose the rarity of each item you added to the Npc's class inventory, the amount and probability of drop at death of the Npcs of that class and the rarity of each item.
This adds new gameplay mechanics and dynamism to your Gamemode or server, this system is compatible with all Npcs and Game Modes.
This is a gameplay mechanic that is usually found in MMORPGs. You will be able to configure in real time the loot inventory of each NPC class, and the probability rate of each loot allowing to make items more or less rare depending on the type of NPC.
This without reboot and when you want from an intuitive and simple interface. Access it with a chat command "!loot" or from your console : "npc_dloot_manager".
You can choose whether your Npcs list and loots can be viewed by your players or keep it private.
Some ideas for use:
- Compensate for the difficulty of certain enemies with loot that is equal to the challenge, so you reward your users and encourage farming on your servers like in some Mmorpg's.
- Organize events on an increase of loot that your Npcs can drop.
- Reward your players with loot when they defeat a boss on your server.
I'm sure you'll have ideas for uses that I can't imagine.
You want the Npcs on your Gmod server to loot money like in GTA? This addon is for you.
If you don't know how to manage a place where a Boss can appear, I have already created a script dedicated to this kind of need where you can define the Bosses life points and their appearance positions, it is the NPCs Spawn Point Creator.
๐ฆ Features
- Npcs inventory management system
- Define the rarity per loots in inventory of Npcs class
- Define the probability of loots by Npcs class
- Define the amount of loot per Npcs class
- Let the players have the possibility or not to consult the list this makes it transparent when some loots are store items.
- Intuitive interface
- A backup system
- Translated and available in several languages: English, French, German, Russian, Spanish, and more if suggested
๐ The console commands
Open the panel to setup the Npc Death loot in your Gmod server : npc_dloot_manager
Chat Command : !loot
๐ Admin
- Activate the Usermode to see what the player sees when he open the panel.
- Automatic backup at the slightest change
- Configure everything that npcs should loot when they die.
๐พ Persistence
Everything you add or remove is saved in real time in a system independent of all other systems to ensure compatibility and optimal performance.
๐ ๏ธ Configuration
Everything is configurable from the interface accessible with the chat command : "!loot"
The configuration file is at this location : nordahl_npcs_death_loot/ lua/ autorun/ nordahl_npcs_deathlooter_config.lua
โ Admin System Compatibility
Compatible with ULX, SAM, SERVEURGUARD, FADMIN
โ Compatibility
Compatible with all Npcs and Gamemodes.
Path: garrysmod/addons/nordahl_npcs_death_loot
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 2477287523 )
- To add gmod workshop resources to your collection : Gmod NPC Death Loot Manager [Content Only] | Gmod Workshop
For example 5% for one item and 95% for another. The 95% item will have a 95% chance of spawn.
1. Click on the white cross from the list of Npcs in the interface.
2. Click on the red cross from the selection in the interface.
Because you can make the list visible without the management tools.
Because you can make the interface visible with the variable :
nordahl_cfg_3915.Users_can_consult=1 -- Users can just consult the list of loots
nordahl_cfg_3915.Users_can_consult=1 -- Users can simply view the list of loots with the chat command: !loot
0 will have the effect of making it private.