SetCameraFOV

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Sets the camera's World and 1st-Person Field-Of-View (FOV).

  • World FOV affects how close the world seems to the player: a lower value makes the world appear closer, and a higher value reveals more of the world to the player.
  • 1st-Person FOV affects how close the player's 1st-person hands and equipment appear to the player. If this value is set really high, like at 160, the player's hand appears stretched outwards in an unnatural manner, and model textures are clipping into the view.

If either worldFOV or 1stPersonFOV are set to 0 or are not specified, then the default value of 75 is used.

Both values are capped to 160.

If a negative value is passed for either argument, then the reciprocal of that absolute value is used.

Syntax

[help]
SetCameraFOV worldFOV:float{Default:75} 1stPersonFOV:float{Default:75} 

Or:

FOV worldFOV:float{Default:75} 1stPersonFOV:float{Default:75}

Example

SetCameraFOV

Sets both the World FOV and 1st Person FOV to 75.

fov -10

Sets the World FOV to 1/10, and the 1st Person FOV to 75.

See Also