Jump to content

Spyglass - v0.4.3


Fuami
 Share

Recommended Posts

Adds a new tool to the game, the spyglass.

Some metal smithing, and glass smelting you can have your very own spyglass, then go exploring the wilds, or spy on your neighbors from the safety of your windmill.

As of v0.3.0 - You can now use the mouse wheel to adjust your zoom some while your are using the spyglass.

As of v0.3.1 - Config Options

Also for the record, you shouldn't smack things with your spyglass, you might cause it damage!

 

On the Mod DB at https://mods.vintagestory.at/spyglass

Or on GitHub at https://github.com/fuami/Spyglass

Edited by Fuami
Supported Versions updated...
  • Like 4
Link to comment
Share on other sites

  • Fuami changed the title to Spyglass - v0.2.0

Heyo!

I built the shader (that eyeball shader effect) for Gox's most excellent Zoommod. https://mods.vintagestory.at/show/mod/233 (It's not in the video, you'd have to install the mod to see it in action).  Anyways, if you'd like to implement the same sort of thing (but circular) in your mod, you're more than welcome to that code.  

Link to comment
Share on other sites

7 hours ago, Chrysander said:

Minor niggle, though: Shouldn't it be "spyglass half" and not "spyglass halve"?

Quite right, I'll fix that. No Idea what I was thinking lol.

1 hour ago, Spear and Fang said:

Heyo!

I built the shader (that eyeball shader effect) for Gox's most excellent Zoommod. https://mods.vintagestory.at/show/mod/233 (It's not in the video, you'd have to install the mod to see it in action).  Anyways, if you'd like to implement the same sort of thing (but circular) in your mod, you're more than welcome to that code.  

Thanks for the offer, I'm personally not a big fan of the the vignette, if lots of people want it I might add a possible option. But I tried to ensure that the spyglass remained functional even with other mods that add a "zoom key." There by, adding it here would also possibly conflict in that way. Still I certainly appreciate it :D

Combining both zooms is pretty ridiculous, you can count the hairs on your sheep from the near by mountain.

  • Like 3
  • Haha 1
Link to comment
Share on other sites

  • Fuami changed the title to Spyglass - v0.2.1
  • Fuami changed the title to Spyglass - v0.2.2

This will probobly be the last update unless something is broken or I get an idea, since with this update I've pretty much finished what was left on my Todo List.

New for v0.3.0

  1. Adds a player animation for using the spyglass, so you should be able to see people using them, and your shadow reflects that.
  2. It also adds an addition where you can use your mouse wheel to adjust the zoom slightly while using the spyglass, letting you dial in what your looking at slightly.

I've also added a short demo video on the ModDB page so people can see what its like to use the item before they download :D

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • Fuami changed the title to Spyglass - v0.3.0

Alright, so maybe "last update" was a bit premature.

But but there was a problem, so Its not like I'm a complete liar 😜

New for v0.3.1

  1. Fix an issue with dropping/throwing items with the mouse introduced in v0.3.0 (Whoops!)
  2. Added a very small "darkened edge" when using the spyglass.
  3. Added a config file, for full details

Regarding said "edge"; I'm not big on these, but a few people have poked at me about it on discord, so I added something that I felt wouldn't bother me, its very mild, and most people probobly won't even notice it without someone pointing it out. If for some reason you hate it you can turn it off by making it 0 in size, or opacity 0 in the config. If you want more, then you can make it bigger I guess? Not that that makes sense 🤪

Some highlights config wise include editing that edge I talked about, adding a dim to the spyglass if your into that, adjusting animation speed, mouse sensitivity, and disabling the spyglasses automatic switch to first person when using the spyglass ( which just lets you stare at yourself using a spy glass, for style points I guess. )

Edited by Fuami
  • Like 1
Link to comment
Share on other sites

  • Fuami changed the title to Spyglass - v0.3.1

Bug on the latest version.

equipped it and then tossed the glass to my buddy.  Now my screen keeps randomly zooming in even though I do not have the item.  It will let me zoom out with scroll wheel sometimes but it keeps randomly zooming in even when no buttons are being pressed and I don't have the item at all.

  • Like 1
  • Sad 1
Link to comment
Share on other sites

On 8/10/2021 at 11:30 PM, Sai3er said:

Bug on the latest version.

equipped it and then tossed the glass to my buddy.  Now my screen keeps randomly zooming in even though I do not have the item.  It will let me zoom out with scroll wheel sometimes but it keeps randomly zooming in even when no buttons are being pressed and I don't have the item at all.

