Page 1 of 1

Change fov through a mod

PostPosted: Sun Feb 19, 2017 01:04
by TheInformer
I think there should be a method to change fov like
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
minetest.set_fov(player, fov)


what are your thoughts

Re: Change fov through a mod

PostPosted: Sun Feb 19, 2017 11:36
by Krock
I think the zoom privilege is enough for the moment. It was added in 0.4.14-dev and allows players to change the fov ingame to the value of the setting "zoom_fov".
It's also possible to revoke and grant privileges to players easily in a mod, like when holding a gun or similar.