openOMSI GitHub Discord

Docs / Playing / User guide

Mirror panels

2 min readEdit this pagedocs/USER_GUIDE.md

Copies of the bus's mirrors can be laid over the picture, so that the street behind is in view without looking at the glass. In the cab Ctrl+M shows or hides them (the first time a panel appears for each bus); Ctrl+Shift+M starts and ends their editor.

The panels are only pictures until the editor is on, so the mouse and the keys work as always. A panel shows its mirror as the glass in the bus's model does, however that glass lays the picture on (turned over, or on its side). In the editor each panel has a yellow frame, and:

  • the left button drags a panel, the wheel over it makes it taller or shorter and Shift+wheel wider or narrower; [ and ] make the panel under the cursor narrower and wider, ; and ' shorter and taller (held, they repeat);
  • the arrows turn the mirror of the panel under the cursor (as Ctrl+Alt+arrows turns the one the driver looks at), Alt+arrows shift it across and up and Page Up/Down forward and back, - and + narrow and widen its field of view; R puts that mirror back as the bus has it and Shift+R every mirror (turns, shifts and fields of view are kept per bus in mirrors.cfg);
  • Insert adds a panel (the main side mirrors first, then the others the bus has), Delete takes the one under the cursor away and C shows another mirror in it;
  • Esc (or Ctrl+Shift+M again) ends the editor and keeps the layout.

A new panel has the shape of the mirror's glass in the model. The layout is kept per bus in ~/.openomsi/mirror_hud.cfg. The setting mirror_hud (0 off, 1 the right mirror, 2 the left, 3 both) gives a bus with no layout of its own its first panels.

The panels need the mirrors themselves to be drawn (mirror_size not 0); they are redrawn at the rate mirror_refresh sets, also when the glass is not in the view.

With Mirror panels every frame (Settings → Graphics, mirror_hud_every_frame=1) the mirrors the panels show are drawn every frame instead, as ETS2 draws its screen mirrors, whatever mirror_refresh says (even with no real-time reflections); the other mirrors take their turns without them.

It costs one mirror picture a frame for each mirror on the panels (none in VR, where the panels are not drawn).

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open