-
Notifications
You must be signed in to change notification settings - Fork 31
TazUO.Spell Indicators
ℹ️ Version 3.9.0 and up required. ℹ️ Version 3.13.0 and up required for certain features
We've added a customizable spell indicator system with the following options, configured per spell:
Range - Size/area indicator - Casting time indicator
ℹ️ As always I recommend https://jsoneditoronline.org for editing json files.
ℹ️ A general version of all spells will be maintained here
Color and size can be configured via CastRange
and Hue
properties
Color and size can be configured via CursorSize
, CursorHue
, and IsLinear
properties
Casting time can be configured via CastTime
property in seconds
From Options->TazUO->Misc
you can enable to disable this system, and download external configs(provided by friends or your server, or our shared one over here
After logging in once a new file will be created and populated with all spells, unconfigured in Data/Profiles/SpellVisualRange.json
ℹ️ You can remove any spells not desired.
ℹ️ Range, Size and Cast time can be set to 0 if you want to disable any single feature of a specific spell.
ℹ️ All spells are triggered from PowerWords
, if those are set up wrong the spell will not trigger correctly.
Open this file using a good JSON editor like https://jsoneditoronline.org and go to town!
💯 If you want a good starting point make sure to check out this version
ℹ️ You can also place a SpellVisualRange.json
inside individual character folders to override the global one. (/Data/Profiles/Account/Server/Char/SpellVisualRange.json
)
{
"ID": 24,
"Name": "Wall of Stone",
"PowerWords": "In Sanct Ylem",
"CursorSize": 2,
"CastRange": 0,
"Hue": 32,
"CursorHue": 10,
"MaxDuration": 10,
"IsLinear": true,
"CastTime": 1.5,
"ShowCastRangeDuringCasting": false,
"FreezeCharacterWhileCasting": false
}
This config will create a linear area where your cursor is, based on the direction of your cursor with a CursorSize
of 2, meaning 1 (Cursor tile + 1 = 2) tile away from the cursor tile so this will show a line that is 3 tiles in length.
It's CastRange
is set to 0 so we won't see a range indicator, and it's CastTime
is 1.5 so it will show a progress bar for 1.5 seconds or until a target appears after casting.
ID
-> This is the spell ID built into CUO, it isn't technically used here anymore other than sorting.
Name
-> This is the name of the spell, only included for easier identification while editing.
PowerWords
-> These are vital and must match what your server sends exactly. You can use this for servers with custom spells. Power words are how this system identifies casting as the client doesn't really know when you are casting.
CursorSize
-> This is the side of the indicator that appears where your cursor is. If IsLinear
is true it will be a line at your cursor this many tiles away from the cursor. Otherwise it will be a square radius this many tiles away from the cursor.
CastRange
-> This is a square radius around the player, it shows up when you get a Target after casting, unless ShowCastRangeDuringCasting
is true, then it will show while you are actively casting.
Hue
-> The color of the CastRange
.
CursorHue
-> The color of the CursorSize
.
MaxDuration
-> The time, in seconds, that all indicators will disappear if, for whatever reason, the system does not register that the spell was cast or canceled.
CastTime
-> The time, in seconds, to display the cast progress bar to indicate how much time left until the spell is cast.
FreezeCharacterWhileCasting
-> Freeze your character while casting