Button Model

Status
Not open for further replies.
Level 19
Joined
Mar 18, 2012
Messages
1,716
Hi folks!

I have this nice blue button model ( attached in the post ) from the
Warcraft III start menues. My problem is, that the model isn't centered,
when I place it on the map. It's a bit shifted to the left. Because
of that I always have to fix the position of the button depending on the
screen resolution ( :/ )
JASS:
            local real     fixedX = x + (.0200*(1600/screen.width)*screen.width)
            //*
            set dest = CreateDestructableZ(BLUE_BUTTON_ID, fixedX, y, 0, 180, 1, 0)
I know a lot about coding, but sadly not much about modeling,
so I would like to ask you if you can edit or make a button model,
with an origin directly in the center of the model.

If you can add an invisible trackable model with equal size ... that would be amazing.

BPower
 

Attachments

  • BlueButtonSmallCenter.mdx
    6.4 KB · Views: 61

ILH

ILH

Model Reviewer
Level 34
Joined
May 8, 2012
Messages
1,579
If you find something like this again, get mdlvis, open the model in mdlvis, tick the correct geoset (The current selected geoset will show it's vertex aka dots in the view screen) and untick the uneeded ones, click anywhere on the view screen, Ctrl+A, click the Move/Hand tool (on the right), set the X and Y to 0, press enter, save model.

EDIT2: Fixed, probably
 

Attachments

  • BlueButtonSmallCenter.mdx
    6.4 KB · Views: 67
Status
Not open for further replies.
Top