AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Unrestricted FOV (https://forums.alliedmods.net/showthread.php?t=213866)

Dr. McKay 04-19-2013 23:27

[ANY] Unrestricted FOV
 
[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.

Fearts 04-19-2013 23:55

Re: [ANY] Unrestricted FOV
 
Cool

vodka00 04-20-2013 13:18

Re: [ANY] Unrestricted FOV
 
Haha, this is pretty fun.

rowedahelicon 04-20-2013 14:43

Re: [ANY] Unrestricted FOV
 
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.

lyric 04-20-2013 14:59

Re: [ANY] Unrestricted FOV
 
Quote:

Originally Posted by rowedahelicon (Post 1936587)
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.....

rowedahelicon 04-20-2013 16:16

Re: [ANY] Unrestricted FOV
 
Quote:

Originally Posted by lyric (Post 1936597)
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.

ddhoward 04-20-2013 18:42

Re: [ANY] Unrestricted FOV
 
You will never get VAC banned for something that the server is doing. That's not how VAC works.

ilga80 04-21-2013 08:44

Re: [ANY] Unrestricted FOV
 
1 Attachment(s)
where to get easy_commands, mckayupdater.sp ?
weapons are not visible :cry:

Dr. McKay 04-21-2013 08:50

[ANY] Unrestricted FOV
 
Quote:

Originally Posted by ilga80 (Post 1936964)
where to get easy_commands, mckayupdater.sp ?
weapons are not visible :cry:

easy_commands.inc

mckayupdater.sp is in my Bitbucket repo.

PBSGTS 04-21-2013 19:52

Re: [ANY] Unrestricted FOV
 
Any way to do semitransparent weapons or is that all client side?


All times are GMT -4. The time now is 00:56.

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