Page cover

💪Talents

Documentation relating to the lumen_talents

Installation

  • Works with RedEM:RParrow-up-right / VORParrow-up-right / RSG arrow-up-right. Be sure you installed one of them before to use this script.

  • You need to have 1 utility scripts. These will be provided by discord

    • redemrp_menu_base

  • Drag and drop the resource in your resources folder

    • lumen_talents

  • Add this ensure in your server.cfg below under all utility scripts

    • ensure lumen_talents

  • Edit the config.lua to make sure to customize the code

If you have any questions, please contact our lumen works discord.

Framework

Config.framework = "redemrp"

You can set the framework you need. The available options are "redemrp" , "vorp" or "rsg

Language

Here you can see the available menu skills

  • label : It is the name of the skill.

  • image: Here you can add an image as an icon.

  • requirementsJob : You can specify which jobs can raise this skill (example: {"police","doctor"} ). If you leave it empty {} all players will be able to use it

  • text : Description of the skill

Notifications

You can set your custom notification system here, by default redemrp is added

Skil Data

Here you can change the power of each skill. Be careful with adding very high values ​​since some skills are very sensitive and can greatly disrupt the game.

  • base : Indicates the increase of the attribute for each assigned point (up to a maximum of 8)

  • extra : Indicates the increase of the attribute upon reaching the maximum points (8 points)

Warning !! Be careful with adding very high values ​​since some skills are very sensitive and can greatly disrupt the game.

Custom Api (dev mode)

If you need to add in another script experience or level, you can use this event on server side, I show you below how to add it.

In your script, locate the area of the code where the money or reward is added, and also add this small line of code

This adds 2 level directly to the player, just change the number of levels you want. If the number is negative it will subtract levels.

You can also set a fixed amount regardless of what the player previously had with this code

Example

For experience points, replace the word "nivel" with "exp"

Last updated