R.E.P.O.
Install with App

Details

Latest version
0.1.0
Last Updated
First Uploaded
Downloads
2.2K
Likes
2
Size
31KB
Dependants

TruckMirror

A wide full-length mirror with a lamp above it on the front wall of the truck. Everyone in the truck shows up in it at once: your friends, their cosmetics, the cart, whatever they are holding, and your own robot, whose head follows where you look.

  • The mirror appears in every truck: lobby, shop, levels and tutorial. The arena has no truck, so no mirror.
  • Client-side. Nothing goes over the network. Only players who have the mod see the mirror, but everyone is reflected in it, including players who don't have the mod. You can join vanilla lobbies.
  • The reflection is drawn at the game's own low resolution, so it keeps the pixelated look. It is drawn only while you can see the mirror.

Settings

Change these in BepInEx/config/dobutsu.repo.truckmirror.cfg, or in your mod manager's config editor. Edits to the file take effect in the running game.

Setting Default
Mirror / Enabled true Show the mirror
Mirror / Width, Height 2.25, 2.2 Size in meters (the free part of the wall is about 2.4 m wide)
Mirror / HeightAboveFloor 0.25 Gap between the floor and the bottom edge
Mirror / SideOffset 0.15 Shift to the right, as seen facing the mirror
Mirror / Frame, Tint true, light grey-green Frame and reflection color
Mirror / Lamp, LampIntensity true, 2.5 Lamp above the mirror that lights whoever stands in front of it
Mirror / KeepDistance 0.35 Invisible barrier in front of the mirror, so your robot's head can't poke through it; blocks only players
Performance / ResolutionScale 1.0 Reflection pixels per game pixel
Performance / ReflectionShadows true Shadows in the reflection
Performance / UpdateEveryNFrames 1 Redraw the reflection every N frames
Performance / MaxDistance 15 Stop redrawing farther than this from the mirror

Known limitations

  • Your own flashlight isn't in your robot's hand in the reflection, because the game draws it in front of the camera, not in the hand.

Source code and issues: https://github.com/Dobutsu/repo-truck-mirror

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.