I tried the DOT platform for the first time. I created this easy and useful dot ability.
Health Regen Ability:
Code:
"abilityX"
{
"name" "dot_regen"
"tickrate" "1" //arg1 - Tickrate
"selfheal" "0.0003" //arg2 - Health gain per (arg1) tick. For self heal. (Value between 1.0 and 0.0)
"companionheal" "0.0002" //arg3 - Health gain per (arg1) tick. For companions. (Value between 1.0 and 0.0)
"companionrange" "1024.0" //arg4 - Companion Range
"plugin_name" "dot_regerenation"
}
"dot_regerenation" requires "dot_base" main drain-over-time ability to work properly
Base Ability:
Code:
"abilityX"
{
"name" "dot_base" // all drain-over-time rages must have this ability. manages timing, etc. for all of a hale's DOT's (yes, can be multiple!)
"arg1" "5" // minimum rage to activate
"arg2" "0.2" // rage % drain per 100ms
"arg3" "0.0" // rage penalty for entry
"arg4" "0.0" // rage penalty for ending it manually
"arg5" "ambient\lair\null.wav" // sound to play when entering rage
"arg6" "ambient\lair\null.wav" // sound to play when exiting rage
"arg12" "0" // if this is 1, it won't show the helpful reload overlay message.
"arg13" "0.0" // cooldown duration in seconds
"arg14" "0" // 0-RELOAD, 1- SPECIAL
"plugin_name" "drain_over_time"
}
Ver 1.0
The ability is created
Ver 1.1
Added companion healing option
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320 | j0bl3ss
I don't really look at steam or alliedmodders, contact me from discord if you need it.
Last edited by J0BL3SS; 03-01-2021 at 10:33.
Reason: DEPRECATED