Monthly Target: $400 Donations: $147
 36% 

[ANY] FoV (Field of View)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Plugin ID:
1850
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    35 
    Plugin Description:
    Allows you to modify Field of View (FoV) for one or several client
    Old 08-02-2010 , 14:40   [ANY] FoV (Field of View)
    Reply With Quote #1

    Simple plugin that can modify FoV on any client. The default is 75.

    sm_fov <#userid|name> [value] - Sets a player's FoV
    fov_version - Current plugin version
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_fov.sp - 1307 views - 3.6 KB)
    __________________

    Last edited by Mecha the Slag; 08-29-2010 at 04:22.
    Mecha the Slag is offline
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 08-20-2010 , 17:51   Re: [ANY] FoV (Field of View)
    Reply With Quote #2

    It's sm_fov, not sm_pov, in case anyone can't get sm_pov to work.
    Afronanny is offline
    Matthias Vance
    Senior Member
    Join Date: Jan 2009
    Old 08-22-2010 , 06:26   Re: [ANY] FoV (Field of View)
    Reply With Quote #3

    • Your IsValidClient() can be replaced by IsClientInGame().
    • In your OnGameFrame() hook, you check for IsValidClient(), do a lot of stuff, and then check if it's alive. You should do the alive check sooner.
    • You are setting "g_CVof" only once, and then checking against it, while it will never change.
    Matthias Vance is offline
    Mecha the Slag
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 08-29-2010 , 04:18   Re: [ANY] FoV (Field of View)
    Reply With Quote #4

    Quote:
    Originally Posted by Matthias Vance View Post
    • You are setting "g_CVof" only once, and then checking against it, while it will never change.
    don't get what you mean by this, but the rest has been fixed
    __________________
    Mecha the Slag is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 01-14-2011 , 21:31   Re: [ANY] FoV (Field of View)
    Reply With Quote #5

    The commands don't seem to target players correctly. I just did /sm_fov "player" 100 and it changed everyone in the server's FOV. Same case for /sm_fov @me 100.
    xomp is offline
    Send a message via Skype™ to xomp
    SHAREN
    Senior Member
    Join Date: Dec 2011
    Old 01-22-2012 , 05:58   Re: [ANY] FoV (Field of View)
    Reply With Quote #6

    http://steamcommunity.com/id/renat4/...73792746719299
    http://steamcommunity.com/id/renat4/...73792746698388
    http://steamcommunity.com/id/renat4/...73792746709109

    weapons models only works on fov 90
    SHAREN is offline
    Send a message via Skype™ to SHAREN
    minimoney1
    SourceMod Donor
    Join Date: Dec 2010
    Old 01-22-2012 , 22:07   Re: [ANY] FoV (Field of View)
    Reply With Quote #7

    Wouldn't this get you banned on SMAC?
    minimoney1 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 09:43.


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