Page cover

🐍Animal Effects

Documentation relating to the lumen_animaleffects

Installation

  • lumen_animaleffects works with RedEM:RParrow-up-right / VORParrow-up-right / RSGarrow-up-right. Be sure you installed one of them before to use this script.

  • Drag and drop the resource in your resources folder

    • lumen_animaleffects

  • Add this ensure in your server.cfg below redemrp_roleplay

    • ensure lumen_animaleffects

  • 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" or "vorp".

Language

Config.Text = {
    [1] = "You have poisoned yourself",
    [2] = "You have caused yourself a trauma",
    [3] = "You have caused a hemorrhage",
    [4] = "That cure didn't work", 
}

Animals

Here you can add more animals indicating the model (there are 3 examples available here) and the following characteristics.

  • Effect: Sets the effect category. You can choose between poison, bleeding or trauma.

  • Variant : Here you can indicate which type of variant can infect the animal. You can set more than one variant as indicated in the example of "a_c_wolf". In case you want only one option, leave only one value.

  • Probablility: Sets the probability of applying the effect for each impact of the animal on the player.

Hud icons

Here you can set the location of the icons of each effect on the screen.

Poisons

In this table you can customize the effects of poisons or add new ones, the values are detailed below:

  • Fx: Modify the effect on screen. In the original code you can see 6 examples compatible with poisons

  • Timer: Sets the duration of the poison in seconds

  • Damage: Sets the poison damage

  • TimeDamage: Sets how many seconds damage is inflicted

  • Vomit: Sets up a vomiting animation when the poison effect is over

  • Canrun: Establishes the possibility of running

  • Remedy : Set an item to be able to heal the poison.

  • Color: Sets the color of the poison indicator. This is useful to differentiate which type of poison variant is used.

Bleeds

In this table you can customize the bleed effects or add new ones, the values are detailed below:

  • Fx: Modify the effect on the screen. In the original code you can see 3 examples compatible with bleeds

  • Timer: Sets the duration of the bleed in seconds

  • Damage: Sets the bleeding damage

  • TimeDamage: Sets how many seconds damage is inflicted

  • Canrun: Establishes the possibility of running

  • Blood: Sets a bleeding effect of the player's body for the duration of the effect

  • Remedy : Set an item to be able to heal the bleeding

  • Color: Sets the color of the bleeds indicator. This is useful to differentiate which type of bleeding variant is used

Trauma

En esta tabla puedes personalizar los efectos de trauma o añadir nuevos, los valores se detallan a continuación:

  • Fx: Modify the effect on screen. In the original code you can see 2 examples compatible with trauma

  • Timer: Sets the duration of the trauma in seconds

  • Damage: Establishes trauma damage

  • TimeDamage: Sets how many seconds damage is inflicted

  • Canrun: Establishes the possibility of running

  • Blood: Sets a bleeding effect of the player's body for the duration of the effect

  • Floor: Sets whether the player remains unconscious on the ground for the duration of the effect

  • Color: Sets the color of the trauma indicator. This is useful to differentiate which type of trauma variant is used

Notifications

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

Last updated