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

[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:
     
    Plugin Description:
    Allows you to modify Field of View (FoV) for one or several client
    Old 08-02-2010 , 13: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 - 3456 views - 3.6 KB)
    __________________

    Last edited by Mecha the Slag; 08-29-2010 at 03:22.
    Mecha the Slag is offline
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 08-20-2010 , 16: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 , 05: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 , 03: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 , 20: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 , 04: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 , 21:07   Re: [ANY] FoV (Field of View)
    Reply With Quote #7

    Wouldn't this get you banned on SMAC?
    minimoney1 is offline
    FroGeX
    Senior Member
    Join Date: Aug 2020
    Old 01-04-2021 , 13:24   Re: [ANY] FoV (Field of View)
    Reply With Quote #8

    still works?
    FroGeX is offline
    AePT
    Member
    Join Date: Jan 2016
    Old 01-04-2021 , 13:40   Re: [ANY] FoV (Field of View)
    Reply With Quote #9

    Quote:
    Originally Posted by FroGeX View Post
    still works?
    Yes sir, it still works.

    Greetings!
    AePT is offline
    XHUNTERX
    Senior Member
    Join Date: Aug 2019
    Location: World
    Old 01-05-2021 , 00:04   Re: [ANY] FoV (Field of View)
    Reply With Quote #10

    Quote:
    sm_fov.sp
    //
    // J:\sourcemod-1.10.0-git6488-windows\addons\sourcemod\scripting\sm_fov.sp( 29) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
    XHUNTERX 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 06:29.


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