魔兽科普汇聚WoW玩家们专属综合资讯门户网站!

rModelOrbTemplate

rModelOrbTemplate 是一款魔兽世界插件,主要用于开发工具相关功能。建议根据自己的版本和插件环境先测试兼容性。

免费下载 举报 收藏插件
插件详情

插件中文资料库

中文说明、玩家点评、适用场景和替代推荐,方便快速判断是否适合你。

玩家一句话点评
rModelOrbTemplate 适合需要开发工具、界面增强或玩法辅助的玩家,建议结合自己的职业和版本先测试再长期使用。
适用场景
  • 界面布局、头像框、姓名板和动作条优化

rModelOrbTemplate 插件下载与使用指南

本页整理了 rModelOrbTemplate 的功能用途、适用人群、安装方法和常见问题,方便玩家快速判断是否需要安装。

适合谁用

rModelOrbTemplate 是一款 开发工具 类插件,适合需要优化界面、提升操作效率或补充游戏信息提示的魔兽世界玩家。

基本信息

  • 插件作者:zorker
  • 插件分类:开发工具
  • 适配版本:12.0.5,12.0.7
  • 累计下载:2,334

安装方法

  1. 点击上方下载按钮获取 rModelOrbTemplate插件文件。
  2. 解压后将插件文件夹放入 World of Warcraft/_retail_/Interface/AddOns 目录。
  3. 重启游戏或在角色界面点击插件,确认 rModelOrbTemplate 已启用。
  4. 如果插件不生效,请检查版本是否匹配,或关闭同类冲突插件后重试。

使用建议

rModelOrbTemplate 安装后建议先在角色界面确认已启用,进入游戏后根据插件提供的命令、小地图按钮或设置面板进行调整。如遇到报错,可先单独启用该插件排查冲突。

rModelOrbTemplate 常见问题

这个插件适合哪些玩家?

rModelOrbTemplate 适合需要 开发工具 类功能的玩家,特别是希望提升游戏便利性、界面管理或战斗信息获取效率的用户。

下载后怎么安装?

下载后解压到 Interface/AddOns 目录,然后重启游戏并在角色界面启用插件。

为什么插件不显示或不生效?

常见原因是目录多套一层、游戏版本不匹配、依赖插件缺失或同类插件冲突。

有没有类似插件可以替代?

可以查看本页的替代插件推荐和相关插件区域,按下载量和分类选择同类工具。

插件 AI 问答

可以问:这个插件正式服能用吗、和 DBM 冲突吗、怎么设置、有没有替代插件。

rModelOrbTemplate 是一款魔兽世界插件,主要用于开发工具相关功能。建议根据自己的版本和插件环境先测试兼容性。

插件用途

rModelOrbTemplate 主要面向需要开发工具功能的玩家,用来改善游戏体验、减少重复操作或补充默认界面没有直接提供的信息。

适用场景

  • 开发工具相关功能

使用建议

安装后建议先在角色选择界面或插件管理器中确认已启用,再进入游戏测试是否与现有整合包、WA 和其他插件冲突。如遇报错,可以先禁用同类插件排查。

rModelOrbTemplate

The inspiration for this addon was to bring Diablo like player unitframe orbs for health and power back into the game. I did something similar years prior.

The idea was to create an XML template that houses all frame types needed so you can spawn as many of them as you like.

To make the template visually appealing a ModelScene is used which houses a WoW model that fits into the orb environment. The addon comes with over 200 preconfigured models that can be picked from.

The orb art consists of different layers.

XML structure/layers

- OrbFrame [Frame, 256x256]
  - BackgroundTexture [Texture, TOPLEFT+BOTTOMRIGHT]
  - FillingStatusBar [StatusBar, 256x256, BOTTOMLEFT, Vertical Filling]
  - ClipFrame [Frame, 256x256, BOTTOMLEFT]
    - ModelFrame [ModelScene, 256x256, BOTTOMLEFT]
  - OverlayFrame [Frame, 256x256, TOPLEFT+BOTTOMRIGHT]
    - SparkTexture [Texture, TOP]
    - GlowTexture [Texture, 256x256, TOPLEFT+BOTTOMRIGHT]
    - LowHealthTexture [Texture, 256x256, TOPLEFT+BOTTOMRIGHT]
    - GlossTexture [Texture, 256x256, TOPLEFT+BOTTOMRIGHT]

OrbFrame

The base frame to house all children.

OrbFrame.BackgroundTexture

A 256x256 background texture that lives behind all the other art.

