Page 1 of 1

How to remove hitbox?

PostPosted: Sun Apr 03, 2016 13:27
by azekill_DIABLO
Is there a way to make hitbox unvisible?
i think there are ugly!!
And if i want to do a mob which is hard to see, i just look at the hitbox to know where is it......

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 09:07
by Napiophelios
You can adjust these settings in the minetest.conf file :

# Selection box border color (R,G,B).
# type: string
# selectionbox_color = (0,0,0)

# Width of the selectionbox's lines around nodes.
# type: int min: 1 max: 5
# selectionbox_width = 2

# Crosshair color (R,G,B).
# type: string
# crosshair_color = (255,255,255)

# Crosshair alpha (opaqueness, between 0 and 255).
# type: int min: 0 max: 255
# crosshair_alpha = 255

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 12:02
by azekill_DIABLO
ok thanks!

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 12:05
by azekill_DIABLO
i don't understand.....

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 12:45
by Napiophelios
These are the settings I use
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
enable_node_highlighting = false
selectionbox_width = 1       
selectionbox_color = (0,0,0)

I think these are the default values,
except for the "enable_node_highlighting"
That may be the only one you need to really change to "false".

If this doesnt help you, then I have completely misunderstood
what it is you are talking about :P

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 15:23
by azekill_DIABLO
in which folder?(exactly:for win7)

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 17:59
by Dragonop
Napiophelios, I think he's talking about making the hitbox for an specific entity invisible when trying to point at it, but still hit-able

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 18:21
by Napiophelios
yeah...I suspected halfway thru we were talking about 2 different things :)

I guess all you can do is try to minimize the collisionbox for the entity
but that will make it that much harder to hit if you have to engage it.

Next time post your modding questions here for better service.

Re: How to remove hitbox?

PostPosted: Mon Apr 04, 2016 22:48
by MineYoshi
isn't anyway to change the color of the hitbox of a entity?