Skip to content

Translate the F9 / F10 / F11 help lines (camera controls) #353

@Mosch0512

Description

@Mosch0512

The F1 help screen now has three engine-injected entries explaining the camera controls:

  • F9 - Toggle 3D Camera — switches between the Default and Orbital cameras in MainScene.
  • F10 - Lock / Unlock Camera Zoom — toggles a global zoom-lock flag. The lock starts ON, so a freshly launched client ignores the mouse wheel until the player presses F10 once. Applies to both Default (zoom ladder) and Orbital (radius) cameras.
  • F11 - Reset Camera View — resets the active camera. Default snaps to zoom level 3 (1300). Orbital also resets pitch / yaw deltas and reseats the radius at the configured default.

All three lines are currently English-only. They need to be translated into all the localized .bmd (or future translation system) text files.

Source: src/source/NewUIHelpWindow.cppRegisterCustomHelpText() adds them to GlobalText under keys

  • HELP_KEY_F9_TOGGLE_CAMERA = 10000
  • HELP_KEY_F10_TOGGLE_ZOOM = 10001
  • HELP_KEY_F11_RESET_VIEW = 10002

(All above MAX_NUMBER_OF_TEXTS = 9999 so they can't collide with shipped Text_*.bmd entries.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions