Page 1 of 1

[LuaPlayer] min_zoom / max_zoom

Posted: Sun Aug 11, 2019 1:45 am
by Sceat
Request:

Code: Select all

LuaPlayer.max_zoom --[Write-only]

Code: Select all

LuaPlayer.min_zoom --[Write-only]
Why:

When making a RPG Scenario on a map where the player have to progress and find his way through structures and enemies, the immersion will be enhanced if the player can't see too much of the map

Exemples:

Immersive view with a max zoom limit :
Image

Vanilla view, the player can zoom out as much as he wants:
Image

Re: [LuaPlayer] min_zoom / max_zoom

Posted: Tue Aug 13, 2019 4:58 am
by eradicator
Alternatively: If player.zoom was part of the gamestate (and thus readable) this would be trivial to script. And being able to read zoom would generally make interacting with the player view much easier (custom zoom hotkeys, etc).

Re: [LuaPlayer] min_zoom / max_zoom

Posted: Tue Aug 13, 2019 5:12 am
by dog80
there is a debug option in f3? where you can enhance the minimal zoom in factor just fyi, so you can zoom more in :D

Re: [LuaPlayer] min_zoom / max_zoom

Posted: Sun Nov 17, 2019 11:57 pm
by raiguard
Bump. I would also like this. A simple mod to set the lower/upper limits would be way more convenient than Infinizoom's current implementation.

Re: [LuaPlayer] min_zoom / max_zoom

Posted: Mon Nov 18, 2019 6:50 am
by darkfrei
Raiguard wrote: Sun Nov 17, 2019 11:57 pm Bump. I would also like this. A simple mod to set the lower/upper limits would be way more convenient than Infinizoom's current implementation.
Press F3 and change the setting by min/max zoom. It's not moddable.