banner
Rating
Voted0

StarTypeRift

0
Mod version:V1.0
Game version:1.5
The mod has been successfully tested for the absence of viruses
16049.39K361.16K

Report mod

  • image
  • image
  • image
modalImage

About This Mod

StarTip-Rift: tooltips from the External Fault.


StarTip-Rift is an addon for creating tooltips. It only tries to play the unit tooltip. You can customize it by installing a new profile addon written by you or someone else. Examples exist in the StarTip catalog: StarTipDefault and StarTipNatural. To get started, you can copy/paste the entire folder into the Addons folder. You'll have to give it a name like HopeBound.


If you want to create your own profile using this profile as a template, it's very simple. Check the StarTipNatural.lua file and configure it as you wish. Look at the Libs StarTip-Rift catalog and look at the LibScriptable-1.0 catalog. Look in this directory and you see LibScriptablePlugins-1.0. From there, view all the different functions in the subdirectories. This is the organized runtime. The LibScriptablePluginUnit-1.0.lua file is where you might want to start.


Each runtime for each running Lua script has several special members and variables. For example, _G, if you want to access a shared script environment. There is also a 'self'. And 'unit'. Then everything that is included in the plugin directory.


Notice that each instance of StarTip starts with _G, and that is the core environment of the script. However, we use a special table to surround each Lua script, and _G points not to that table but to the rift UI script environment where Inspect.Unit.Detail exists. Therefore, you can call '_G.StarTip:IterateModules()' or '_G.UI.CreateFrame()'. I tried to add everything from Rift's _G to the global environment of a custom Lua script, but I may have missed something. That's what '_G' is for right now.


I am always on #riftuidev at freenode.net, or use the comments on this addon to ask questions.

Similar Mods/Addons

Game Version *

1.5 (StarTip-v1.4.3.zip)