A set of scripts for RolePlay experience in Skyrim Multiplayer.
- Have the game installed, only Skyrim Special Edition supported
- Have the Creation Kit installed
- Papyrus lang for VS Code
- Download and extract a latest server build. Make sure that
./data/scriptsis empty. - Start the server and wait for scripts download.
- After the server is finally started, stop it and verify that
./data/scriptscontains.pexfiles and./data/scripts/sourcecontains.pscfiles. - Open
skyrimse.ppjand changeOutputto an absolute path to server's./data/scripts. - Set
isPapyrusHotReloadEnabledto true in yourserver-settings.json. Turn it off before letting the real users join the server since that feature affects the server's performance.
You should be able to build the project with Ctrl + Shift + B. The build system would invoke Papyrus Compiler and copy built .pex files into your server's ./data/scripts folder. SkyMP server reloads your scripts as soon as any function from your scripts is called.
Create a JSON file in data/localizaiton (i.e. ru-RU.json). The localization format is pretty simple. Keys are original strings, values are localized ones.
{
"Unknown command": "Неизвестная команда",
"smiled": "улыбается"
}Usage
; Would be assigned to "улыбается" if ru-RU.json is used
; Defaults to an original string ("smiled") on any failure (missing file, etc)
String localizedStr = M.GetText("smiled")