tModLoader

tModLoader

Dynamic Zoom
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.
Adolf Charles 5 月 8 日 上午 2:21 
overhaul might be doing something simular soon
Haite 5 月 6 日 下午 11:06 
Feels very good! A shame you won't be updating it tho