Raised This Month: $51 Target: $400
 12% 

[ANY] Unrestricted FOV


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
3628
Plugin Version:
1.2.0
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    121 
    Plugin Description:
    Allows clients to pick their own FOV, even if it's outside of the game's bounds
    Old 04-19-2013 , 23:27   [ANY] Unrestricted FOV
    Reply With Quote #1

    [ANY] Unrestricted FOV

    v1.2.0

    Description:
    Allows players to choose their own FOV settings, even if their desired FOV is outside of the game's normal bounds. FOV settings are stored in Clientprefs.

    Players can choose their FOV setting by typing !fov <number>. To reset to their client's FOV setting, players should just type !fov.

    This is only tested in TF2 but should work in all games.

    Warning: This plugin is capable of modifying a player's field of view (FOV) beyond the normal limits that the game sets. While this plugin will not trigger a VAC ban, third-party anti-cheat solutions may mistakenly ban players who use this plugin to set their FOV. I was unable to trigger a SMAC ban using this plugin, but you may want to test it yourself prior to installing it.

    Cvars:
    • ufov_version - plugin version
    • ufov_auto_update - enables automatic updating (has no effect if Updater is not installed), defaults to 1
    • ufov_min - minimum value a player can choose for their FOV, defaults to 20
    • ufov_max - maximum value a player can choose for their FOV, defaults to 130

    Installation:
    Put unrestricted_fov.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load unrestricted_fov" into your console or rcon.

    Auto Update:
    Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.

    Changelog:
    • v1.2.0 (5/29/13)
      • Custom FOV is no longer reset after teleporting.
    • v1.1.0 (5/12/13)
      • Players' FOVs are no longer reset when exiting a sniper scope
    • v1.0.0 (4/19/13)
      • Initial release

    Download Plugin (unrestricted_fov.smx)
    View Source (unrestricted_fov.sp)


    Requires updater.inc, mckayupdater.sp, and easy_commands.inc to compile.
    __________________

    Last edited by Dr. McKay; 07-14-2020 at 04:34.
    Dr. McKay is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 19:22.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode