Blockland Forums > Suggestions & Requests
Please Fix your Add-ons to STOP FORCING FOV
Legodude77:
Okay, every since one of the latest updates, Badspot added a fov slider. Hooray! Now I can play in 120 without having to use console commands or it resetting every time I zoom, right? Nope, because for some reason, a TON of add-ons force your fov back to 90. This includes things from weapons to playertypes. I've already told gcat about his weapons doing this, but there are many other add-ons out there that force fov back to 90. It's pretty annoying when you have to press zoom all the time just to get it back to your set fov. So coders, for the good of everything in this world, DON'T make your stuff force fov (Unless it's something like iron sights, as long as it goes back to the player's set fov when not in use it's fine).
Port:
^^^^^ this
temporary client-sided solution: PlayGUI.forceFOV = 120;
for add-ons developers, cache this value on the server-side: %client.getControlCameraFOV()
Legodude77:
--- Quote from: Port on December 25, 2013, 11:51:19 AM ---temporary client-sided solution: PlayGUI.forceFOV = 120;
--- End quote ---
This breaks zoom though. It doesn't work when you use this.
Lugnut:
Could you package setfov on the client side for if it gets setfov(90) it will set it to an arbitrary value the user wants?
--- Code: ---package setfovfix
{
function setfov(%fov)
If(%fov == 90) %fov = $Pref::Client::defaultFov;
parent::setfov(%fov);
};
ActivatePackage("setfovfix");
--- End code ---
Port:
Pretty sure that GameConnection::setControlCameraFOV does not call setFOV. Haven't tested it though.