tModLoader

tModLoader

54 个评价
Dynamic Zoom
   
奖励
收藏
已收藏
取消收藏
模组功能: 体验优化, 视效调整
模组端: 客户端
tModLoader版本: 1.4.4
语言: 英语, 俄语
文件大小
发表于
更新日期
49.128 KB
5 月 4 日 上午 8:25
12 月 7 日 上午 9:22
5 项改动说明 ( 查看 )

订阅以下载
Dynamic Zoom

描述
This mod automatically zoom in your screen in towns (if no boss or invasion is present) and zoom out when leaving.

There is also config so you can change anything according to your liking.

Probably will break with mods tampering with zoom settings. No, i will not fix that.

Created by request of a friend of mine.

I did some reflections and maybe it supports Better Zoom now. Maybe. Probably.

Also now supports AbsoluteZinema.

(i lost source code and had to decompile my own mod to make new update)
引用自 tModLoader KirillandDynamicZoom
Developed By KIRILLAND
12 条留言
onceWasKIRILLAND  [作者] 12 月 7 日 上午 9:24 
@FTWImCody, Issue addressed, should quickly zoom-out back when you leave world.
@БОРОДА, Delay added, not distance though. Hadn't had enough time for that yet.
onceWasKIRILLAND  [作者] 12 月 2 日 上午 10:20 
seems like my mod issue, will try to get some time to fix that plus implement some new features soon
sorry for inconvenience
FTWImCody 12 月 1 日 下午 3:04 
@onceWasKIRILLAND
I noticed a bug with this mod(at least it seems to be this mod) where you logout of a Town, and then log back in, it super zooms in even more than it should. If I logout and back in while in the town, it will scale all the way up to 200%, then it only drops down to 170% instead of 100%.I have to manually set the Zoom level back down every time I log back in
БОРОДА 11 月 23 日 下午 1:52 
anyway, for now i bet that if you add delay, that would already make it super subtle.
and i will stop nagging after that, who knows =)
БОРОДА 11 月 23 日 下午 1:46 
@onceWasKIRILLAND
Yeah just searched too, this seems to be a hardcoded variable.
as far as i figured it, creating a routine in PostUpdate with your own defined properties is the solution.
onceWasKIRILLAND  [作者] 11 月 23 日 下午 12:58 
@БОРОДА,
1 - nice idea, will try implementing on next weekends
2 - this is handled by terraria itself (can't remember correctly, player.townNPC variable (town npc count nearby) or something) and i don't think this is possible the way it is implemented now. I, however, can try replicating the code behind that variable.
БОРОДА 11 月 22 日 上午 8:13 
Hi, that is a very nice idea and realization!
Not sure if you want to update this further, but i suggest on adding just 2 settings that would make it pretty much finished (IMO):

1) Add configurable delay before zoom in-out takes place.
2.1) Make configurable the radius that triggers zooming.
2.2) Ideally, make "town entering" and "town leaving" trigger lines' distances separately adjustable. It would be much more pleasing to avoid this zoom-twitching when you cross that trigger line back and forth. Besides, it would add this perfect touch of immersion, making zooming-in when you come very close to town folks, and zooming-out when you have truly deicded to move out and already have come off far.

Give it a thought when you have the time and passion. Thanks
wizjak 8 月 22 日 上午 11:13 
nice
onceWasKIRILLAND  [作者] 5 月 12 日 上午 6:15 
@Haite, probably won't update much, however, if you have a good idea, i might implement it! Feel free to suggest!
onceWasKIRILLAND  [作者] 5 月 12 日 上午 6:13 
@Adolf Charles, that's nice, Mirsario has more experience with modding, he is literally one of tmodloader devs. I hope he will figure out the right way to support mods that change zoom level.