Monthly Target: $400 Donations: $140
 35% 

[ANY] Unrestricted FOV


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    374 
    Plugin Description:
    Allows clients to pick their own FOV, even if it's outside of the game's bounds
    Old 04-20-2013 , 00: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; 08-23-2013 at 23:11.
    Dr. McKay is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 04-20-2013 , 00:55   Re: [ANY] Unrestricted FOV
    Reply With Quote #2

    Cool
    __________________
    Fearts is offline
    vodka00
    Veteran Member
    Join Date: Jun 2012
    Location: Los Angeles
    Old 04-20-2013 , 14:18   Re: [ANY] Unrestricted FOV
    Reply With Quote #3

    Haha, this is pretty fun.
    __________________
    cw main:

    cw speedruns:
    vodka00 is offline
    rowedahelicon
    Senior Member
    Join Date: Feb 2011
    Location: JenniferAnnistan
    Old 04-20-2013 , 15:43   Re: [ANY] Unrestricted FOV
    Reply With Quote #4

    For clarification, this is safe correct? I assume this works the same way as a lot of RTD effects work. The Open Plugin for Fov being banned recently raises concern is all.
    __________________
    Furry? Tired of the boring crowd? Hit up SCG. http://www.southerncrossgaming.org
    rowedahelicon is offline
    Send a message via Skype™ to rowedahelicon
    lyric
    Veteran Member
    Join Date: Sep 2012
    Old 04-20-2013 , 15:59   Re: [ANY] Unrestricted FOV
    Reply With Quote #5

    Quote:
    Originally Posted by rowedahelicon View Post
    For clarification, this is safe correct? I assume this works the same way as a lot of RTD effects work. The Open Plugin for Fov being banned recently raises concern is all.
    this has nothing to do with the banned open plugin. this is a server-side mod so you wont get vac banned for using it like any other plugin.....
    __________________
    lyric is offline
    rowedahelicon
    Senior Member
    Join Date: Feb 2011
    Location: JenniferAnnistan
    Old 04-20-2013 , 17:16   Re: [ANY] Unrestricted FOV
    Reply With Quote #6

    Quote:
    Originally Posted by lyric View Post
    this has nothing to do with the banned open plugin. this is a server-side mod so you wont get vac banned for using it like any other plugin.....
    Just makin' sure, I've had a lot of people ask me already and wanted to totally make sure.
    __________________
    Furry? Tired of the boring crowd? Hit up SCG. http://www.southerncrossgaming.org
    rowedahelicon is offline
    Send a message via Skype™ to rowedahelicon
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 04-20-2013 , 19:42   Re: [ANY] Unrestricted FOV
    Reply With Quote #7

    You will never get VAC banned for something that the server is doing. That's not how VAC works.
    ddhoward is offline
    ilga80
    Senior Member
    Join Date: Nov 2012
    Old 04-21-2013 , 09:44   Re: [ANY] Unrestricted FOV
    Reply With Quote #8

    where to get easy_commands, mckayupdater.sp ?
    weapons are not visible
    Attached Thumbnails
    Click image for larger version

Name:	fov.jpg
Views:	508
Size:	87.1 KB
ID:	118817  
    ilga80 is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 04-21-2013 , 09:50   [ANY] Unrestricted FOV
    Reply With Quote #9

    Quote:
    Originally Posted by ilga80 View Post
    where to get easy_commands, mckayupdater.sp ?
    weapons are not visible
    easy_commands.inc

    mckayupdater.sp is in my Bitbucket repo.
    __________________
    Dr. McKay is offline
    PBSGTS
    Senior Member
    Join Date: Nov 2011
    Old 04-21-2013 , 20:52   Re: [ANY] Unrestricted FOV
    Reply With Quote #10

    Any way to do semitransparent weapons or is that all client side?
    PBSGTS is offline
    Reply


    Thread Tools
    Display Modes

    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 02:30.


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