[DiscordArchive] correct?
[DiscordArchive] correct?
Archived author: tester • Posted: 2023-02-13T21:09:57.025000+00:00
Original source
i have something similar, so it could'vebeen
Archived author: tester • Posted: 2023-02-13T21:09:59.626000+00:00
Original source
me
Archived author: Foe • Posted: 2023-02-13T21:10:45.753000+00:00
Original source
It's whoever made that black market AH thing
Archived author: tester • Posted: 2023-02-13T21:11:43.930000+00:00
Original source
i mean i have 1 of those
Archived author: tester • Posted: 2023-02-13T21:11:51.495000+00:00
Original source
well 2, just 1 was shitty so we dont talk about it
Archived author: Foe • Posted: 2023-02-13T21:12:41.594000+00:00
Original source
```Lua
function CoordsToTexCoords(size, xTop, yTop, xBottom, yBottom)
local magic = (1/size)/2
local Top = (xTop/size) + magic
local Left = (yTop/size) + magic
local Bottom = (xBottom/size) - magic
local Right = (yBottom/size) - magic
return Top, Left, Bottom, Right
end
local Top, Left, Bottom, Right = CoordsToTexCoords(128, 35, 80, 68, 113)
print(Top, Left, Bottom, Right)```
Archived author: Foe • Posted: 2023-02-13T21:16:39.655000+00:00
Original source
Those values should give you the green region of this texture
![[Image: latest.png?ex=690c6779&is=690b15f9&hm=52...c789992f6&]](https://cdn.discordapp.com/attachments/415944535718494208/1074801313189208085/latest.png?ex=690c6779&is=690b15f9&hm=520beb1f93c873381bbced6c567b83a1ace53b4f4edaca2fb1b155ec789992f6&)
Archived author: Foe • Posted: 2023-02-13T21:16:41.891000+00:00
Original source
![[Image: latest.png?ex=690c6779&is=690b15f9&hm=52...c789992f6&]](https://cdn.discordapp.com/attachments/415944535718494208/1074801313189208085/latest.png?ex=690c6779&is=690b15f9&hm=520beb1f93c873381bbced6c567b83a1ace53b4f4edaca2fb1b155ec789992f6&)
Archived author: Foe • Posted: 2023-02-13T21:16:50.220000+00:00
Original source
Interface/FrameGeneral/UI-Frame.blp
Archived author: Foe • Posted: 2023-02-13T21:17:58.847000+00:00
Original source
Top left 80,35 and bottom right 113,68