Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] LUA Model from different angle? I use this: ``...

[DiscordArchive] LUA Model from different angle? I use this: ``...

[DiscordArchive] LUA Model from different angle? I use this: ``...

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
06-17-2025, 09:33 PM
#11
Archived author: Vel • Posted: 2025-06-17T21:33:28.867000+00:00
Original source

If you can tell me what configuration you put on this model
[Image: image.png?ex=690c6b68&is=690b19e8&hm=8b5...8f339c76a&]
rektbyfaith
06-17-2025, 09:33 PM #11

Archived author: Vel • Posted: 2025-06-17T21:33:28.867000+00:00
Original source

If you can tell me what configuration you put on this model
[Image: image.png?ex=690c6b68&is=690b19e8&hm=8b5...8f339c76a&]

rektbyfaith
Administrator
0
06-17-2025, 09:33 PM
#12
Archived author: Vel • Posted: 2025-06-17T21:33:31.624000+00:00
Original source

That would really help
rektbyfaith
06-17-2025, 09:33 PM #12

Archived author: Vel • Posted: 2025-06-17T21:33:31.624000+00:00
Original source

That would really help

rektbyfaith
Administrator
0
06-17-2025, 09:33 PM
#13
Archived author: Vel • Posted: 2025-06-17T21:33:49.500000+00:00
Original source

Mine currently look like this.
[Image: image.png?ex=690c6b7d&is=690b19fd&hm=aa3...5da56bfd7&]
rektbyfaith
06-17-2025, 09:33 PM #13

Archived author: Vel • Posted: 2025-06-17T21:33:49.500000+00:00
Original source

Mine currently look like this.
[Image: image.png?ex=690c6b7d&is=690b19fd&hm=aa3...5da56bfd7&]

rektbyfaith
Administrator
0
06-17-2025, 09:39 PM
#14
Archived author: Clotic • Posted: 2025-06-17T21:39:25.176000+00:00
Original source

```
-- Function to create GameObject card
local function createGameObjectCard(card, entity, i)
local model = CreateFrame("DressUpModel", "modelGob" .. i, card)
model:SetSize(card:GetWidth() - 30, card:GetHeight() - 40)
model:SetPoint("CENTER", card, "CENTER", 0, 25)
model:SetFrameStrata("DIALOG")
model:ClearModel()

local modelPath = entity.modelName or "World\\Generic\\ActiveDoodads\\Chest02\\Chest02.mdx"
local success, err = pcall(function()
model:SetModel(modelPath)
end)
if not success then
model:SetModel("World\\Generic\\ActiveDoodads\\Chest02\\Chest02.mdx")
local errorMsg = model:CreateFontString(nil, "OVERLAY")
errorMsg:SetFontObject("GameFontNormalLarge")
errorMsg:SetPoint("CENTER")
errorMsg:SetText("ERROR")
errorMsg:SetTextColor(1, 0, 0, 1)
end

model:SetRotation(math.rad(30))
card.nameText:SetText(entity.name)
card.entityText:SetText("GameObject ID: " .. entity.entry)
card.additionalText:SetText("Display ID: " .. entity.displayid)

card:SetScript("OnMouseUp", function(self, button)
if button == "RightButton" then
showContextMenu(MENU_CONFIG.TYPES.GAMEOBJECT, card, entity)
end
end)
addMagnifierIcon(card, entity, i, "GameObject")
end
```
rektbyfaith
06-17-2025, 09:39 PM #14

Archived author: Clotic • Posted: 2025-06-17T21:39:25.176000+00:00
Original source

```
-- Function to create GameObject card
local function createGameObjectCard(card, entity, i)
local model = CreateFrame("DressUpModel", "modelGob" .. i, card)
model:SetSize(card:GetWidth() - 30, card:GetHeight() - 40)
model:SetPoint("CENTER", card, "CENTER", 0, 25)
model:SetFrameStrata("DIALOG")
model:ClearModel()

local modelPath = entity.modelName or "World\\Generic\\ActiveDoodads\\Chest02\\Chest02.mdx"
local success, err = pcall(function()
model:SetModel(modelPath)
end)
if not success then
model:SetModel("World\\Generic\\ActiveDoodads\\Chest02\\Chest02.mdx")
local errorMsg = model:CreateFontString(nil, "OVERLAY")
errorMsg:SetFontObject("GameFontNormalLarge")
errorMsg:SetPoint("CENTER")
errorMsg:SetText("ERROR")
errorMsg:SetTextColor(1, 0, 0, 1)
end

model:SetRotation(math.rad(30))
card.nameText:SetText(entity.name)
card.entityText:SetText("GameObject ID: " .. entity.entry)
card.additionalText:SetText("Display ID: " .. entity.displayid)

card:SetScript("OnMouseUp", function(self, button)
if button == "RightButton" then
showContextMenu(MENU_CONFIG.TYPES.GAMEOBJECT, card, entity)
end
end)
addMagnifierIcon(card, entity, i, "GameObject")
end
```

rektbyfaith
Administrator
0
06-17-2025, 09:39 PM
#15
Archived author: Clotic • Posted: 2025-06-17T21:39:32.372000+00:00
Original source

should be i.
rektbyfaith
06-17-2025, 09:39 PM #15

Archived author: Clotic • Posted: 2025-06-17T21:39:32.372000+00:00
Original source

should be i.

rektbyfaith
Administrator
0
06-17-2025, 09:40 PM
#16
Archived author: Vel • Posted: 2025-06-17T21:40:10.300000+00:00
Original source

Ohhh.
rektbyfaith
06-17-2025, 09:40 PM #16

Archived author: Vel • Posted: 2025-06-17T21:40:10.300000+00:00
Original source

Ohhh.

rektbyfaith
Administrator
0
06-17-2025, 09:40 PM
#17
Archived author: Vel • Posted: 2025-06-17T21:40:18.100000+00:00
Original source

So you actually use creature model.
rektbyfaith
06-17-2025, 09:40 PM #17

Archived author: Vel • Posted: 2025-06-17T21:40:18.100000+00:00
Original source

So you actually use creature model.

rektbyfaith
Administrator
0
06-17-2025, 09:40 PM
#18
Archived author: Clotic • Posted: 2025-06-17T21:40:30.351000+00:00
Original source

Yeah
rektbyfaith
06-17-2025, 09:40 PM #18

Archived author: Clotic • Posted: 2025-06-17T21:40:30.351000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
06-17-2025, 09:41 PM
#19
Archived author: Clotic • Posted: 2025-06-17T21:41:03.770000+00:00
Original source

i think i did your way and i had same issue
rektbyfaith
06-17-2025, 09:41 PM #19

Archived author: Clotic • Posted: 2025-06-17T21:41:03.770000+00:00
Original source

i think i did your way and i had same issue

rektbyfaith
Administrator
0
06-17-2025, 09:41 PM
#20
Archived author: Clotic • Posted: 2025-06-17T21:41:10.728000+00:00
Original source

was a while ago
rektbyfaith
06-17-2025, 09:41 PM #20

Archived author: Clotic • Posted: 2025-06-17T21:41:10.728000+00:00
Original source

was a while ago

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)