Media
Description ๐Ÿ‡ฌ๐Ÿ‡ง Description ๐Ÿ‡ซ๐Ÿ‡ท

Gmod NPC Death Loot Manager - Script

Demonstration Youtube video of Gmod NPC Death Loot Manager

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.

Norda Npcs Death Loot - Gmod interface Add npcs entities in the interface to manage the loot of them Select a Gmod item entitie you spawned with the button of detection A Design pure and simple to understand, all is intuitive. Clic on the interface and Dbutton to draw your options Set the luck of Npcs can drop item Set the chance of the items can be spawned after the death of npcs Kill the npcs you added in list = Drop loots When the npcs die he drop what you configured !loot in your Gmod Chat to open the panel, player can also check it without touch the setting

Maximum image size
Description

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

  1. Npcs inventory management system
  2. Define the rarity per loots in inventory of Npcs class
  3. Define the probability of loots by Npcs class
  4. Define the amount of loot per Npcs class
  5. Let the players have the possibility or not to consult the list this makes it transparent when some loots are store items.
  6. Intuitive interface
  7. A backup system
  8. 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

  1. Activate the Usermode to see what the player sees when he open the panel.
  2. Automatic backup at the slightest change
  3. 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.

๐Ÿ”น WIKI & F.A.Q ๐Ÿ‡ฌ๐Ÿ‡ง
Wiki ๐Ÿ‡ฌ๐Ÿ‡ง Wiki ๐Ÿ‡ซ๐Ÿ‡ท

Wiki of Gmod NPC Death Loot Manager

Gmod NPC Death Loot Manager


โ˜ฐ 1. Installation of Gmod NPC Death Loot Manager
Installation: Download and Unzip the folder nordahl_npcs_death_loot.zip Install the addon in the addons file of your Gmod server,
Path: garrysmod/addons/nordahl_npcs_death_loot
โ˜ฐ 2. Where can I find resources and materials? What is the Gmod NPC Death Loot Manager Workshop id?
Vous trouverez les ressources dans le workshop de Garry's Mod sur Steam. - Gmod Workshop ID of Gmod NPC Death Loot Manager: 2477287523
- 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
โ˜ฐ 3. How to add a Pnj class in the menu?
Select a concerned Npc and click on the NPCs & Nextbot Detection button, it will appear in the dropdown menu, click on it and you will see it appear on the interface in the "Npcs List" column
โ˜ฐ 4. How do I add an item to the Pnj's inventory?
Spawning an item near you, open the menu and click on the npc you want to add the item, the "Items Detection" button will appear, click on the "Items Detection" button, it will appear in the drop down menu click on the name of the obket and you will see it appear on the interface in the column "NPC's loots".
โ˜ฐ 5. How do you define the amount of object that the Npc can drop?
From the interface click on Quantity and drag the slider until you get the quantity you want.
โ˜ฐ 6. How to define the probability that my Npc loot an object when it dies?
For example if you want your npc to have a 50/50 chance of dropping an item click on Chance below his picture and on "Set the chance rate of dropping an item" and set it to 50%. The smaller the number the less chance he will have to loot an item.
โ˜ฐ 7. How do I set the chance rate against other items in the same inventory?
To make an item rarer than another, you just have to give it a lower chance rate than another item in the same list.
For example 5% for one item and 95% for another. The 95% item will have a 95% chance of spawn.
โ˜ฐ 8. How do I remove a Pnj from the list?
There are two ways to do this you can't miss:
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.
โ˜ฐ 9. How do I remove an item from the loot inventory?
Click on the image of the object and click on the red cross.
โ˜ฐ 10. What is the Admin/User Mode from the interface?
The user mode is activated from the top right corner of the interface, it allows you to see the interface as a non admin user.
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
โ˜ฐ 11. I would like my players to be able to view the interface without administration.
Yes from the configuration file.

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.
โ˜ฐ 12. How to make the loot fall near the player who killed the Npcs?
In the configuration file find the variable: cfg.loot_onkiller and set it to 1. This will activate the loot spawn near the player. If the entity is set to be automatically picked up then the loot falls directly into the inventory of the player who killed the Npcs. (Available since version 1.1)
โ˜ฐ 13. Is there a limit of NPCs in the NPC Death Loot Manager?
No there is no NPC limit for the NPC Death Loot Manager.
Tips

Tip to avoid the leak of Gmod NPC Death Loot Manager installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Gmod Addon


๐Ÿ“ฅ Download 1.5


๐ŸŽซ Ouvrir Ticket


avatar-76561198033784269

Creator: Norda Scripts

Sales110
Published3 years
Last update
Versionversion 1.5
DRMYes
CategoriesGmod addons
RequierementsGarry's Mod Server
Languages๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡ซ๐Ÿ‡ท ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ช ๐Ÿ‡ฎ๐Ÿ‡น ๐Ÿ‡ฏ๐Ÿ‡ต ๐Ÿ‡ฐ๐Ÿ‡ท ๐Ÿ‡ณ๐Ÿ‡ด ๐Ÿ‡ท๐Ÿ‡บ ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‡ธ๐Ÿ‡ช
DarkRP Entities Gameplay Management Allgamemode NPC