Author Topic: In-game FOV change, ie. zoom?  (Read 1985 times)

0 Members and 1 Guest are viewing this topic.

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
In-game FOV change, ie. zoom?
Is that even remotely possible?

What I have in mind is a system excellently utilized in IL-2 Sturmovik series. There's three view modes that can be activated with corresponding key: Wide angle, normal and gunsight zoom modes. There's also the possibility to move between these modes in notches, but that's not very useful after all.


I think this kind of thing might be very useful, particularly with long-range weapons. It would allow more accuracy on long range, and it would be dead useful in disarming targets and such jobs. It might also be very suitable for mods such as TBP or BtRL. On the other hand, slight fish-eye effect could also be nice in some situations (though mainly screensnipers would get advantage from it, as it would allow better camera controls and the use of "different objectives", so to speak.

Plus, there would be the advantage of adjusting the field of view easier than with a command line option. I realize this is definitely *low* pririty request, but I'd like to know if it's in any way possible to change such rendering settings "in-flight" with a key shortcut.


Some system like

1 => -fov 0.50
2 => -fov 0.75 (default)
3 => -fov 0.80-0.85

and perhaps two other keys for changing the field of view in, say, notches of 0.05?


So, does anyone else think this would be a nice thing to have, or am I all alone in the dark? :D

And more importantly - what is the coders' point of view? Is this a trivial thing, or does it require hours and hours of tedious coding with nested loops and loops of nested loops? :nervous: With Stetson-Harrison-method I would feel it might not be too complicated feature, as there already is the -fov command line option... but then again, making a static command line option dynamic and bound to key commands might be not so simple as it might seem to a non-coder.

But make no mistake, this is just something that popped into my mind while I was playing with -fov cmdline option. It's definitely an "if it's easy to do and you have nothing more important to do" thing even for me.

 :D
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: In-game FOV change, ie. zoom?
You can change FOV via sexp at the start of your mission.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline aldo_14

  • Gunnery Control
  • 213
Re: In-game FOV change, ie. zoom?
You can change FOV via sexp at the start of your mission.

What about during?

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: In-game FOV change, ie. zoom?
Think so.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: In-game FOV change, ie. zoom?
Thanks for answers!  :)

So it can be done as coded in the mission event, such as keystroke (like, say, in Derelict's starting missions the deployment of nav buoys)?

Infinite times during mission, giving free reign over field of vision settings at any given time during a mission?


I'm not sure, but I've understood that the SEXPs are something that makes things happen in missions when something triggers them. But when the mission has run its course, doesn't it just... kinda end? :nervous: It would seem to me that this kind of thing would be more easily utilizable as a keystroke as opposed to something coded into mission structure, since it would enable the chance in all mission regardless of whether the option was coded into mission or not...
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: In-game FOV change, ie. zoom?
It would need to be enabled by a table entry. Some campaigns might not want their players to have that ability.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline aldo_14

  • Gunnery Control
  • 213
Re: In-game FOV change, ie. zoom?
Thanks for answers!  :)

So it can be done as coded in the mission event, such as keystroke (like, say, in Derelict's starting missions the deployment of nav buoys)?

Infinite times during mission, giving free reign over field of vision settings at any given time during a mission?


I'm not sure, but I've understood that the SEXPs are something that makes things happen in missions when something triggers them. But when the mission has run its course, doesn't it just... kinda end? :nervous: It would seem to me that this kind of thing would be more easily utilizable as a keystroke as opposed to something coded into mission structure, since it would enable the chance in all mission regardless of whether the option was coded into mission or not...

As an aside, I asked for something similar just a few days ago

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: In-game FOV change, ie. zoom?
Actually I believe the FOV change persists from mission to mission. Personally I'm of the opinion that it shouldn't, but it seems to, which is what you want so there you go.

You could link the change of FOV to a keystroke if you want using the key-pressed sexp, but I believe that only allows you to use keys which are actually used for other things in the game also. Kara or myself could knock you up a couple of events to do this in 5 minutes, unfortunately I don't have 5 minutes right now.  :nervous: Maybe later.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 
Re: In-game FOV change, ie. zoom?
GIB DESCENT 3 MASS DRIVER  :hopping: >.> <.<

  

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: In-game FOV change, ie. zoom?
The FOV will probably stay between missions. However it's a bug and should be fixed. Mantis plz.
-C