Dobutsu-TruckMirror icon

TruckMirror

A wide full-length mirror on the truck's front wall. Everyone in the truck is reflected at once. Client-side: players without the mod are reflected too.

Last updated 2 weeks ago
Total downloads 1207
Total rating 2 
Categories Client-side AI Generated
Dependency string Dobutsu-TruckMirror-0.1.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

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