PlayerStartPlugin

DaVe inc. - 代码插件 - 2022/05/08
7
4.29颗星(总分5颗星)(7个评分)
  • 71%
  • 14%
  • 0%
  • 0%
  • 14%

The PlayerStartPlugin enables you to easily setup, manage and switch between multiple PlayerStarts in a map. Select the current PlayerStart through the WorldSettings dialog in the Editor Outliner. Switch to it in the viewport by the click of a button.

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

The PlayerStartPlugin enables you to easily set up, manage and switch the PlayerStarts in a map/game. Select the current PlayerStart through the WorldSettings in the Editor Outliner.


Installation and setup 

  1. Download the PlayerStartPlugin from the Epic Marketplace
  2. Create a new Project with Unreal Editor. C++ or Blueprint
  3. Enable PlayerStartPlugin in the Unreal Editor > Restart the Editor!
  4. Set PSWorldSettings as default WorldSettings class in Project-Settings > WorldSettings
  5. Restart Project / Unreal Editor Important!
  6. Set PSGameModeBase as GameMode Override in the WorldSettings (in UE4 this should be done automatically - in UE5 you'll have to do this manually)
  7. You now can create your own GameMode class (Blueprint) with PSGameModeBase as a parent and then use that new class as GameMode Override in the WorldSettings Editor Outliner
  8. Select your own PlayerCharacter from the content browser as the DefaultPawn in the GameMode Override settings
  9. Place your PlayerStarts on the map where ever you want them
  10. ONLY FOR UE4 => Remove your PlayerCharacter from the level > Otherwise the plugin won't work
  11. Set your preferred PlayerStart in the Editor Outliner of the WorldSettings (In "PlayerStart" category)
  12. Save and start the game to test your setup PlayerStart and the Plugin installation/configuration


YouTube video "HowTo":


Alternative download:


Version History:

1.0.6 (6) - 17.08.2022

- Bugfix to avoid crashing when adding PlayerStarts after switching levels. Added PendingDelete(). Thanks to "scheltopusik" for reporting this bug


1.0.5 (5) - 08.05.2022

- Initial released version

技术细节

Features:

  • WorldSettings class - PSWorldSettingsBase
  •  Editor Details-Customization class for the details editor adjustments
  •  GameModeBase class - PSGameModeBase - for automatically using the set PlayerStart

Code Modules:

  • PSWorldSettings (Editor, LoadingPhase: Default) - Base WorldSettings class - PSWorldSettingsBase
  • PlayerStartPlugin (Editor, LoadingPhase: PostEngineInit) - Module with the customization class and new GameModeBase class - PlayerStartGameModeBase


Details:

#Blueprints: 0

#C++ Classes: 5

Network Replicated: No

Dev Platforms: MacOS

Target Build Platforms: MacOS, Win64, Linux

Doc: Unreal Engine - PlayerStartPlugin - Documentation

Example Projects:


YouTube video "HowTo Install and Setup":


Feedback: kim@kimhauser.ch