NPC Rewards | gmod Kill Reward Management System - scripts
No need to modify the Lua files of the Npcs you just installed on your server. No need to pay devs for a rewarding modification job every time you install new Npcs. Buy the script once and do the modifications in real time whenever you want and without any programming skills in Glua or Lua. This Npcs reward management addon is made for this kind of need.
NPC Reward Manager allows to create and apply variables linked to the metatable player with values defined by NPC class, to the player who eliminated him. It is possible to provide a minimum and maximum value to create a random number generation.
For example if you add the variable addMoney, with a minimum value of 5 and a maximum value of 10, when the npc is killed by the player, the player wins between 5 and 10 $. This will work with all variables.
❮
❯

Description of NPC Rewards | gmod Kill Reward Management System
Contents :- 📘 Short presentation of Gmod NPC Reward Manager
- ❓ What kind of need can Gmod NPC Reward Manager meet
- 🔎 Description
- 📦 Contenues
- 📐 Customization options
- 🕹️ Console commands
- 💾 Backup and persistence
- ✔️ Compatibility
- ➕ The original functions that can be useful to you on Gmod associated with the Class player for applications:
📘 Small presentation of Gmod NPC Reward Manager
Looking for a Gmod addon so that when a user eliminates an NPC earns a reward through the functions related to your gamemode and addons? Such as XP, or $ for DarkRP money? Or something else? [Gmod NPC REWARD Manager[/b] does this job, add NPC classes, insert variables/functions to apply such as AddMoney (for player:AddMoney() ) or AddXP (for player:AddXP() if you have a levelup system installed) and when they are eliminated your users will earn this value, or a random number between the minimum and maximum value that you set up yourself, without coding a single line.
❓ What kind of need can Gmod NPC Reward Manager answer?
If you have any questions, Gmod NPC Reward Manager could be useful for you:
1. I want my players to earn money or experience points when they kill a type of NPC
2. I would like to customize the amount of exp or money a npc gives to the player
3. I would like the currency and xp to be shared between all attackers of a npc
4. I would like to add rewards manually via meta variables linked to other addons e.g. add Mana with player:SetMana(50) when the player kills a specific type of npc.
5. I would like to generate the reward gain per npc type from a list and interface.
🔎 Description
Gmod NPC REWARD Manager is a Variable insertion system linked to the Player class, table provided by the meta table FindMetaTable('player' ) or debug. getregistry()['"player"], the advantage is that you can install Npcs from the gmod workshop and directly apply the functions to launch when they are eliminated, without reboot, without fiddling with the different addons, and when you have many NPC save time in the configuration, the menu allows to gather everything in a list so you don't disperse in the different Npcs addons.
Two variables (addMoney and addXP) are inserted by default when you add an npc in the list, they will serve as a basic example but are already working, estimating that they will be the most used variables.
📦 Contents
1. A Class Management System of Npcs
2. A System of insertion of class of npc
3. A System of addition of variable
4. A minimum and maximum value addition system
5. Delete in real time a variable or a class of npc from the list.
6. Everything is applied in real time.
📐 Customization options
Customize the interface color if you want to change it
🕹️ The console commands
The command to open the management menu: npc_reward_manager
💾 Backup and persistence
There's nothing to do, install and reboot, backups are made with every change
✔️ Compatibility
Compatible with every Gamemode imaginable, DarkRP, StarwarsRP, HogwartsRP, Clockwork, Sandbox...
Compatible with my addons made to work with Vrondakis Level system for what concerns the function player:AddXP() add the variable AddXP and there you go.
Compatible with the functions provided by darkrpgmaster (DarkRPG).
Compatible with Nextbot and VJ Base since version 1.2
➕ The original functions that can be useful on Gmod associated with the Class player for applications:
We are only interested in the Glua functions on the server side:
player:addXP( xp ) //Adds XP to the player who kills the npc (You must have a leveling system)
player:addLevels( lvl ) //Adds a level to the player who kills the npc
player:addMoney( lvl ) //Adds money to the player who kills the npc (You must have a money system OR DarkRP)
player:AddFrags( number ) //Adds frags to the player who kills the npc
player:SetArmor( number ) //Adds armor to the player who kills the npc
player:SetJumpPower( number ) //To add jumping power ect.
The command: npc_var_player_metatable allows to display in the server console all possible variables
WIKI & F.A.Q

☰ 1. Installation of NPC Rewards | gmod Kill Reward Management System
Path: garrysmod/addons/nordahl_npc_reward_manager
☰ 2. Where can I find resources and materials in nordahl_npc_reward_manager?
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 2690171927 )
- To add gmod workshop resources to your collection : NPC Rewards | gmod Kill Reward Management System [Content Only] | Gmod Workshop
☰ 3. How to open the Gmod NPC Reward Manager menu?
From the chat : !npc_reward
☰ 4. How do I add classes to customize the rewards?
It will then display a list of npcs near you, select the one you want, and it will appear in the list.

☰ 5. How to make NPCs give XP on GMod when they die?
If you have a leveling system installed, the variable to add is: addXP
This means that when the player kills an NPC then the following function will be used: player:addXP( *number )
*number is the number you chose for the class. A minimum value and a maximum value will give a random number between these two values.
Be careful the command is case sensitive.
☰ 6. How to make NPCs give money on Gmod when they die?
If you have a currency system installed or DarkRP that includes this by default the variable to insert is: addMoney
This means that when the player kills an NPC then the following function will be used: player:addXP( *number )
*number is the number you chose for the class. A minimum value and a maximum value will give a random number between these two values.
Be careful the command is case sensitive.
☰ 7. How to apply a random value between two numbers on a variable?

☰ 8. How to get a fixed number? (Disable the random value)

☰ 9. How to delete a variable?

☰ 10. How to remove a class from the list?

☰ 11. How to save?
☰ 12. Where can I find more variables about the Player class?
By typing the command : print_player_metatable this command has been created for Gmod NPC VAR Manager
☰ 13. How to add a new variable?

☰ 14. How to share the experience points earned on Gmod between several users according to the number of damage inflicted to NPCs or bosses?
0 = The last one to make the decisive move to kill the NPC wins the payoff. (Default)
1 = The winnings are shared when the NPC dies between the different users who contributed to it according to the damage they inflicted.
☰ 15. Help! I earn 10$ when I kill a NPC on DarkRP when I set up 1000$.
Norda really pulled of a quick update which was long awaited and didn't hesitate to question "Why would this be useful?". Quick on implementing improvements to this scripts which is remarkable!
5/5 from me.
Fr 🇫🇷 -Un script vraiment étonnant qui aide à récompenser l'expérience des joueurs. Il est facile d'ajouter des récompenses personnalisées aux joueurs lorsqu'ils tuent des PNJ et fonctionne parfaitement.
Norda a vraiment réussi à faire une mise à jour rapide qui était attendue depuis longtemps et n'a pas hésité à poser la question suivante : "Pourquoi cela serait-il utile ?". Il est rapide sur la mise en œuvre des améliorations à ce script qui est remarquable !
5/5 de ma part.
1648578639 ago | Purchased: 2022-03-08
Pour faire simple et rapide.
C'est un addon utile pour un peu tout les gamemodes. (Surtout ou il y à du PVE! Logique?)
Mais bref, un event? Un PNJ un peu plus forte que les autres et vous voulez qu'il drop ou donne un truc aux joueurs?
Je met cinq étoiles parce que :
J'arrive pas à le trouver autre part.
Et que j'en voulais un de ce type depuis longteeeeemmpps.
Norda est toujours à l'écouter pour l'amélioration du script.
Et j'sais pas, j'aime bien !
1648563688 ago | Purchased: 2022-03-27
Creator: Norda Scripts
| Sales | 39 |
| Published | 4 years |
| Last update | |
| Version | version 1.5 |
| DRM | Yes |
| Categories | Gmod addons |
| Requirements | Garry's Mod Server |
| Languages | 🇬🇧 🇫🇷 🇩🇪 🇪🇸 |
| Availability | Instant access |
| Delivery | Digital download |
| Refund | Before download |
| Admin DarkRP Entities Gameplay Management Allgamemode | |






