minetest-mods / castle

A fork of Dan's fork old my old castle mod. :P
Other
5 stars 7 forks source link

Arrowslits are broken #21

Open Philipbenr opened 8 years ago

Philipbenr commented 8 years ago

Arrowslits do not work:

arrowslit

I think it is because of the selection box encompassing the slit. Anybody know off-hand?

sofar commented 8 years ago

the collision box is what prevents entities from going through

Philipbenr commented 8 years ago

Cool. Then I'll go add a nodebox selectionbox to it. Just need to fix it now. ;)

Napiophelios commented 8 years ago

remove the selection box from arrow slits and it works fine, its just ugly if you have the wrong selection box color in your config file.

Philipbenr commented 8 years ago

"its just ugly if you have the wrong selection box color in your config file."

What? are you talking about node-highlighting?

sofar commented 8 years ago

the node still needs a decent selection box, otherwise digging is difficult.

collision boxes default to the selection boxes.

Napiophelios commented 8 years ago

Philipbenr,if you arent using node high lighting, you have a selection box color (default is black I think) Any kind of node box without a selection box uses the node box coordinates and its usually ugly with lots of lines

arrow slit selection box as they are look nicer but you cant shoot an arrow through it.

Sofar, can you have a selection box and a collision box in the node registration? or does one cancel the other?

sofar commented 8 years ago

no, you can have both, for this exact purpose.