I assume that this is all without restarting the game? Rather then just being forced into a zoom status at all times even after restarting it?

Best I can guess it might be a server issue with it never calling the "stop interacting" logic which disables the spyglass effect. I'll try to implement something to work around this. ( what I came up with is in v0.4.0 )

Edited by Fuami
Link to comment
Share on other sites

So thanks to someone literally throwing ideas at me this afternoon, a new version appears!

New for v0.4.0

2021-08-12_01-15-29.thumb.png.c04646e86978ae6278f2100693fea0a4.png

Changes / Features:

  1. Added Brass spyglass, cause I didn't even know brass was in the game...
  2. Spyglasses can now be placed in display cases, and on shelves. Admire your own handiwork, or show off your fancy collection!
  3. When on a tool-rack, the spyglass will be tilted slightly to make it more distinguishable from the chisel.
  4. When using a spyglass most HUD elements will now be hidden. Not chat though.

Fixes:

  1. Fixed a missing texture on the glass bulb of the spyglass model.
  2. Hopefully fix an issue where the game gets stuck in spyglass mode when you remove it from your inventory.

New Settings:

  1. glassColor - color of the glass you get when using glassBrightness ( the default is a quartz color, so lowering the brightness will make it slightly cloudy ) Setting this to 0 will change it back to the v0.3.1 version, where it dimmed to black.
  2. hideHUDWhileSpying - By default this is enabled, but can be set to false to keep the HUD elements visible when using the spyglass.
Edited by Fuami
Fancy Pictures!
  • Like 1
Link to comment
Share on other sites

  • Fuami changed the title to Spyglass - v0.4.0
On 8/12/2021 at 12:11 AM, Fuami said:

I assume that this is all without restarting the game? Rather then just being forced into a zoom status at all times even after restarting it?

Best I can guess it might be a server issue with it never calling the "stop interacting" logic which disables the spyglass effect. I'll try to implement something to work around this. ( what I came up with is in v0.4.0 )

I did restart the game and still had the issue. If the glass was or wasn't in my hand the screen would randomly zoom every once in a while. Some of the lighting of the game seemed to be affected as well. There was no pattern that I could notice. Just walking about and then my screen would start zooming and I had to use scroll wheel to zoom out again. It would do that for a few seconds and then normal again for a bit until the next time. I'll download the latest and test again tonight!

Link to comment
Share on other sites

I play on LAN with my friend. My friend is the host.

When they use the spyglass, everything is fine. They can zoom and nothing happens to me. However, if I am using a spyglass, any spyglass anywhere in the world, it zooms my friend in at the same time, making it pretty unusable. We've been testing this over multiple sessions over the week and it happens every time. On the latest version.

  • Sad 1
Link to comment
Share on other sites

8 hours ago, tuesdaey said:

I play on LAN with my friend. My friend is the host.

When they use the spyglass, everything is fine. They can zoom and nothing happens to me. However, if I am using a spyglass, any spyglass anywhere in the world, it zooms my friend in at the same time, making it pretty unusable. We've been testing this over multiple sessions over the week and it happens every time. On the latest version.

Please try this version: https://github.com/fuami/Spyglass/releases/download/0.4.1/spyglass_v0.4.1.zip

I believe that should fix the problem, I can't really test multiplayer as the game won't let me join a server twice but I'm pretty sure I understand the root cause of it.

Link to comment
Share on other sites

New for v0.4.2

image.png.575eb901f65819f51cf5f72baa18e843.png

Changes / Features:

1. You can now place spyglasses on the ground like boots and other items in the same space. Finally the feature we've all dreamed of, vast open fields of spyglasses to confuse the local wild life.

2. Added World Interaction Help,

image.png.9b5dcda94afd3da42a88eca9bad794e7.png

We can all relax knowing that the game will remind us that the right mouse button uses the spyglass to spy.

 

Overwhelming sarcasm aside, I didn't actually post an update in the thread yet for the update, so this v0.4.1 an v0.4.2 were released for 1.16 support. So have fun on the new version!

Edited by Fuami
Link to comment
Share on other sites

  • Fuami changed the title to Spyglass - v0.4.3

New for v0.4.3

  • Add support for Immersive First Person, previously you would end up just staring into the spyglass item which isn't very helpful.
  • Spy tubes can be be placed on the ground.

New for v0.4.4

  • Fixes compatibility issue with modded GUI elements not hiding properly when using a spy glass.
Edited by Fuami
0.4.4 Minor update.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.