Sitemap
Меню сайта
Скачать читы для WOW
Скачать аддоны для WOW
Скачать баги для WOW
фильм пруха
Категории раздела
Action Bars [4]
Bags, Bank & Inventory [4]
Buff, Debuff & Spell [5]
Chat [6]
Class Specific [3]
Combat [3]
Data [5]
Fubar [1]
Graphic UI [27]
Map [1]
Mail [0]
Misc... [16]
Quest & Leveling [7]
PvP/Arena/BG [5]
Raid [4]
Tradeskill [0]
ToolTip [1]
Unit [1]
Аддоны для WOW [6]
Наш опрос
Нужно ли краткое описание на руссоком? (к аддонам)
Всего ответов: 465
Статистика


Онлайн всего: 1
Гостей: 1
Пользователей: 0
Форма входа
Вторник, 23.09.2025, 06:54
Приветствую Вас Гость

Каталог файлов

Главная » Файлы » Аддоны » Graphic UI

The RingMod
TheRingThing   New Today!

Intro
This is my RingMod. It is capable of displaying rings on screen that fill radial. It does not use the massive texture spam approach, instead the ring gets divided into segments and is calculated. I used the approach Iriel posted some time ago when he wrote down his thoughts about the StatRings mod.

What is it for?
Currently the mod can display Health and Mana rings. The mod is written in a way that the function who create the ring delivers back an object. After that the only thing you need is a function that can calculate the value you want to display (80% health or mana for example) and the ring object. All the rest is handled by other functions inside then.
Later versions will try to connect this mod to oUF, but for now its the first running version.
Other than that I hope that this mod will help those who are dedicated enough to study the mod how to use it and maybe copy some of its funcionality.

What is it for?
The mod is LUA only for now, my hope is that maybe someone write a GUI for the config. Currently the mod is controlled by a config table in the LUA. Many settings are included and can be adjusted.

Layers
The ring consists of 3 layers: background, ring-segments, foreground. Background and foreground can be hidden.

Dynamic
The background texture can be set to rotate. Thus it will constantly rotate. Update timer and speed can be set in the config.

Alpha blending
Currently the ring segments are set to SetAlphaBlending("ADD") thus the color gets multiplied with the background. Setting can be changed in the config.

Can we do half-rings?
Yes we can. You can define what segments should be used, where to start and in which direction it should be filled.
Half-ring config: http://zorktdmog.zo.funpic.de/ringmo...ringconfig.txt
This image has been resized. Click this bar to view the full image. The original image is sized 1680x1050.


Can we do orlike stuff?
Yes we can. Just make yourself textures that can handle it and set the inner_radius to 1. Avoid the 0 it bugs out the SetTexCoord.
This image has been resized. Click this bar to view the full image. The original image is sized 1680x1050.


Is this awesome? Yes it is!

Config example

Code:
 
 -- ring layout
 -- ____ ____
 -- / | \
 -- | 4 | 1 |
 -- ----+---- 
 -- | 3 | 2 |
 -- \____|____/
 --

 -- direction 1 = right (clockwise), 0 = left (counter-clockwise)

 -----------------------
 -- CONFIG
 -----------------------

 local ring_table = {
 [1] = { 
 global = {
 unit = "player",
 active = 1,
 ringname = "rM_PlayerHealth",
 size = 256,
 anchorframe = UIParent,
 anchorpoint = "CENTER",
 anchorposx = 0,
 anchorposy = 0,
 scale = 0.82,
 alpha = 1,
 framelevel = 1,
 gfx_folder = "256_1",
 segments_used = 4,
 start_segment = 4,
 fill_direction = 0,
 ringtype = "health",
 },
 background = {
 color = {r = 255/255, g = 255/255, b = 255/255, a = 1},
 alpha = 0.7,
 framelevel = 1,
 blendmode = "blend",
 use_texture = 1,
 do_rotation = 1,
 rotation = {
 update_timer = 1/30,
 step_size = 0.3,
 direction = 0,
 },
 },
 foreground = {
 color = {r = 255/255, g = 255/255, b = 255/255, a = 1},
 alpha = 1,
 blendmode = "blend",
 framelevel = 3,
 use_texture = 1,
 },
 segment = {
 color = {r = 180/255, g = 10/255, b = 10/255, a = 1},
 alpha = 1,
 blendmode = "add",
 framelevel = 2,
 segmentsize = 128,
 outer_radius = 110,
 inner_radius = 90,
 },
 },

 [2] = { 
 global = {
 unit = "player",
 active = 1,
 ringname = "rM_PlayerMana",
 size = 256,
 anchorframe = UIParent,
 anchorpoint = "CENTER",
 anchorposx = 0,
 anchorposy = 0,
 scale = 0.65,
 alpha = 1,
 framelevel = 1,
 gfx_folder = "256_1",
 segments_used = 4,
 start_segment = 1,
 fill_direction = 1,
 ringtype = "mana",
 },
 background = {
 color = {r = 255/255, g = 255/255, b = 255/255, a = 1},
 alpha = 0.7,
 framelevel = 1,
 blendmode = "blend",
 use_texture = 1,
 do_rotation = 1,
 rotation = {
 update_timer = 1/30,
 step_size = 0.2,
 direction = 1,
 },
 },
 foreground = {
 color = {r = 255/255, g = 255/255, b = 255/255, a = 1},
 alpha = 1,
 blendmode = "blend",
 framelevel = 3,
 use_texture = 1,
 },
 segment = {
 color = {r = 10/255, g = 100/255, b = 150/255, a = 1},
 alpha = 1,
 blendmode = "add",
 framelevel = 2,
 segmentsize = 128,
 outer_radius = 110,
 inner_radius = 90,
 },
 },

 }
 

| Скачать аддоны для WOW | Баги WOW | Читы WOW | Читы для Worldofwarcraft | Русские аддоны для WOW |
Категория: Graphic UI | Добавил: Administrator | Теги: WoW, wow addons, аддоны для wow, The RingMod
Просмотров: 753 | Загрузок: 20 | Рейтинг: 0.0/0
Всего комментариев: 0
Имя *:
Email *:
Код *:
У нас вы можете скачать бесплатно читы для WOW
скачать аддоны для WOW
скачать новые читы для WorldofWarcraft
проги для wow 2.4.3

читы на 2.4.3
Аддоны для wow 3.1.3
аддоны для wow 2.4.3
читы для вов 3.1.3 на дамаг
аддоны 3.1.3
аддонэ
Друзья сайта
Все, что вам не хватает для полного счастья - это скачать майл агент с сайта ExeFree.ru - самый популярный сайт в сети интернет. Каждый день администрация добавляет новые игры, приколы, новости, и нужные для пользователей файлы. Все бесплатное вы сможете найти на страницах сайта ExeFree.ru - информационно-развлекательный портал нового поколения.