Change fov through a mod

User avatar
TheInformer
Member
 
Posts: 23
Joined: Wed Feb 08, 2017 21:29
GitHub: Repugnus
IRC: TheInformer
In-game: TheInformer

Change fov through a mod

by TheInformer » Sun Feb 19, 2017 01:04

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
Hi
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Change fov through a mod

by Krock » Sun Feb 19, 2017 11:36

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.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 27 guests

cron