Confirm with your password

MagicMirror

A pair of Magic Mirrors that acts as a mirror or you can have it make a permenant portrait of you or you with your buddies that will last the ages! Also used as a one-way mirror or security camera! Now supports 11 languages!

· MIT license

Stars
2
Downloads
427
Version
1.0.7
Updated
Author
Zro
Virus scan
✓ Scan successful
Runs on
Client-only
Required by
1 mods

Images

Description

MagicMirror


What does Magic Mirror do?

  • MagicMirror introduces a customizable, 2-sizess of in-game mirror portrait frame piece that acts as a mirror but it's magic so if you stand in front of it and hit F7 then it will keep that reflected image permanently as a portrait of you or you and your buddies for the ages!!
  • Make two mirrors in the same zone and the last mirror made acts as a security camera! Put a Magic Mirror in a hole in a wall and once locked with the hotkey it will have your portrait on both sides of the mirror! Leave it as a single a mirror in a hole in a wall and it becomes a one-way mirror that allows you to see into the other room unseen from that room! It's Magic!

How it works

  • From the hammer's Decor category look for either the Small Mirror icon or the Large Mirror icon to make the size of Magic Mirror you want to place.
  • You will need 5 Finewood and 5 Greydwarf Eyes for the Small Mirror and 20 Finewood and 20 Greydwarf Eyes for the Large Mirror plus bveing in range of a workbench.
  • The config sets which key freezes the image as a portrait. default is F7 (A separate config manager like Azu's mod must be installed, else you have set the config before launch or log out/back into your game to change the setting.)
  • Once placed, it behaves like as a mirror with a live view of whatever is in front of it.
  • Place a second one within a zone then you get the security camera function. NOTE! Only 2 mirrors are permitted for this function.
  • Press F7 (configurable) while standing near any non-locked Magic Mirror to permanently lock the image in it that you see. (This is how you make portraits of you and/or your buddies!
  • Locking captures the exact current view, saves it permanently on only that Magic Mirror without affecting other already made Magic Mirror's saved images.
  • Saved snapshots are stored in the world object data (ZDO) and will automatically persist across world reloads and relogs.
  • You can leave a Magic Mirror borderless on a wall, etc. or you can use any vanilla or mod based object to make a frame to set it into for your own personal preference.
  • Be creative and post your screen shots on my Discord server RageZro!

HINT !

  • For best results place the mirror without anything directly behind its surface for it to touch or at the minimum place the Magic Mirror on a flat smooth surface to avoid any rough surface (like stone) from poking through the Magic Mirror and ruining your image.

Gale Installation

  1. Choose Install with Gale on this page in the top right corner.

Manual Installation

  1. Download and install BepInEx for Valheim.
  2. Place MagicMirror.dll into your Valheim/BepInEx/plugins directory.
  3. Launch the game to generate the configuration file.

Configuration

The configuration file is automatically generated at BepInEx/config/com.RageZro.MagicMirror.cfg after launch. I highly recommend deleting the old config file with every new update, the mod will generate a new one and you won't lose any saved images.

Section Settings Default Notes
General HotKey F7 Key to freeze/unfreeze the nearest (10f) non-locked Magic Mirror's reflection

The major fixes

  • Image brightness/contrast: To correct the original oversaturation of the frame's display surface, it is now switched to an unlit shader so it isn't affected by room lighting so should give a consistently bright, high-contrast image regardless of nearby torches or daylight.
  • A Unity engine warning about collider scale may still occasionally appear in the log for this mod. It's cosmetic (Unity automatically corrects the collision shape and logs about it every time), not a sign of anything broken.
  • Frame depth was removed so the incorrect Viking Era look of the original frame is gone, along with its overly reflective texture that washed out the image.
  • Added 2 sizes of Magic Mirrors that are different than the original, 2x2 and 4x4.
  • Gave the Mirror all its Magic, now with the ability to become a portrait of whatever is in front of it, a 2-way mirror, and a security camera.
  • The C+ code is now compatible with current BepInEx and Valheim as of Deep North.

Credits

Built on an asset originally created for the deprecated 2021 MirrorMirror mod by MagikarpSushi — the mirror asset that contains the mesh, camera, and render setup, is used as originally authored; all registration, texture reflectivity correction, persistence, and lock/unlock logic in this mod is new and independent of that mod's own (now-incompatible) code and asset bundle. Permission was granted for non-monetized reuse, updating and modification. On a personal level I'm grateful for Magikarpsushi's generosity and my hope is this upgrade meets their approval!

Built with BepInEx and HarmonyX.

Changelog

1.0.7 Latest
  • Added 11 languages, there is now (2) mirror icons in the build menu, one is for the small mirror and the other is for the large mirror, config is for the lock key only now, the large mirror costs changed, Code improved for reliable performance.
1.0.6
  • Sorry wrong DLL, NOW it shows up under decor! Tired = goofed
1.0.5
  • Now shows up under the Decor category, removed more redundant log output

5 older entries, full version history & downloads →

Files

6 files · 7.5 MB download

Loading files…

FAQ

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2360 · View mod page

Check out the mod page for detailed installation instructions.

2

Install MagicMirror

This mod only needs to be installed on the client.

Download MagicMirror 1.0.7

Extract the ZIP and place the file(s) into the BepInEx/plugins/ folder inside your Valheim game folder.