Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 163
Search took 0.01 seconds.
Search: Posts Made By: LudiusMaximus
Forum: Lua/XML Help 05-25-20, 05:35 AM
Replies: 4
Views: 392
Posted By LudiusMaximus
I guess, if I am doing this in my addon, I can...

I guess, if I am doing this in my addon, I can keep track of how much I have changed the angle, so I will be able to get it back to 0. Initially I thought the angle is not reset after reloading the...
Forum: Lua/XML Help 05-25-20, 05:32 AM
Replies: 4
Views: 392
Posted By LudiusMaximus
Thanks for you reply, but it seems the angle...

Thanks for you reply, but it seems the angle change achieved with FlipCameraYaw() is not affected by SaveView()/SetView().
Forum: Lua/XML Help 05-25-20, 04:13 AM
Replies: 4
Views: 392
Posted By LudiusMaximus
Reset after using FlipCameraYaw()

I have used FlipCameraYaw (https://wow.gamepedia.com/API_FlipCameraYaw) several times (even with arguments having decimal places). Is there any way I can ever get the original centered view back...
Forum: Lua/XML Help 05-20-20, 04:22 PM
Replies: 2
Views: 354
Posted By LudiusMaximus
You are right. I completely missed that...

You are right. I completely missed that definition of ShowColorPicker() further above on the wiki page. Thanks!
Forum: Lua/XML Help 05-20-20, 12:22 PM
Replies: 2
Views: 354
Posted By LudiusMaximus
Colorpicker?

Can anybody tell me how to use this?
https://wow.gamepedia.com/Using_the_ColorPickerFrame
seems to be outdated (global ShowColorPicker() does not exist any more)
just as everything I could find on...
Forum: Lua/XML Help 05-14-20, 11:49 AM
Replies: 5
Views: 5,349
Posted By LudiusMaximus
Wow, even better! :) See also:...

Wow, even better! :)

See also: https://wow.gamepedia.com/Widget_API#Line
Forum: Lua/XML Help 05-14-20, 07:46 AM
Replies: 5
Views: 5,349
Posted By LudiusMaximus
This does not seem to work any more. The...

This does not seem to work any more.
The following is how it can be done.

