Ok, so I decided I wanted a nice, smooth round background for my minimap. I created the TGA, got it saved good, got it in game. One problem: it covers the map! Now, I could cut out just the right sized ring, but that would be... tricky. At least for me and my minimal photoshop skills. So I figured I could shove the texture to the back strata, right?
That's what I have. But MinimapBorder keeps reporting nil for the SetStrata function ><. *grumbles* What am I doing wrong? Is what I want even possible?
Essentially, I eventually want all the elements in my interface to have a thing, partially transparent border, ala aguf's default borders, and Maia's mockup in the Bartender thread.
I could also use the function that alters the alpha on the frame ^^. Maybe I should just make a new frame? Any pointers then?
Help!
Thanks in advance.
(Oh, and I promised shotguns, but I used my last one on this texture here. Sorry.)
SetFrameStrata is throwing nil on me, though. I gotta see if I can get bugsack working, it's been hosed the past few updates.
Edit: Bugsack fixed.
attempt to call method `SetFrameStrata' (a nil value)
If it matters any, I'm just throwing this in idMinimap (seemed appropriate, didn't want to go through the hassle of making a separate mod). It's in the enable function at the bottom...
I'll try making a frame.
Edit: Frame works, but not as intended...
Edit: Ok, it does work as intended, I just need to size, position, and clean up my crappy texture.
Well, you can change the alpha by editing the second to last line. And, uhm, I'd change the color by editing the texture file, but I'm sure there's a way to do that in script, although how is entirely lost on me.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Except, I can't figure out how!
That's what I have. But MinimapBorder keeps reporting nil for the SetStrata function ><. *grumbles* What am I doing wrong? Is what I want even possible?
Essentially, I eventually want all the elements in my interface to have a thing, partially transparent border, ala aguf's default borders, and Maia's mockup in the Bartender thread.
I could also use the function that alters the alpha on the frame ^^. Maybe I should just make a new frame? Any pointers then?
Help!
Thanks in advance.
(Oh, and I promised shotguns, but I used my last one on this texture here. Sorry.)
That's because the function is SetFrameStrata.
Hopefully everything will work, otherwise I'll have to try making my own frame instead.
I'm at work right now, it'll be another 8 hours before I can fiddle with this again ^^.
We'll see tonight!
(Edit: Adding some stuff.)
Ok, for the sake of the "hijacking frames is bad" argument (I dunno, is it?).
Would that be close? ^^
dunno if it worked like that
SetFrameStrata is throwing nil on me, though. I gotta see if I can get bugsack working, it's been hosed the past few updates.
Edit: Bugsack fixed.
attempt to call method `SetFrameStrata' (a nil value)
If it matters any, I'm just throwing this in idMinimap (seemed appropriate, didn't want to go through the hassle of making a separate mod). It's in the enable function at the bottom...
I'll try making a frame.
Edit: Frame works, but not as intended...
Edit: Ok, it does work as intended, I just need to size, position, and clean up my crappy texture.
Edit: Success!
http://www.sfrepository.com/otherpics/minimap001.jpg
(Note, my interface is quite a work in progress!)