Useful Scenes Ids/Scene Names
While developing a mod for SPT, I needed a reliable way to detect whether the player was currently in a raid or still navigating the menus. After trying different approaches, I decided that just checking the current Unity scene name was the most straightforward and easy method. Scene IDs provide a unique identifier/name for different scenes in the game. Be it the main menu or an actual map like Customs or Streets of Tarkov.
Since this kind of information isn’t exactly publicly documented. I gathered these scene names through decompiling tools. Because of that, this information may not be 100% accurate or future-proof, but it has proven reliable enough for my use case.
I figured it might save other developers time. There's probably a cleaner and decent way of actually checking if the player is in raid or not but still. /shrug
EftMainScene
Initial screen when launching the game (logos, intro)
MenuUIScene
Likely the "Loading profile data" screen
CommonUIScene
The actual main…
2