Velarion: 전체 콘텐츠 50% 할인

PlayerStartPlugin

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