• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

How to Center a Door?

Lion7390

Refugee
Hey Ladys and Gentleman,

iam searching a door that ist Center of a Block, like the Bulletproof Glass.

How can i implement that?

Is it possible with the Blocks xml? Or how?

Thx for the answer

Greetz Lion

 
You maybe could just copy whichever door you wanna use in blocks.xml, and use the ModelOffset property to center it in its block space. It might be a bit wonky when trying to interact with the part of the door that would then extend outside its space when opened, but I'd think it wouldn't be too bad. Something like

<property name="ModelOffset" value="0,0,-0.5"/>


might be what you want. Not tested though, so the value needed will likely be different. But that should get you on your way.

 
Back
Top