春季创作者特卖开启!从即日起至4月18日,精选商品最低三折起。

Profile Subsystem

Ayes - 代码插件 - 2022/05/11

A folder based profile subsystem. You can use to seperate several savegames.

  • 支持的平台
  • 支持的引擎版本
    5.0
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

This is my profile subsystem. I've developed it for about half a year now!

Have you ever wished to be able save multiple saved games in a "slot"-like manner?

This is where this subsystem comes in to play!


It's purpose is to deliver you a profile-based save and load system. This means if you create a profile in your game it will create a folder (or a whole folder tree) with all configured saved game files in it.


Use cases could be one or more of the following:


  • Family members sharing a pc, wanting different settings/progress files.
  • Modders wanting to try out mods without corrupting their main progress.
  • You trying out a saved game a friend has sent you.


And example setup would be the following:

  • Profile name: Ayes
  • Savefiles:
  • Configuration (MyConfigurationSavegame)
  • Progress (MyProgressSavegame)
  • CustomMaps (MyMapSavegame) in Folder /CustomMaps/

This will save all Custommaps inside /savegames/PROFILENAME/CustomMaps/


Features I'm planning to add:

  • Custom paths ->%USERPROFILE%/MyGame/Savegames/PROFILENAME/
  • Cross profile loading and saving


All these things and more you can do with this system.

技术细节

Features:

  • Easy to setup!
  •  Automatically loads up the last used profile. (or a system-generated one if there are no profiles found).
  •  Easy access to all save files inside a profile using the "Get Save file from Parameter"-Blueprint node.
  •  Enables you to hand over full profiles to other people.
  • Around 15 Functions all of which are usable in Blueprints!
  • Supports function delegates to fire events whenever something is loaded, created or saved!
  • Use multiple separate savegames at once!


Code Modules:

  •  ProfileSubsystem [Runtime]


Number of C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Developed on Windows. Should work for any desktop.

Supported Target Build Platforms: Windows, Mac, Linux

Documentation: https://profile-subsystem.fandom.com/wiki/Profile_Subsystem_Wiki

Node Explanation:

In a Screenshots folder inside the plugin directory.