Author Topic: FOV Stuff  (Read 3178 times)

It doesn't make sense to be changing FOV during gameplay. 

Are you kidding me? It would be great for a sniper scope, for example.

Code: [Select]
function serverCmdFOV(%client, %number)
{
   if(%number >= 360)
      {
          messageClient(%client, '', "FOV can't be bigger than 360!);
      }
       else
    if(%number <= 0)
       {
           messageClient(%client, '', "FOV can't be smaller than 0!");
       }
       else
             %FOV = %number;
             setFOV(%number);
        }
}
Don't directly copy that, as it doesn't use tabs, but spaces.             

i want to use it to add more of a sense of claustrophobia when player's are climbing through vents in my infiltration tdm. :x
then you should never host any server

then you should never host any server
I see no problem at all with doing that.

At all.

Code: [Select]
function serverCmdFOV(%client, %number)
{
   if(%number >= 360)
      {
          messageClient(%client, '', "FOV can't be bigger than 360!);
      }
       else
    if(%number <= 0)
       {
           messageClient(%client, '', "FOV can't be smaller than 0!");
       }
       else
             %FOV = %number;
             setFOV(%number);
        }
}
Don't directly copy that, as it doesn't use tabs, but spaces.            
Except serverCmds are serverside and setFov is clientside, if someone tries to use it it will either change the hosts's FOV (listen servers) or report 'unknown function setFOV' (dedicated servers)
If you want the server to be able to tell the client to set the FOV (such as events), you'll need a clientside add-on
For just changing your FOV, you don't even need anything serverside
« Last Edit: October 11, 2011, 12:03:41 PM by Headcrab Zombie »

I see no problem at all with doing that.

At all.
because you're essentially forcing the player to do what you want and give them no say! it's like forcing them to rebind their controls when they play on your server

I just want at a bare minimum to be able to adjust my own FOV without going into the console so much.

because you're essentially forcing the player to do what you want and give them no say! it's like forcing them to rebind their controls when they play on your server
well i'm already forcing them into a vent, forget what they say.

because you're essentially forcing the player to do what you want and give them no say! it's like forcing them to rebind their controls when they play on your server
If you don't want the server to change your FOV, then you don't download the client-side add-on that doing so would require.
There are already many clientCmds that could be used to mess with the client, yet I've never heard of any instances where people cared enough to abuse them to the point that people complained, I've only seen them used to made legitimate add-ons.

I just want at a bare minimum to be able to adjust my own FOV without going into the console so much.
dig around in the config files.
If you don't want the server to change your FOV, then you don't download the client-side add-on that doing so would require.
There are already many clientCmds that could be used to mess with the client, yet I've never heard of any instances where people cared enough to abuse them to the point that people complained, I've only seen them used to made legitimate add-ons.
would said addon openly advertise the feature of letting people change your fov?

would said addon openly advertise the feature of letting people change your fov?
...yes?

...yes?
then in that case i have no problems as long as you aren't forcing people to download it to play on your server or you can disable it