Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: CommanderDJ on March 04, 2011, 08:28:44 am

Title: The set-fov SEXP
Post by: CommanderDJ on March 04, 2011, 08:28:44 am
Hello,
Could someone explain to me what the set-fov SEXP does? I'm looking for a way to set the player's fov to 0.4 for a particular mission regardless of whether or not they have it set in the launcher, but the set-fov SEXP doesn't seem to be doing this. Unless I'm doing it wrong (likely). So could someone give me a quick explanation of the SEXP and/or a way to set the player's FOV while they're actually using a fighter?
Title: Re: The set-fov SEXP
Post by: Kinman on April 08, 2011, 12:57:17 am
Hello,
I don't know how set-fov behaves in the "fighter view" but when you use it in cutscenes it works fine. Just enter the field of view you wish in degrees. I don't know, what's the standard fov. I used a value about 70 to get a slight wide angle view. So 0.4 maybe will not work or you'll get an extreme zoom.

Greetings
Kinman

(Yes I know, it's a very long time ago since the thread was created)
Title: Re: The set-fov SEXP
Post by: Nuclear1 on April 08, 2011, 10:10:34 am
The reason 0.4 isn't working for you is because FRED doesn't like having decimals in its SEXPs.

set-fov, if you use it right with variables and such, can create a zoom effect.  That's mostly what it's useful for.
Title: Re: The set-fov SEXP
Post by: Luis Dias on April 08, 2011, 12:26:17 pm
The reason 0.4 isn't working for you is because FRED doesn't like having decimals in its SEXPs.

Extreme zoom is thus impossible...!
Title: Re: The set-fov SEXP
Post by: General Battuta on April 08, 2011, 12:31:56 pm
The reason 0.4 isn't working for you is because FRED doesn't like having decimals in its SEXPs.

set-fov, if you use it right with variables and such, can create a zoom effect.  That's mostly what it's useful for.

You can use the zoom script, should handle it.