camera FOV (for movies or whatever) needs 92.0

camera FOV (for movies or whatever) needs 92.0

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

camera FOV (for movies or whatever) needs 92.0

Post by knorke »

Since 92.0 Spring allows changing camera FOV without having to restart the engine.
With the wupdget from this mantis (pastebin) you can "zoom in and out" with 8 and 2 keys on numpad.
There is no checks for limits, meaning you can turn image upside down with negative fov and other funkyness. Also just noticed how uglymeh it is, but for playing it is useless anyway so who cares.

Might allow some new perspectives, for taking screenshots or recording movies.
Image

FOV state is not saved, so if you mess up your camera after restart everything is normal again.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: camera FOV (for movies or whatever) needs 92.0

Post by CarRepairer »

Post Reply

Return to “Lua Scripts”