NicerSceneNames

v1.0.2·Updated 2025-04-23

This is a utility mod for mod developers. It does not add any features for players on its own. See the README for more details.

About this mod Author’s original text

Nicer Scene Names

This is a utility mod for mod developers. It does not add any features for players on its own.

I was told that SceneHelper.CurrentScene() no longer has nice to work with names for most scenes. This mod should make that a little easier. In your code, replace SceneHelper.CurrentScene() with SceneNamer.CurrentScene(), and it should work the same as before, for the most part; it should use the same names as before for most scenes. The following scene names are supported:

  • "Intro" (the entire startup animation)
  • "Main Menu"
  • "Bootstrap" (the tutorial level and the boot up sequence from a new save/0-1 full intro)
  • "Level #-#" (replace the #'s with the numbers/letters of the level name)
  • "Intermission1" (Act 1 ending cutscene)
  • "Intermission2" (Act 2 ending cutscene)
  • "Cybergrind" (may be different from with SceneHelper)
  • "Sandbox" (may be different from with SceneHelper)
  • "Museum" (may be different from with SceneHelper)

There are also the following helper methods for determining scenes:

  • IsGameplayScene()
  • IsGameplaySceneIncludingBootstrap()
  • IsPrimeSanctum()
  • IsEncore()
  • IsSecretLevel()
  • IsIntermission()

These methods each have two versions: one with a scene parameter and one with a name string parameter and optional bool parameter for if it's already a nice name (defaults to false). IsGameplayScene returns false for Bootstrap, but IsGameplaySceneIncludingBootstrap() returns true instead.

Other than that, if you want to get the name of a scene that isn't the currently loaded one, you can use GetNiceSceneName(). There is a version with a scene parameter and one with a name string parameter.

Changelog

v1.0.2

  • Properly updated the version number

v1.0.1

  • Fixed typo in Main Menu scene name (was unintentionally Main Manu)

v1.0.0

  • Initial release

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
NicerSceneNames-1.0.2.zip
File size
127.5 KiB