UE4 - Creating a RPG #29 - Simple Quest System

노기현·2024년 12월 2일

Today's Lesson: Simple Quest System

Summary

1. We take a look at how we can setup a simple quest system for our RPG game within Unreal Engine 4.

2. We cover how we can display the quest on the screen and tie it to a variable within our game mode.

Virtus Learning Hub


✅ HUD에 퀘스트 표시

◼️ Quest Widget
In Widget Blueprint <RPGHUD/MeleeHUD>

  • Image 추가
    - Image: QuestBG
  • Text 추가
    퀘스트 이름
  • Text 추가
    퀘스트 내용

◼️ Game Mode
In GameMode Blueprint <ThirdPersonGameMode>

  • New Variable: Quest
    Type: Text

◼️ Binding

  • Quest Text 바인드
    As Third Person Game Mode → Get Quest

✅ 퀘스트 갱신

◼️ Quest Actor

  • New Actor Blueprint <Quest1>
  • Add Component: Box Collision
  • 레벨에 배치

◼️ Logic

  • Box Collision에 Overlap된 Actor가 Character인 경우
    게임 모드의 Quest 변수 내용 수정

✅ Result

  • 퀘스트 기본
  • 퀘스트 갱신
profile
RPG 기획자 지망생

0개의 댓글