local line = f:CreateTexture()
line:SetTexture("Interface/BUTTONS/WHITE8X8")
line:SetColorTexture(.6 ,.6, .6,...
Forum: Site help, bugs, suggestions/questions 05-12-20, 12:49 PM
Replies: 36
Views: 7,036
Posted By LudiusMaximus
So in order to have two changelogs I now created...

So in order to have two changelogs I now created a dedicated classic project (https://www.wowinterface.com/downloads/info25578-DynamicCamClassic.html) for my addon...
Forum: Site help, bugs, suggestions/questions 05-11-20, 02:52 AM
Replies: 13
Views: 2,102
Posted By LudiusMaximus
I rather want to provide the Retail and Classic...

I rather want to provide the Retail and Classic versions of DynamicCam in two separate projects, so I can display separate changelogs.
Could you please only delete the Classic file from...
Forum: Site help, bugs, suggestions/questions 05-06-20, 05:59 PM
Replies: 36
Views: 7,036
Posted By LudiusMaximus
Ah, I see. I uploaded again, because I thought...

Ah, I see. I uploaded again, because I thought something had gone wrong the first time: The page still only showed the retail version except for "Compatibility: Classic Patch (1.13.4)". So I uploaded...
Forum: Site help, bugs, suggestions/questions 05-06-20, 05:41 PM
Replies: 36
Views: 7,036
Posted By LudiusMaximus
I used the API to upload a classic version for...

I used the API to upload a classic version for DynamicCam (https://www.wowinterface.com/downloads/info25570-DynamicCam.html).

The file name was automatically given a date prefix. Is this normal, or...
Forum: Classic - AddOn Help/Support 04-16-20, 01:07 AM
Replies: 3
Views: 620
Posted By LudiusMaximus
Hi, if you want to execute code every second no...

Hi, if you want to execute code every second no matter what, you could do it like this:

local lastCall = GetTime()
local updateFrame = CreateFrame("Frame")
updateFrame:SetScript("onUpdate",...
Forum: Tutorials & Other Helpful Info. 04-15-20, 01:23 PM
Replies: 70
Views: 25,199
Posted By LudiusMaximus
What a great guide! Thanks! Updating these links...

What a great guide! Thanks!
Updating these links in the original post would make it even more...
Forum: AddOn Help/Support 04-03-20, 01:27 AM
Replies: 1
Views: 643
Posted By LudiusMaximus
As I have already told you...

As I have already told you (https://us.forums.blizzard.com/en/wow/t/changing-spell-sound-effect/481211/2?u=ludius-thunderlord) ;), you could try to hook PlaySound() as described here:...
Forum: Lua/XML Help 04-01-20, 07:52 AM
Replies: 2
Views: 870
Posted By LudiusMaximus
Hm, maybe the NormalTexture is not meant to be...

Hm, maybe the NormalTexture is not meant to be used like this for action bar buttons.
I found this work around:

local myButton = CreateFrame("CheckButton", nil,...
Forum: Lua/XML Help 04-01-20, 05:29 AM
Replies: 2
Views: 870
Posted By LudiusMaximus
CheckButton: PushedTexture not overlaying but replacing NormalTexture?

I want to emulate an action bar button:

local myButton = CreateFrame("CheckButton", nil, UIparent)
myButton:SetPoint("CENTER")
myButton:SetSize(50,...
Forum: Lua/XML Help 03-31-20, 08:27 AM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Ahhhh! Thank you so much! It turns out the layer...

Ahhhh! Thank you so much!

It turns out the layer of NineSlice.TopRightCorner is "OVERLAY", not "BORDER"!!
This is why I never had a chance! :D
Forum: Lua/XML Help 03-31-20, 08:20 AM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Sorry, but I have absolutely no idea what I am...

Sorry, but I have absolutely no idea what I am supposed to do with SetDrawLayer! :(

All I could come up with was this work around.

local oldX, oldY = 12, 24
local shrinkFactor =...
Forum: Lua/XML Help 03-31-20, 07:44 AM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Actually, I am getting very indeterministic...

Actually, I am getting very indeterministic results...

As I am trying to find the right offset and size it is sometimes drawn on top and sometimes drawn below the NineSlice border......
Forum: Lua/XML Help 03-31-20, 07:27 AM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Hm thanks, but could you please be a little more...

Hm thanks, but could you please be a little more specific?

Which is the LayeredRegion I should call SetDrawLayer() for?

The only texture I could think of was myFrame.NineSlice.TopRightCorner.

So I...
Forum: Lua/XML Help 03-31-20, 03:51 AM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
May I ask a related follow-up question? I would...

May I ask a related follow-up question?

I would like to place a button divider texture in my frame:

local myFrame = CreateFrame("Frame", "cosFix_SetFactorFrame", UIparent,...
Forum: Lua/XML Help 03-28-20, 06:29 PM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Thanks for your reply! So it is a lot of tweaking...

Thanks for your reply! So it is a lot of tweaking after all, unless you find the Atlas name or the TexCoords anywhere. I learned a lot today! Thanks again! :-D
Forum: Lua/XML Help 03-28-20, 05:39 PM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Ah, thanks! I see that this is used quite a...

Ah, thanks! I see that this is used quite a lot.

But when I try to find the textures and coordinates used by ButtonFrameTemplate, I seem to run into a dead end...

In...
Forum: Lua/XML Help 03-28-20, 05:05 PM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Thanks so much (again)! :-) So it comes down to...

Thanks so much (again)! :-)
So it comes down to SetTexCoord() once more.


Can I ask a general question regarding this?

If I have a texture file
e.g....
Forum: Lua/XML Help 03-28-20, 10:05 AM
Replies: 15
Views: 1,069
Posted By LudiusMaximus
Overlapping NineSlice textures with ButtonFrameTemplate

I am using ButtonFrameTemplate for a frame.
But as my frame has a low height I get overlapping NineSlice textures resulting in the frame shaddows adding up.

https://i.imgur.com/gFQ7EJo.jpg

local...
Showing results 1 to 25 of 163