OrbFrame.FillingStatusBar

A vertically filled statusbar with a circular/orb filling texture.

OrbFrame.ClipFrame

A helper frame which is anchored to the BOTTOMLEFT. The height of the frame is dependent on the FillingStatusBar:GetStatusBarTexture():GetPoint() and adapts dynamically when the filling statusbar changes value. It clips the Model Scene.

OrbFrame.ClipFrame.ModelFrame

A ModelScene which the model get loaded into. It consists of an actor and a camera. Over 200 preconfigured models are provided. More on that later in the camera section.

OrbFrame.OverlayFrame

Just a frame on top of the clip frame to house some more textures on another layer.

OrbFrame.OverlayFrame.SparkTexture

To give the orb value a bit more dimension a spark texture is used. This is a horizontal divider texture which is bound by a circular mask texture. Same as the ClipFrame its point is reliant on the FillingStatusBar:GetStatusBarTexture():GetPoint() and adapts dynamically when the filling statusbar changes value. The circular mask texture is needed to clip the spark texture to stay believable inside the orb.

OrbFrame.OverlayFrame.GlowTexture

A glow texture that can be used for debuff highlighting.

OrbFrame.OverlayFrame.LowHealthTexture

A secondary glow texture that can be used for low health highlighting.

OrbFrame.OverlayFrame.GlossTexture

This of this as a final gloss layer ontop of everything. Sort of like the crystal top on a pocket watch.

ZorkCamera

To position a model correctly inside a ModelScene an actor and a camera is needed. The actor will always be at vector [0,0,0]. The picked model is the actor we are trying to look at in 3D space.

Blizzard provides the OrbitCameraMixin which I adapted into ZorkCameraMixin. The camera can fly around a target at a set distance in an orbit. Like a satelite around earth. I changed the camera type to react to mouse buttons. That change allows users to configure models on the fly using full mouse controls. Our target never moves. It is the actor at [0,0,0]. That is why the camera target can stay at [0,0,0] aswell.

The base camera functions are as follows:

--left
self:SetLeftMouseButtonXMode(ZORK_CAMERA_MOUSE_MODE_YAW_ROTATION, true)
self:SetLeftMouseButtonYMode(ZORK_CAMERA_MOUSE_MODE_PITCH_ROTATION, true)
--right
self:SetRightMouseButtonXMode(ZORK_CAMERA_MOUSE_PAN_HORIZONTAL, true)
self:SetRightMouseButtonYMode(ZORK_CAMERA_MOUSE_PAN_VERTICAL, true)
--NEW: m4
self:SetMouse4ButtonXMode(ZORK_CAMERA_MOUSE_MODE_NOTHING, true)
self:SetMouse4ButtonYMode(ZORK_CAMERA_MOUSE_MODE_ROLL_ROTATION, true)
--NEW: m5
self:SetMouse5ButtonXMode(ZORK_CAMERA_MOUSE_MODE_NOTHING, true)
self:SetMouse5ButtonYMode(ZORK_CAMERA_MOUSE_MODE_ROLL_ROTATION, true)
--wheel
self:SetMouseWheelMode(ZORK_CAMERA_MOUSE_MODE_ZOOM, true)
  • Camera Yaw/Pitch on left mouse.
  • Camera position x/y offset on a 2D plane right mouse.
  • Camera roll on m4 or m5.
  • Camera zoom on mouse wheel.

Shift and Alt modifiers are added to only move the camera on x/y or to increase/decrease zoom speed.

How to spawn the orb

local orb = CreateFrame("Frame", nil, UIParent, "rModelOrbTemplate")

--get all model data, a list of all 200+ preconfigured models. The index-key is the modelFileID.
local allModelData = orb:GetAllModelData()

--LoadModelDataByID(modelFileID, enableMouse)
--modelFileID (has to be part of allModelData), enableMouse true/false
--if enableMouse is true you can dynamically adjust the model configuration using the mouse. Changes are saved on the fly for the selected model.
orb:LoadModelDataByID(2030216, true)

orb:SetPoint("CENTER")
orb.FillingStatusBar:SetValue(0.5) --50%
--orb.FillingStatusBar:SetStatusBarColor(1,0,0)
CurseForge: https://www.curseforge.com/wow/addons/rmodelorbtemplate

用户评价

暂无 / 5,0 条评价
免费插件下载后可以评价;付费插件 / WA 购买后可以评价;委托订单完成后可以评价。
暂无评价。

相关推荐

继续看看这些内容

全站搜索